mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
New layout (Znote AAC AtomIO)
Layout is primarily changed to this because the old layout had obsolete javascript dependencies. I still want to make another default layout eventually, which is mobile friendly. This layout has a very nice character search widget though that looks for names realtime and displays them in a list beside the search.
This commit is contained in:
31
layout/widgets/login.php
Normal file
31
layout/widgets/login.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<div class="well loginContainer widget" id="loginContainer">
|
||||
<div class="header">
|
||||
Login / Register
|
||||
</div>
|
||||
<div class="body">
|
||||
<form class="loginForm" action="login.php" method="post">
|
||||
<div class="well">
|
||||
<label for="login_username">Userame:</label> <input type="text" name="username" id="login_username">
|
||||
</div>
|
||||
<div class="well">
|
||||
<label for="login_password">Password:</label> <input type="password" name="password" id="login_password">
|
||||
</div>
|
||||
<?php if ($config['twoFactorAuthenticator']): ?>
|
||||
<div class="well">
|
||||
<label for="login_password">Token:</label> <input type="password" name="authcode">
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="well">
|
||||
<input type="submit" value="Log in" class="submitButton">
|
||||
</div>
|
||||
<?php
|
||||
/* Form file */
|
||||
Token::create();
|
||||
?>
|
||||
<center>
|
||||
<h3><a href="register.php">New account</a></h3>
|
||||
<p>Lost <a href="recovery.php?mode=username">username</a> or <a href="recovery.php?mode=password">password</a>?</p>
|
||||
</center>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user