mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Modernize the account search form
Replace the table layout with field sets, labels and CSS formatting. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
69557a7ca7
commit
def35942af
1 changed files with 48 additions and 72 deletions
|
@ -1,75 +1,51 @@
|
|||
<br />
|
||||
<form action="<?= get_uri('/accounts/'); ?>" method="post">
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("Username"); ?>:</td>
|
||||
<td align="left">
|
||||
<input type="text" size="30" maxlength="64" name="U" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("Account Type"); ?>:</td>
|
||||
<td align="left">
|
||||
<select name="T">
|
||||
<fieldset>
|
||||
<input type="hidden" name="Action" value="SearchAccounts" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<p>
|
||||
<label for="id_username"><?= __("Username"); ?>:</label>
|
||||
<input type="text" size="30" maxlength="64" name="U" id="id_username" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_type"><?= __("Account Type"); ?>:</label>
|
||||
<select name="T" id="id_type">
|
||||
<option value=""><?= __("Any type"); ?></option>
|
||||
<option value="u"><?= __("Normal user"); ?></option>
|
||||
<option value="t"><?= __("Trusted user"); ?></option>
|
||||
<option value="d"><?= __("Developer"); ?></option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("Account Suspended"); ?>:</td>
|
||||
<td align="left">
|
||||
<input type="checkbox" name="S" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("Email Address"); ?>:</td>
|
||||
<td align="left">
|
||||
<input type="text" size="30" maxlength="64" name="E" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("Real Name"); ?>:</td>
|
||||
<td align="left">
|
||||
<input type="text" size="30" maxlength="32" name="R" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("IRC Nick"); ?>:</td>
|
||||
<td align="left">
|
||||
<input type="text" size="30" maxlength="32" name="I" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left"><?= __("Sort by"); ?>:</td>
|
||||
<td align="left">
|
||||
<select name="SB">
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_suspended"><?= __("Account Suspended"); ?>:</label>
|
||||
<input type="checkbox" name="S" id="id_suspended" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_email"><?= __("Email Address"); ?>:</label>
|
||||
<input type="text" size="30" maxlength="64" name="E" id="id_email" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_realname"><?= __("Real Name"); ?>:</label>
|
||||
<input type="text" size="30" maxlength="32" name="R" id="id_realname" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_irc"><?= __("IRC Nick"); ?>:</label>
|
||||
<input type="text" size="30" maxlength="32" name="I" id="id_irc" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_sortby"><?= __("Sort by"); ?>:</label>
|
||||
<select name="SB" id="id_sortby">
|
||||
<option value="u"><?= __("Username"); ?></option>
|
||||
<option value="t"><?= __("Account Type"); ?></option>
|
||||
<option value="r"><?= __("Real Name"); ?></option>
|
||||
<option value="i"><?= __("IRC Nick"); ?></option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td align="left">
|
||||
<br />
|
||||
<input type="hidden" name="Action" value="SearchAccounts" />
|
||||
<input type="submit" class="button" value="<?= __("Search"); ?>" />
|
||||
</p>
|
||||
<p>
|
||||
<label></label>
|
||||
<input type="submit" class="button" value="<?= __("Search"); ?>" />
|
||||
<input type="reset" class="button" value="<?= __("Reset"); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue