Re-styled some auth-related forms to use a narrower form body on large screens, for aesthethic reasons.
- Legacy-Id: 12797
This commit is contained in:
parent
b1bbf9850f
commit
93efc4470a
ietf/templates/registration
|
@ -18,22 +18,9 @@
|
|||
|
||||
{% else %}
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-2 col-sm-0"></div>
|
||||
<div class="col-md-8 col-sm-12">
|
||||
<h1>Account creation</h1>
|
||||
<p>Please enter your email address in order to create a new datatracker account.</p>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
|
||||
{% buttons %}
|
||||
<button type="submit" class="btn btn-primary">Create account</button>
|
||||
{% endbuttons %}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h1>Other options</h1>
|
||||
|
||||
<p>
|
||||
<b>If you already have an account and want to use a new email address,</b>
|
||||
please go to your account profile page and
|
||||
|
@ -49,7 +36,20 @@
|
|||
<p>
|
||||
<a class="btn btn-warning" href="{% url "ietf.ietfauth.views.password_reset" %}">Reset your password</a>
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>Please enter your email address in order to create your datatracker account.</p>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
|
||||
{% buttons %}
|
||||
<button type="submit" class="btn btn-primary">Create account</button>
|
||||
{% endbuttons %}
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-2 col-sm-0"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Password</label>
|
||||
<div class="col-sm-10">
|
||||
<p class="form-control-static"><a href="{% url 'ietf.ietfauth.views.change_password' %}">Password change form</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Email addresses</label>
|
||||
<div class="col-sm-10">
|
||||
|
|
|
@ -8,24 +8,27 @@
|
|||
|
||||
{% block content %}
|
||||
{% origin %}
|
||||
<h1>Sign in</h1>
|
||||
<div class="col-md-2 col-sm-0"></div>
|
||||
<div class="col-md-8 col-sm-12">
|
||||
<h1>Sign in</h1>
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
|
||||
{% buttons %}
|
||||
<table class="col-md-12">
|
||||
<tr>
|
||||
<td >
|
||||
<button type="submit" class="btn btn-primary">Sign in</button>
|
||||
</td>
|
||||
<td >
|
||||
Forgot your password? <a href="{% url 'ietf.ietfauth.views.password_reset' %}">Request a reset</a>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% endbuttons %}
|
||||
</form>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form form %}
|
||||
|
||||
{% buttons %}
|
||||
<table class="col-md-12">
|
||||
<tr>
|
||||
<td >
|
||||
<button type="submit" class="btn btn-primary">Sign in</button>
|
||||
</td>
|
||||
<td >
|
||||
Forgot your password? <a href="{% url 'ietf.ietfauth.views.password_reset' %}">Request a reset</a>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% endbuttons %}
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-2 col-sm-0"></div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue