diff options
author | Thomas Lange <code@nerdmind.de> | 2017-02-24 21:27:59 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-02-24 21:27:59 +0100 |
commit | 52b077a48c743ba4d08ac00520a0bf1ef6deef5f (patch) | |
tree | b4205c194167e0e03e273957cdd0aab3be9fdf01 /template/admin/html/auth.php | |
download | blog-6442789bf36c04639bf5f104ea963937717a39b5.tar.gz blog-6442789bf36c04639bf5f104ea963937717a39b5.tar.xz blog-6442789bf36c04639bf5f104ea963937717a39b5.zip |
Initial commit.v1.0
Diffstat (limited to 'template/admin/html/auth.php')
-rw-r--r-- | template/admin/html/auth.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php new file mode 100644 index 0000000..a33be5d --- /dev/null +++ b/template/admin/html/auth.php @@ -0,0 +1,30 @@ +<h1><?=$Language->template('authentication_text')?></h1> +<p><?=$Language->template('authentication_desc')?></p> + +<?php if(isset($FORM['INFO']['LIST'])): ?> + <?php foreach($FORM['INFO']['LIST'] as $message): ?> + <div class="red"><?=$message?></div> + <?php endforeach; ?> +<?php endif; ?> + +<form action="" method="POST"> + <input type="hidden" name="token" value="<?=Application::getSecurityToken()?>" /> + + <section class="flex"> + <section> + <div class="form-icon-flex"><i class="fa fa-user-secret"></i></div> + <div class="form-label-flex"><label for="L_USERNAME"><?=$Language->template('LABEL_USERNAME')?></label></div> + <div class="form-field-flex"><input id="L_USERNAME" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" /></div> + </section> + </section> + <section class="flex"> + <section> + <div class="form-icon-flex"><i class="fa fa-key"></i></div> + <div class="form-label-flex"><label for="L_PASSWORD"><?=$Language->template('LABEL_PASSWORD')?></label></div> + <div class="form-field-flex"><input type="password" id="L_PASSWORD" name="password" /></div> + </section> + </section> + <section class="flex flex-padding background"> + <input type="submit" name="auth" value="Auth" /> + </section> +</form>
\ No newline at end of file |