diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-01-17 11:27:22 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-01-17 11:36:01 +0100 |
commit | ecbb664b3da2e0e089e08c7c0b91334a205c403e (patch) | |
tree | cc6d6b087eff6a915180e712dd40fdfb15ba5893 /web | |
parent | b7ea144dfb52966cc50b2ffc19d8dc9d978892e5 (diff) |
pkgsubmit.php: Improve visibility of errors
Make use of the "errorlist" class instead of "pkgoutput" which is no
longer defined in the CSS.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r-- | web/html/pkgsubmit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 9dba945..373af35 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -477,10 +477,6 @@ html_header("Submit"); ?> -<?php if ($error): ?> - <p class="pkgoutput"><?= $error ?></p> -<?php endif; ?> - <div class="box"> <h2><?= __("Submit"); ?></h2> <p><?= __("Upload your source packages here. Create source packages with `mkaurball`.") ?></p> @@ -494,6 +490,10 @@ html_header("Submit"); $pkg_categories = pkgCategories(); ?> +<?php if ($error): ?> + <ul class="errorlist"><li><?= $error ?></li></ul> +<?php endif; ?> + <form action="<?= get_uri('/submit/'); ?>" method="post" enctype="multipart/form-data"> <fieldset> <div> |