mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
Make login box thinner and fix identation
This commit is contained in:
parent
5f9ddae0a9
commit
09fa98f8b1
@ -95,13 +95,15 @@
|
||||
<span class="glyphicon-question-sign glyphicon nav-icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<li>
|
||||
<a href="{% url 'system:index' %}">
|
||||
<span class="glyphicon-cog glyphicon nav-icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<li>
|
||||
<a href="{% url 'system:index' %}">
|
||||
<span class="glyphicon-cog glyphicon nav-icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="{% url 'users:edit' user.username %}"
|
||||
class="dropdown-toggle" data-toggle="dropdown"
|
||||
role="button" aria-expanded="false">
|
||||
@ -117,13 +119,13 @@
|
||||
<li><a href="{% url 'users:logout' %}" title="Log out">
|
||||
Log out</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
<a href="{% url 'users:login' %}" title="Log in">
|
||||
<i class="glyphicon glyphicon-user nav-icon"></i>
|
||||
Log in</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'users:login' %}" title="Log in">
|
||||
<i class="glyphicon glyphicon-user nav-icon"></i>
|
||||
Log in</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
|
||||
@ -26,10 +26,11 @@
|
||||
|
||||
<div class="row">
|
||||
{% csrf_token %}
|
||||
<div class="col-sm-4 col-md-offset-2">
|
||||
<div class="col-sm-3 col-md-offset-3">
|
||||
{{ form|bootstrap }}
|
||||
|
||||
<div class="text-center">
|
||||
<input type="submit" class="btn btn-primary" value="Login" />
|
||||
<input type="submit" class="btn btn-primary" value="Login" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user