Skip to content

Commit

Permalink
chore: login in debug/dev mode - UI update (#836)
Browse files Browse the repository at this point in the history
## Description

🎸 mise à jour UI de la banniere `dev mode`

## Type de changement

🚧 technique

### Captures d'écran (optionnel)


![image](https://github.com/user-attachments/assets/12c45216-c580-4644-b0ea-e650c389b657)
  • Loading branch information
vincentporte authored Dec 2, 2024
1 parent 22eb8ca commit 095d1bb
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 095d1bb

Please sign in to comment.