just make container mode visually different in navbar
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user