refactor: replace form fields with table in user.html
This commit is contained in:
1 parent
b0c35f6059
commit
9a9d3f0670
1 file changed
+22
-30
@@ -42,36 +42,28 @@
|
|||||||
<div class="form-section">
|
<div class="form-section">
|
||||||
<h2>User Profile</h2>
|
<h2>User Profile</h2>
|
||||||
<div class="user-profile">
|
<div class="user-profile">
|
||||||
<div class="field">
|
<table class="table is-bordered">
|
||||||
<label class="label" for="username">Username:</label>
|
<tr>
|
||||||
<div class="control">
|
<th>Username:</th>
|
||||||
<input class="input" type="text" id="username" name="username" value="@username" readonly>
|
<td>@username</td>
|
||||||
</div>
|
</tr>
|
||||||
</div>
|
<tr>
|
||||||
<div class="field">
|
<th>Created:</th>
|
||||||
<label class="label" for="created">Created:</label>
|
<td>January 1, 2023</td>
|
||||||
<div class="control">
|
</tr>
|
||||||
<input class="input" type="text" id="created" name="created" value="January 1, 2023" readonly>
|
<tr>
|
||||||
</div>
|
<th>Submissions:</th>
|
||||||
</div>
|
<td>10</td>
|
||||||
<div class="field">
|
</tr>
|
||||||
<label class="label" for="submissions">Submissions:</label>
|
<tr>
|
||||||
<div class="control">
|
<th>Comments:</th>
|
||||||
<input class="input" type="text" id="submissions" name="submissions" value="10" readonly>
|
<td>50</td>
|
||||||
</div>
|
</tr>
|
||||||
</div>
|
<tr>
|
||||||
<div class="field">
|
<th>Favorites:</th>
|
||||||
<label class="label" for="comments">Comments:</label>
|
<td>20</td>
|
||||||
<div class="control">
|
</tr>
|
||||||
<input class="input" type="text" id="comments" name="comments" value="50" readonly>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="field">
|
|
||||||
<label class="label" for="favorites">Favorites:</label>
|
|
||||||
<div class="control">
|
|
||||||
<input class="input" type="text" id="favorites" name="favorites" value="20" readonly>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user