This commit is contained in:
Ross
2021-07-29 22:06:59 +01:00
parent 627e4d7abb
commit 7d811b1a6b
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ button a {
color: inherit; color: inherit;
} }
#admin-link, #logout-link, #profile-link, #physics-link, #anatomy-link, #rapids-link, #longs-link { .top-bar-link {
float: right; float: right;
padding-left: 10px; padding-left: 10px;
} }
+8 -8
View File
@@ -49,30 +49,30 @@
<body> <body>
<div class="page-header"> <div class="page-header">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<span id="rapids-link"> <span id="rapids-link" class="top-bar-link">
<a href="{% url 'rapids:index' %}">Rapids</a> <a href="{% url 'rapids:index' %}">Rapids</a>
</span> </span>
<span id="longs-link"> <span id="longs-link" class="top-bar-link">
<a href="{% url 'longs:index' %}">Longs</a> <a href="{% url 'longs:index' %}">Longs</a>
</span> </span>
<span id="physics-link"> <span id="physics-link" class="top-bar-link">
<a href="{% url 'physics:index' %}">Physics</a> <a href="{% url 'physics:index' %}">Physics</a>
</span> </span>
<span id="anatomy-link"> <span id="anatomy-link" class="top-bar-link">
<a href="{% url 'anatomy:index' %}">Anatomy</a> <a href="{% url 'anatomy:index' %}">Anatomy</a>
</span> </span>
<span id="sbas-link"> <span id="sbas-link" class="top-bar-link">
<a href="{% url 'sbas:index' %}">SBAs</a> <a href="{% url 'sbas:index' %}">SBAs</a>
</span> </span>
<span id="logout-link"> <span id="logout-link" class="top-bar-link">
<a href="{% url 'logout' %}">Logout</a> <a href="{% url 'logout' %}">Logout</a>
</span> </span>
<span id="profile-link"> <span id="profile-link" class=" top-bar-link">
<a href="{% url 'profile' %}">Profile</a> <a href="{% url 'profile' %}">Profile</a>
</span> </span>
{% endif %} {% endif %}
{% if request.user.is_staff %} {% if request.user.is_staff %}
<span id="admin-link"> <span id="admin-link" class="top-bar-link">
<a href="{% url 'admin:index' %}">Admin</a> <a href="{% url 'admin:index' %}">Admin</a>
</span> </span>
{% endif %} {% endif %}