diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-31 19:20:05 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-31 19:26:07 +0200 |
commit | 5b5950e51dfddd0a0141c8a475d0729f304d5b44 (patch) | |
tree | b91078293d2d3f471cee388aad46d337779614e2 | |
parent | 86352459ab6a75866376bac5a3baa94f1a736909 (diff) | |
download | aur-5b5950e51dfddd0a0141c8a475d0729f304d5b44.tar.gz aur-5b5950e51dfddd0a0141c8a475d0729f304d5b44.tar.xz |
Add more details on the SSH public key field
Also, reorder the fields such that optional fields come last.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r-- | web/html/css/aurweb.css | 4 | ||||
-rw-r--r-- | web/template/account_edit_form.php | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css index 79acce48..c86c1da5 100644 --- a/web/html/css/aurweb.css +++ b/web/html/css/aurweb.css @@ -77,3 +77,7 @@ .comment-deleted { color: #999; } + +legend { + padding: 1em 0; +} diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 110fbb58..415c086b 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -97,13 +97,6 @@ <input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" /> </p> - <?php if ($A == "UpdateAccount"): ?> - <p> - <label for="id_ssh"><?= __("SSH Public Key") ?>:</label> - <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea> - </p> - <?php endif; ?> - <p> <label for="id_language"><?= __("Language") ?>:</label> <select name="L" id="id_language"> @@ -119,7 +112,19 @@ ?> </select> </p> + </fieldset> + + <?php if ($A == "UpdateAccount"): ?> + <fieldset> + <legend><?= __("The following information is only required if you want to submit packages to the Arch User Repository.") ?></legend> + <p> + <label for="id_ssh"><?= __("SSH Public Key") ?>:</label> + <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea> + </p> + </fieldset> + <?php endif; ?> + <fieldset> <p> <label></label> <?php if ($A == "UpdateAccount"): ?> |