login page picture
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Tue, 5 Dec 2017 20:07:38 +0000 (21:07 +0100)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Tue, 5 Dec 2017 20:07:38 +0000 (21:07 +0100)
django_simple/authentication/templates/registration/login.html
static/LPE.png [new file with mode: 0644]

index 943105f..a913ef5 100644 (file)
@@ -31,7 +31,8 @@ Run a single job without login.
 <hr>
 {% if user.is_anonymous %}
 Register/login to run and save multiple jobs (optional).
-
+<div class="row">
+<div class="col-xs-6">
 <form method="post" action=".">
   {% csrf_token %} 
   {{ form.as_p }}
@@ -39,8 +40,16 @@ Register/login to run and save multiple jobs (optional).
   <input type="submit" value="{% trans 'Log in' %}" />
   <input type="hidden" name="next" value="{{ next }}" />
 </form>
-
+</div>
+<div class="col-xs-6">
+<p>
+<p>
 <p>{% trans "Forgot password" %}? <a href="{% url 'auth_password_reset' %}">{% trans "Reset it" %}</a>!</p>
 <p>{% trans "Not member" %}? <a href="{% url 'registration_register' %}">{% trans "Register" %}</a>!</p>
+</div>
+</div>
 {% endif %}
+<div class="col-xs-12">
+<img src="/static/LPE.png" class="img-responsive">
+</div>
 {% endblock %}
diff --git a/static/LPE.png b/static/LPE.png
new file mode 100644 (file)
index 0000000..5ed9002
Binary files /dev/null and b/static/LPE.png differ