Platform admin: Highlight service in research mode

Research mode trumps live.

Copies the same style we use in the page footer.
This commit is contained in:
Chris Hill-Scott
2016-06-23 17:31:45 +01:00
parent 68cb76a12e
commit e988a3633a
6 changed files with 29 additions and 11 deletions

View File

@@ -112,7 +112,7 @@
Built by the <a href="https://www.gov.uk/government/organisations/government-digital-service">Government Digital Service</a>
<a href="{{ url_for("main.cookies") }}">Cookies</a>
{% if current_service.research_mode %}
<span id="research-mode" style="font-weight: bold; display: inline-block; padding: 5px 10px; background: #005EA5; color: #fff; border-radius: 2px;">research mode</span>
<span id="research-mode" class="research-mode">research mode</span>
{% endif %}
</nav>
{% endblock %}