mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
users: Remove unnecessary column sizing
Signed-off-by: Manish Tripathy <manisht@thougtworks.com> Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
fd72909712
commit
6fc6efad1e
@ -21,24 +21,20 @@
|
|||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content_row %}
|
{% block content %}
|
||||||
<div class="col-md-6 col-md-offset-3">
|
<h3>
|
||||||
{% include 'messages.html' %}
|
{% blocktrans trimmed with username=form.user.username %}
|
||||||
|
Change Password for <em>{{ username }}</em>
|
||||||
|
{% endblocktrans %}
|
||||||
|
</h3>
|
||||||
|
<form class="form" method="post">
|
||||||
|
{% csrf_token %}
|
||||||
|
|
||||||
<h3>
|
{{ form|bootstrap }}
|
||||||
{% blocktrans trimmed with username=form.user.username %}
|
|
||||||
Change Password for <em>{{ username }}</em>
|
|
||||||
{% endblocktrans %}
|
|
||||||
</h3>
|
|
||||||
<form class="form" method="post">
|
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{{ form|bootstrap }}
|
<input type="submit" class="btn btn-primary"
|
||||||
|
value="{% trans "Save Password" %}"/>
|
||||||
<input type="submit" class="btn btn-primary"
|
</form>
|
||||||
value="{% trans "Save Password" %}"/>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page_js %}
|
{% block page_js %}
|
||||||
|
|||||||
@ -22,30 +22,25 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content_row %}
|
{% block content %}
|
||||||
<div class="col-md-6 col-md-offset-3">
|
<h2>{% trans "Administrator Account" %}</h2>
|
||||||
{% include 'messages.html' %}
|
|
||||||
|
|
||||||
<h2>{% trans "Administrator Account" %}</h2>
|
<p>
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Choose a username and password to access this web interface.
|
||||||
|
The password can be changed later. This user will be granted
|
||||||
|
administrative privileges. Other users can be added later.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<form class="form" method="post">
|
||||||
{% blocktrans trimmed %}
|
{% csrf_token %}
|
||||||
Choose a username and password to access this web interface.
|
|
||||||
The password can be changed later. This user will be granted
|
|
||||||
administrative privileges. Other users can be added later.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<form class="form" method="post">
|
{{ form|bootstrap }}
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{{ form|bootstrap }}
|
<input type="submit" class="btn btn-primary"
|
||||||
|
value="{% trans "Create Account" %}"/>
|
||||||
<input type="submit" class="btn btn-primary"
|
</form>
|
||||||
value="{% trans "Create Account" %}"/>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page_js %}
|
{% block page_js %}
|
||||||
|
|||||||
@ -21,30 +21,26 @@
|
|||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content_row %}
|
{% block content %}
|
||||||
<div class="col-md-6 col-md-offset-3">
|
<h3>{{ object.username }}</h3>
|
||||||
{% include 'messages.html' %}
|
|
||||||
|
|
||||||
<h3>{{ object.username }}</h3>
|
<p>
|
||||||
|
{% url 'users:change_password' object.username as change_password_url %}
|
||||||
|
|
||||||
<p>
|
{% blocktrans trimmed %}
|
||||||
{% url 'users:change_password' object.username as change_password_url %}
|
Use the <a href='{{ change_password_url }}'>change password form
|
||||||
|
</a> to change the password.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
|
||||||
{% blocktrans trimmed %}
|
<form class="form" method="post">
|
||||||
Use the <a href='{{ change_password_url }}'>change password form
|
{% csrf_token %}
|
||||||
</a> to change the password.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<form class="form" method="post">
|
{{ form|bootstrap }}
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{{ form|bootstrap }}
|
<input type="submit" class="btn btn-primary"
|
||||||
|
value="{% trans "Save Changes" %}"/>
|
||||||
<input type="submit" class="btn btn-primary"
|
</form>
|
||||||
value="{% trans "Save Changes" %}"/>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page_js %}
|
{% block page_js %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user