Skip to content

Commit fe06818

Browse files
committed
Restructe Templates
1 parent 830171b commit fe06818

15 files changed

Lines changed: 20 additions & 1 deletion

File tree

File renamed without changes.
File renamed without changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>$Title$</title>
6+
</head>
7+
<body>
8+
$END$
9+
</body>
10+
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.

webapp/autoDeploy/templates/base.html renamed to webapp/autoDeploy/autodeploy/templates/base.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,16 @@
8888

8989
<ul class="nav navbar-top-links navbar-right">
9090
{% if user.is_authenticated %}
91-
<a href="{{ BASE_URL }}accounts/logout" style="margin-right: 25px;position: relative;top: 10px"><span class="fa fa-sign-out" title="Log out"></span></a>
91+
92+
<a href='javascript:void(0)' data-toggle="dropdown" id="userDropdown" style="margin-right: 25px;position: relative;top: 10px"><span class="fa fa-2x fa-user" title="User"></span></a>
93+
<ul class="dropdown-menu" aria-labelledby="userDropdown">
94+
<li><a href="{% url 'mfa_home' %}">Security</a> </li>
95+
{% if request.user.is_staff or request.user.is_superuser%}
96+
<li><a href="{{ BASE_URL }}admin">Admin Interface</a></li>
97+
{% endif %}
98+
<li role="separator" class="divider"></li>
99+
<li><a href="{{ BASE_URL }}accounts/logout">Log out</a></li>
100+
</ul>
92101
{% endif %}
93102
</ul>
94103
<!-- /.navbar-top-links -->
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)