summaryrefslogtreecommitdiffstats
path: root/template/admin/html/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'template/admin/html/auth.php')
-rw-r--r--template/admin/html/auth.php30
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