Skip to content
Snippets Groups Projects
Commit 79ebf90f authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Rework navbar a bit

Move some unused/non-functional menu items to live under a new
"Other" item: create (event), reports, and RSS.
parent e212a44a
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,8 @@ urlpatterns = [
url(r'^feeds/(?P<url>.*)/$', EventFeed()),
url(r'^feeds/$', feedview, name="feeds"),
url(r'^other/$', TemplateView.as_view(template_name='other.html'),
name='other'),
url(r'^performance/$', events.views.performance, name="performance"),
url(r'^reports/$', events.reports.histo, name="reports"),
url(r'^reports/cbc_report/(?P<format>(json|flex))?$',
......
......@@ -102,15 +102,13 @@ h1.docnav {
}
#home #nav-home a,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#doc #nav-doc a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a,
#archive #nav-archive a,
#lab #nav-lab a,
......@@ -122,15 +120,13 @@ h1.docnav {
/* text-shadow:none; */
}
#home #nav-home a:hover,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#doc #nav-doc a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a:hover,
#archive #nav-archive a:hover,
#lab #nav-lab a:hover,
......
......@@ -102,15 +102,13 @@ h1.docnav {
}
#home #nav-home a,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#doc #nav-doc a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a,
#archive #nav-archive a,
#lab #nav-lab a,
......@@ -122,15 +120,13 @@ h1.docnav {
/* text-shadow:none; */
}
#home #nav-home a:hover,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#doc #nav-doc a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a:hover,
#archive #nav-archive a:hover,
#lab #nav-lab a:hover,
......
......@@ -63,15 +63,12 @@
}
#home #nav-home a,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#about #nav-about a,
#other #nav-other a,
#archive #nav-archive a,
#lab #nav-lab a,
#reviews #nav-reviews a,
......@@ -81,14 +78,12 @@
/* text-shadow:none; */
}
#home #nav-home a:hover,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a:hover,
#archive #nav-archive a:hover,
#lab #nav-lab a:hover,
......
......@@ -329,15 +329,13 @@ span.coinc-0,
}
#home #nav-home a,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#doc #nav-doc a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a,
#archive #nav-archive a,
#lab #nav-lab a,
......@@ -349,15 +347,13 @@ span.coinc-0,
/* text-shadow:none; */
}
#home #nav-home a:hover,
#create #nav-create a,
#public #nav-public a,
#search #nav-search a,
#pipelines #nav-pipelines a,
#alerts #nav-alerts a,
#password #nav-password a,
#doc #nav-doc a,
#reports #nav-reports a,
#feeds #nav-feeds a,
#other #nav-other a,
#about #nav-about a:hover,
#archive #nav-archive a:hover,
#lab #nav-lab a:hover,
......
......@@ -3,11 +3,6 @@
<li id="nav-home"><a href="{% url "home" %}">Home</a></li>
<li id="nav-public"><a href="{% url "superevents:public-alerts-O3" %}">Public Alerts</a></li>
<li id="nav-search"><a href="{% url "mainsearch" %}">Search</a></li>
{% if user_is_internal %}
<li id="nav-create"><a href="{% url "create" %}">Create</a></li>
<li id="nav-reports"><a href="{% url "reports" %}">Reports</a></li>
<li id="nav-feeds"><a href="{% url "feeds" %}">RSS</a></li>
{% endif %}
<li id="nav-latest"><a href="{% url "latest" %}">Latest</a></li>
{% if user_is_internal %}
<li id="nav-alerts"><a href="{% url "alerts:index" %}">Alerts</a></li>
......@@ -23,6 +18,9 @@
<li id="nav-admin-docs"><a href="{% url "home" %}admin_docs/">Admin docs</a></li>
{% endif %}
{% endif %}
{% if user_is_internal %}
<li id="nav-other"><a href="{% url "other" %}">Other</a></li>
{% endif %}
{% if user.is_authenticated %}
<li id="nav-logout"><a href="{% url "logout" %}">Logout</a></li>
<li id="nav-user">Authenticated as:
......
{% extends "base.html" %}
{% block title %}Other pages{% endblock %}
{% block heading %}Other pages{% endblock %}
{% block pageid %}other{% endblock %}
{% block content %}
<div>
<ul>
<li><a href="{% url "create" %}">Create an event</a></li>
<li><a href="{% url "reports" %}">Reports page</a></li>
<li><a href="{% url "feeds" %}">RSS feeds</a></li>
</ul>
</div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment