mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-14 06:42:17 +00:00
Update templates to be a little more consistant.
This commit is contained in:
@@ -20,11 +20,12 @@
|
||||
<div id="login-modal" class="modal hide fade">
|
||||
<div class="modal-body">
|
||||
<form class="form-signin" action="{% url "login" %}?next={{ request.get_full_path }}" method="post">
|
||||
<h2 class="form-signin-heading">Please sign in</h2>
|
||||
<h2 class="form-signin-heading">Login</h2>
|
||||
<input name="username" type="text" class="input-block-level" placeholder="Username">
|
||||
<input name="password" type="password" class="input-block-level" placeholder="Password">
|
||||
{% csrf_token %}
|
||||
<p><button class="btn btn-large btn-primary" type="submit" data-loading-text="Submitted...">Sign in</button></p>
|
||||
<p class="muted"><a href="{% url "auth_password_reset" %}">Forgot your password?</a></p>
|
||||
<p class="muted">Don't have an account? Then <a href="{% url "registration_register" %}">sign up</a>.</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,16 @@
|
||||
{% load i18n %}
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block title %}
|
||||
Login
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
<h1>Login</h1>
|
||||
</div>
|
||||
|
||||
<form class="form" method="post">
|
||||
{{ form|bootstrap }}
|
||||
|
||||
@@ -11,6 +20,6 @@
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
|
||||
<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>
|
||||
<p class="muted"><a href="{% url "auth_password_reset" %}">Forgot your password?</a></p>
|
||||
<p class="muted">Don't have an account? Then <a href="{% url "registration_register" %}">sign up</a>.</p>
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,10 +2,14 @@
|
||||
{% load i18n %}
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block title %}
|
||||
Register Account
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form class="form" method="post">
|
||||
{{ form|bootstrap }}
|
||||
{% csrf_token %}
|
||||
<input class="btn" type="submit" value="{% trans 'Submit' %}" />
|
||||
<input class="btn" type="submit" value="Create Account" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user