mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
b7ea144dfb
commit
ecbb664b3d
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue