prettier and more clear login screen

separate the forgot pw / register stuff from the usual login form

use more button style
This commit is contained in:
Thomas Waldmann 2013-11-22 03:39:47 +01:00
parent ae260e2725
commit be43b61a97

View File

@ -15,11 +15,18 @@
<input id="id_remember_me" name="remember_me" type="checkbox"> <input id="id_remember_me" name="remember_me" type="checkbox">
<label class="control-label " for="id_remember_me">Keep me logged in</label> <label class="control-label " for="id_remember_me">Keep me logged in</label>
</div> </div>
<p><a href="{% url 'auth_password_reset' %}">Forgot</a> your password? <button type="submit" class="btn btn-primary btn-lg">login</button>
<a href="{% url 'registration_register' %}">Need an account</a>?</p>
<button type="submit" class="btn btn-primary">login</button>
<input type="hidden" name="next" value="{{ next }}" /> <input type="hidden" name="next" value="{{ next }}" />
</form> </form>
<hr>
<h2>Forgot your password?</h2>
<p>
<a class="btn btn-default" href="{% url 'auth_password_reset' %}">Request a password reset</a>
</p>
<h2>Don't have an account yet?</h2>
<p>
<a class="btn btn-default" role="button" href="{% url 'registration_register' %}">Register an account</a>
</p>
</div> </div>
<div class="col-lg-1"> <div class="col-lg-1">
</div> </div>