1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-08 19:09:59 +00:00
calibre-web/cps/templates/login.html

28 lines
983 B
HTML
Raw Normal View History

{% extends "layout.html" %}
{% block body %}
<div class="well col-sm-6 col-sm-offset-2">
<h2 style="margin-top: 0">{{_('Login')}}</h2>
<form method="POST" role="form">
<div class="form-group">
<label for="username">{{_('Username')}}</label>
<input type="text" class="form-control" id="username" name="username" placeholder="{{_('Username')}}">
</div>
<div class="form-group">
<label for="password">{{_('Password')}}</label>
<input type="password" class="form-control" id="password" name="password" placeholder="{{_('Password')}}">
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="remember_me" checked> {{_('Remember me')}}
</label>
</div>
<button type="submit" name="submit" class="btn btn-default">{{_('Submit')}}</button>
</form>
</div>
{% if error %}
<div class="col-sm-6 col-sm-offset-2">
<div class="alert alert-danger">{{error}}</div>
</div>
{% endif %}
{% endblock %}