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

Moving TEST indicator from navbar to heading

Moving indicator for a test server (config_name) from just below
the navbar to the main heading.
parent aece98e1
No related branches found
No related tags found
No related merge requests found
......@@ -33,15 +33,18 @@ function changeTime(obj, label) {
<div id="content">
<center>
<h1>GraceDB &mdash; Gravitational Wave Candidate Event Database</h1>
<h1>
GraceDB &mdash; Gravitational Wave Candidate Event Database
{% if config_name %}
<span style="color: red;">({{ config_name }})</span>
{% endif %}
</h1>
</center>
{% block nav %}
{% include "navbar_frag.html" %}
{% endblock %}
<p>&nbsp;</p> <!-- bad way to create vertical space -->
<h2>{% block heading %}Title{% endblock %}</h2>
{% block content %}{% endblock %}
......
<div style="padding-bottom: 30px;">
<ul id="nav">
<li id="nav-home"><a href="{% url "home" %}">Home</a></li>
<li id="nav-search"><a href="{% url "mainsearch" %}">Search</a></li>
......@@ -26,13 +27,6 @@
<li id="nav-login"><a href="{{ login_url }}">Login</a></li>
{% endif %}
</ul>
<center>
{% if config_name %}
<h1 style="color: red;">
{{config_name}}
</h1>
{% endif %}
</center>
{% if 'lvem_view' in request.path %}
<div id="lvem_view_message">
......@@ -42,3 +36,4 @@ return to the regular GraceDB site. This will ensure that your group memberships
are correct the next time you log in.
</div>
{% endif %}
</div>
......@@ -6,7 +6,7 @@
GraceDB &mdash; REST API
{% if config_name %}
<span style="color: red;">
{{config_name}}
({{ config_name }})
</span>
{% endif %}
{% 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