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>
This commit is contained in:
Lukas Fleischer 2014-01-17 11:27:22 +01:00
parent b7ea144dfb
commit ecbb664b3d

View file

@ -477,10 +477,6 @@ html_header("Submit");
?> ?>
<?php if ($error): ?>
<p class="pkgoutput"><?= $error ?></p>
<?php endif; ?>
<div class="box"> <div class="box">
<h2><?= __("Submit"); ?></h2> <h2><?= __("Submit"); ?></h2>
<p><?= __("Upload your source packages here. Create source packages with `mkaurball`.") ?></p> <p><?= __("Upload your source packages here. Create source packages with `mkaurball`.") ?></p>
@ -494,6 +490,10 @@ html_header("Submit");
$pkg_categories = pkgCategories(); $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"> <form action="<?= get_uri('/submit/'); ?>" method="post" enctype="multipart/form-data">
<fieldset> <fieldset>
<div> <div>