layout and style changes
[myslice.git] / portal / templates / password_reset_confirm.html
index 0ea6867..8f9d2f7 100644 (file)
@@ -1,36 +1,33 @@
-{% extends "layout-unfold1.html" %}
-{% load i18n %}
-
-{% block unfold_main %}
-
-
+{% extends "layout.html" %}
 {% block content %}
 
 {% if validlink %}
 
-<h2>{% trans 'OneLab secured Password reset wizard' %}</h2>
-<h3>{% trans 'Enter new password' %}</h3>
-
-<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
-
-<form action="" method="post">{% csrf_token %}
-{{ form.new_password1.errors }}
-<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
-{{ form.new_password2.errors }}
-<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
-<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
-</form>
+<div class="row">
+       <h1><img src="{{ STATIC_URL }}img/icon_user_small.png" alt="Password reset" /> Password reset</h1>
+</div>
+<div class="row">
+       <h3>Onelab secured Password reset wizard</h3>
+
+       <p>Please enter your new password twice so we can verify you typed it in correctly.</p>
+       
+       <form action="" method="post">{% csrf_token %}
+       {{ form.new_password1.errors }}
+       <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
+       {{ form.new_password2.errors }}
+       <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
+       <p><input type="submit" value="{% trans 'Change my password' %}" /></p>
+       </form>
 
 {% else %}
+       
+       <h3>Onelab secured Password reset wizard</h3>
 
-<h2>{% trans 'OneLab secured Password reset wizard' %}</h2>
-<h3>{% trans 'Password reset unsuccessful!' %}</h3>
-
-<p> The password reset link was invalid, possibly because it has already been used.  Please request a new <a href="/portal/pass_reset/">password reset.</a></p>
+       <p> The password reset link was invalid, possibly because it has already been used.  Please request a new <a href="/portal/pass_reset/">password reset.</a></p>
 
-<p>If you still encounter problem please <a href="/portal/contact/">Contact Support</a> for password recovery.</p> 
+       <p>If you still encounter problem please <a href="/portal/contact/">Contact Support</a> for password recovery.</p> 
+</div>
 {% endif %}
 
 {% endblock %}
-{% endblock %}