diff options
Diffstat (limited to 'module/web/templates/default/login.html')
-rw-r--r-- | module/web/templates/default/login.html | 61 |
1 files changed, 34 insertions, 27 deletions
diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html index 9e91ad309..c8cd78a33 100644 --- a/module/web/templates/default/login.html +++ b/module/web/templates/default/login.html @@ -1,36 +1,43 @@ {% extends 'default/base.html' %} - {% block title %}{{_("Login")}} - {{super()}} {% endblock %} - {% block content %} - -<div class="centeralign"> -<form action="" method="post" accept-charset="utf-8" id="login"> - <div class="no"> - <input type="hidden" name="do" value="login" /> - <fieldset> +<br> +{% if logout %} +<div id="logged_out"> + <b>{{_("You were successfully logged out.")}}</b> +</div> +{% endif %} +<br> +<div class="login"> + <form action="/login" method="post" class="form-horizontal"> <legend>Login</legend> - <label> - <span>{{_("Username")}}</span> - <input type="text" size="20" name="username" /> - </label> - <br /> - <label> - <span>{{_("Password")}}</span> - <input type="password" size="20" name="password" /> - </label> - <br /> - <input type="submit" value="Login" class="button" /> - </fieldset> - </div> -</form> - + <div class="control-group"> + <label class="control-label" for="inputEmail">Username</label> + <div class="controls"> + <input type="text" id="inputEmail" placeholder="Username" name="username"> + </div> + </div> + <div class="control-group"> + <label class="control-label" for="inputPassword">Password</label> + <div class="controls"> + <input type="password" id="inputPassword" placeholder="Password" name="password"> + </div> + </div> + <div class="control-group"> + <div class="controls"> + <label class="checkbox"> + <input type="checkbox"> Remember me + </label> + <button type="submit" class="btn">Login</button> + </div> + </div> + </form> +</div> +<br> +<div style="text-align: center"> {% if errors %} <p>{{_("Your username and password didn't match. Please try again.")}}</p> {{ _("To reset your login data or add an user run:") }} <b> python pyLoadCore.py -u</b> {% endif %} - </div> -<br> - -{% endblock %} +{% endblock %}
\ No newline at end of file |