feat: Apply layout strategy to account.html
This commit is contained in:
1 parent
32b04265c1
commit
b27acd59c2
1 file changed
+90
-73
+90
-73
@@ -58,83 +58,100 @@
|
||||
</div>
|
||||
|
||||
<form class="space-y-4">
|
||||
<table class="w-full">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Username:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="text" id="username" name="username" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="exampleuser" readonly>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Created:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="text" id="created" name="created" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="January 1, 2023" readonly>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Karma:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="text" id="karma" name="karma" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="1234" readonly>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">About:</td>
|
||||
<td class="w-3/4">
|
||||
<textarea id="about" name="about" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" rows="4">I love sharing my desk moments and finding new things to try.</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Email:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="email" id="email" name="email" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="exampleuser@example.com">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Showdead:</td>
|
||||
<td class="w-3/4">
|
||||
<select id="showdead" name="showdead" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary">
|
||||
<option value="yes">Yes</option>
|
||||
<option value="no">No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Noprocrast:</td>
|
||||
<td class="w-3/4">
|
||||
<select id="noprocrast" name="noprocrast" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary">
|
||||
<option value="yes">Yes</option>
|
||||
<option value="no">No</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Maxvisit:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="number" id="maxvisit" name="maxvisit" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="10">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Minaway:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="number" id="minaway" name="minaway" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="5">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-1/4 text-text-muted">Delay:</td>
|
||||
<td class="w-3/4">
|
||||
<input type="number" id="delay" name="delay" class="w-full px-3 py-2 border border-gray-300 rounded bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary" value="3">
|
||||
<td>
|
||||
<table cellpadding="5" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Please put a valid address in the email field, or we won't be able to
|
||||
send you a new password if you forget yours. Your address is only
|
||||
visible to you and us. Crawlers and other users can't see it.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table border="0">
|
||||
<tbody>
|
||||
<tr class="athing">
|
||||
<td valign="top">user:</td>
|
||||
<td timestamp="1745816813"><a href="user?id=kerbymart" class="hnuser">
|
||||
<font>kerbymart</font>
|
||||
</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">created:</td>
|
||||
<td><a href="front?day=2025-04-28&birth=kerbymart">59 minutes ago</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">karma:</td>
|
||||
<td>1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">about:</td>
|
||||
<td style="overflow:hidden"><textarea name="about" rows="5" cols="60" wrap="virtual"></textarea> <a href="formatdoc" tabindex="-1">
|
||||
<font size="-2">help</font>
|
||||
</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<font size="2">Only admins see your email below. To share publicly, add to the 'about' box.</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">email:</td>
|
||||
<td><input type="text" name="email" size="60"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">showdead:</td>
|
||||
<td><select name="showd">
|
||||
<option>yes</option>
|
||||
<option selected="t">no</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">noprocrast:</td>
|
||||
<td><select name="nopro">
|
||||
<option>yes</option>
|
||||
<option selected="t">no</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">maxvisit:</td>
|
||||
<td><input type="text" name="maxv" value="20" size="16"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">minaway:</td>
|
||||
<td><input type="text" name="mina" value="180" size="16"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">delay:</td>
|
||||
<td><input type="text" name="delay" value="0" size="16"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"></td>
|
||||
<td><a href="changepw"><u>change password</u></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href="submitted?id=kerbymart"><u>submissions</u></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href="threads?id=kerbymart"><u>comments</u></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href="favorites?id=kerbymart"><u>favorite submissions</u></a> / <a href="favorites?id=kerbymart&comments=t"><u>comments</u></a> <i> (publicly visible)</i></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table><br>
|
||||
<input type="submit" value="update">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="flex flex-col space-y-2">
|
||||
<a href="#" class="text-primary hover:underline">Change Password</a>
|
||||
<a href="#" class="text-primary hover:underline">Submissions</a>
|
||||
<a href="#" class="text-primary hover:underline">Comments</a>
|
||||
<a href="#" class="text-primary hover:underline">Favorite Submissions / Comments (publicly visible)</a>
|
||||
</div>
|
||||
<div class="flex justify-end">
|
||||
<button type="submit" class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-primary focus:ring-opacity-50">Update</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in new issue
Block a user