just make container mode visually different in navbar

This commit is contained in:
2023-07-02 12:55:30 +10:00
parent 1db94434d5
commit b2d6f38a62

View File

@@ -42,6 +42,8 @@
<div class="container-fluid"> <div class="container-fluid">
{% if config.FLASK_ENV == "production" %} {% if config.FLASK_ENV == "production" %}
<a class="navbar-brand" href="/">Books DB</a> <a class="navbar-brand" href="/">Books DB</a>
{% elif config.FLASK_ENV == "container" %}
<a class="navbar-brand bg-primary text-white px-2 py-0" style="border-radius:4px" href="/">Books (Cont)</a>
{% else %} {% else %}
<a class="navbar-brand bg-secondary text-white px-2 py-0" style="border-radius:4px" href="/">Books (DEV)</a> <a class="navbar-brand bg-secondary text-white px-2 py-0" style="border-radius:4px" href="/">Books (DEV)</a>
{% endif %} {% endif %}