]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - themes/default/login.twig
[change] login button into sign in
[github/wallabag/wallabag.git] / themes / default / login.twig
index 0ae130bc0240b49f305b1946fae412d941c30431..b9f8b497cccc7c3125656e619ca3037698ab9af9 100644 (file)
@@ -1,13 +1,14 @@
 {% extends "layout.twig" %}
 
-{% block title %}{% trans "login to your poche" %}{% endblock %}
+{% block title %}{% trans "login to your wallabag" %}{% endblock %}
 {% block content %}
+    {% if http_auth == 0 %}
             <form method="post" action="?login" name="loginform">
                 <fieldset class="w500p center">
-                    <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2>
+                    <h2 class="mbs txtcenter">{% trans "Login to wallabag" %}</h2>
                     {% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %}
                                        <div class="row">
-                                               <label class="col w150p" for="login">{% trans "Login" %}</label>
+                                               <label class="col w150p" for="login">{% trans "Username" %}</label>
                                                <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
                                        </div>
 
                                                </div>
                                        </div>
                                        <div class="row mts txtcenter">
-                                               <button class="bouton" type="submit" tabindex="4">{% trans "Login" %}</button>
+                                               <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button>
                                        </div>
                 </fieldset>
                 <input type="hidden" name="returnurl" value="{{ referer }}">
                 <input type="hidden" name="token" value="{{ token }}">
             </form>
-{% endblock %}
\ No newline at end of file
+    {% endif %}
+{% endblock %}