diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-23 19:56:52 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-27 13:04:03 +0200 |
commit | d1fe28ff7e206b02b42995dc92600af90b7195ae (patch) | |
tree | f2c1a1ef36542303afbc8a95eabac30442228967 /web/html | |
parent | 5a050552e89e25ad0e5b079ff6f03ba9250f13d8 (diff) | |
download | aur-d1fe28ff7e206b02b42995dc92600af90b7195ae.tar.gz aur-d1fe28ff7e206b02b42995dc92600af90b7195ae.tar.xz |
Make confirmation label of width 'auto'
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/css/aurweb.css | 4 | ||||
-rw-r--r-- | web/html/pkgdel.php | 2 | ||||
-rw-r--r-- | web/html/pkgdisown.php | 2 | ||||
-rw-r--r-- | web/html/pkgmerge.php | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css index 620e0fab..6f2a1e59 100644 --- a/web/html/css/aurweb.css +++ b/web/html/css/aurweb.css @@ -108,3 +108,7 @@ span.hover-help { border-bottom: 1px dotted black; cursor:help; } + +label.confirmation { + width: auto; +} diff --git a/web/html/pkgdel.php b/web/html/pkgdel.php index face0810..eb20967f 100644 --- a/web/html/pkgdel.php +++ b/web/html/pkgdel.php @@ -34,7 +34,7 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?> <?php if (isset($_GET['via'])): ?> <input type="hidden" name="via" value="<?= intval($_GET['via']) ?>" /> <?php endif; ?> - <p><label><input type="checkbox" name="confirm" value="1" /> + <p><label class="confirmation"><input type="checkbox" name="confirm" value="1" /> <?= __("Confirm package deletion") ?></label></p> <p><input type="submit" class="button" name="do_Delete" value="<?= __("Delete") ?>" /></p> </fieldset> diff --git a/web/html/pkgdisown.php b/web/html/pkgdisown.php index f7ef0f25..48429396 100644 --- a/web/html/pkgdisown.php +++ b/web/html/pkgdisown.php @@ -41,7 +41,7 @@ if (has_credential(CRED_PKGBASE_DISOWN, $maintainer_uids)): ?> <?php if (isset($_GET['via'])): ?> <input type="hidden" name="via" value="<?= intval($_GET['via']) ?>" /> <?php endif; ?> - <p><label><input type="checkbox" name="confirm" value="1" /> + <p><label class="confirmation"><input type="checkbox" name="confirm" value="1" /> <?= __("Confirm to disown the package") ?></label</p> <p><input type="submit" class="button" name="do_Disown" value="<?= __("Disown") ?>" /></p> </fieldset> diff --git a/web/html/pkgmerge.php b/web/html/pkgmerge.php index 0742c625..c651ce9c 100644 --- a/web/html/pkgmerge.php +++ b/web/html/pkgmerge.php @@ -55,7 +55,7 @@ if (has_credential(CRED_PKGBASE_DELETE)): ?> </script> <p><label for="merge_Into" ><?= __("Merge into:") ?></label> <input type="text" id="merge_Into" name="merge_Into" value="<?= isset($_GET['into']) ? $_GET['into'] : '' ?>" /></p> - <p><label><input type="checkbox" name="confirm" value="1" /> + <p><label class="confirmation"><input type="checkbox" name="confirm" value="1" /> <?= __("Confirm package merge") ?></label></p> <p><input type="submit" class="button" name="do_Delete" value="<?= __("Merge") ?>" /></p> </fieldset> |