2013-10-03 12:10:44 +00:00
|
|
|
{% extends "layout.twig" %}
|
|
|
|
|
2014-01-28 10:08:21 +00:00
|
|
|
{% block title %}{% trans "login to your wallabag" %}{% endblock %}
|
2013-10-03 12:10:44 +00:00
|
|
|
{% block content %}
|
2013-10-20 21:28:45 +00:00
|
|
|
{% if http_auth == 0 %}
|
2013-10-03 12:10:44 +00:00
|
|
|
<form method="post" action="?login" name="loginform">
|
|
|
|
<fieldset class="w500p center">
|
2014-01-28 10:08:21 +00:00
|
|
|
<h2 class="mbs txtcenter">{% trans "Login to wallabag" %}</h2>
|
2013-10-03 12:10:44 +00:00
|
|
|
{% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %}
|
|
|
|
<div class="row">
|
2013-12-15 05:18:26 +00:00
|
|
|
<label class="col w150p" for="login">{% trans "Username" %}</label>
|
2013-10-03 12:10:44 +00:00
|
|
|
<input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<label class="col w150p" for="password">{% trans "Password" %}</label>
|
|
|
|
<input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label>
|
|
|
|
<div class="col">
|
|
|
|
<input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3">
|
|
|
|
<small class="inbl">{% trans "(Do not check on public computers)" %}</small>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mts txtcenter">
|
2014-02-21 13:58:07 +00:00
|
|
|
<button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button>
|
2013-10-03 12:10:44 +00:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<input type="hidden" name="returnurl" value="{{ referer }}">
|
|
|
|
<input type="hidden" name="token" value="{{ token }}">
|
|
|
|
</form>
|
2013-10-20 21:28:45 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|