diff options
author | Thomas Lange <code@nerdmind.de> | 2017-05-31 23:42:11 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-05-31 23:42:11 +0200 |
commit | 8cafd4967655a996d0d2b71073f884e2f28cf6ac (patch) | |
tree | 599e859df5ddd869842e5b2d96a922390b2707fd /template/admin/html/auth.php | |
parent | 816959215dff92ee0af295be6d801b4cfa150269 (diff) | |
download | blog-8cafd4967655a996d0d2b71073f884e2f28cf6ac.tar.gz blog-8cafd4967655a996d0d2b71073f884e2f28cf6ac.tar.xz blog-8cafd4967655a996d0d2b71073f884e2f28cf6ac.zip |
Optimizations and tiny design update for the admin template:
+ The form buttons for insert, update and delete are now having a corresponding background color (green, blue and red).
+ The information messages are now displayed within the <form> element and with a red background color around the text.
Diffstat (limited to 'template/admin/html/auth.php')
-rw-r--r-- | template/admin/html/auth.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php index f5852c1..0435f72 100644 --- a/template/admin/html/auth.php +++ b/template/admin/html/auth.php @@ -1,15 +1,19 @@ <h1><?=$Language->template('authentication_text')?></h1> <p><?=$Language->template('authentication_desc')?></p> -<?php if(isset($FORM['INFO'])): ?> - <?php foreach($FORM['INFO'] as $message): ?> - <div class="red"><?=$message?></div> - <?php endforeach; ?> -<?php endif; ?> - <form action="" method="POST"> <input type="hidden" name="token" value="<?=Application::getSecurityToken()?>" /> + <?php if($FORM['INFO']): ?> + <div class="flex flex-direction-column"> + <ul id="message-list"> + <?php foreach($FORM['INFO'] as $message): ?> + <li><?=$message?></li> + <?php endforeach; ?> + </ul> + </div> + <?php endif; ?> + <div class="flex"> <div class="flex-item"> <div class="form-icon-flex"><i class="fa fa-user-secret"></i></div> |