Skip to content

Commit

Permalink
UI, dev mode banner
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Dec 2, 2024
1 parent 22eb8ca commit b824fcf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lacommunaute/templates/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,19 @@
</li>
</ul>
</nav>
{% if ENVIRONMENT != "PROD" %}
<div class="global-messages-container" id="debug-mode-banner">
<div class="alert alert-danger fade show" role="status">
<p class="mb-0">
<strong class="text-uppercase">DEV MODE</strong>
</p>
</div>
</div>
{% endif %}
{% block header %}
{% include "partials/header.html" %}
{% endblock %}
{% block sub_header %}{% endblock %}
{% if ENVIRONMENT != "PROD" %}<div id="debug-mode-banner" class="bg-danger text-white mt-3">DEV MODE</div>{% endif %}
<main id="main" role="main" class="s-main">
{% block messages %}
{% if messages %}
Expand Down

0 comments on commit b824fcf

Please sign in to comment.