mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
86352459ab
commit
5b5950e51d
2 changed files with 16 additions and 7 deletions
|
@ -77,3 +77,7 @@
|
||||||
.comment-deleted {
|
.comment-deleted {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
padding: 1em 0;
|
||||||
|
}
|
||||||
|
|
|
@ -97,13 +97,6 @@
|
||||||
<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" />
|
<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" />
|
||||||
</p>
|
</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>
|
<p>
|
||||||
<label for="id_language"><?= __("Language") ?>:</label>
|
<label for="id_language"><?= __("Language") ?>:</label>
|
||||||
<select name="L" id="id_language">
|
<select name="L" id="id_language">
|
||||||
|
@ -119,7 +112,19 @@
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</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>
|
<p>
|
||||||
<label></label>
|
<label></label>
|
||||||
<?php if ($A == "UpdateAccount"): ?>
|
<?php if ($A == "UpdateAccount"): ?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue