Less dodgy debug/version handling

This commit is contained in:
2023-10-03 23:48:52 +00:00
parent c87abb506d
commit 9d1bab6a07
4 changed files with 24 additions and 16 deletions

View File

@ -40,7 +40,7 @@
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top {% if debug %} construction_bg {% endif %}">
<a class="navbar-brand" href="/">KaraoQueue</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
@ -76,7 +76,7 @@
</main><!-- /.container -->
</div>
<!-- Footer -->
<footer class="footer">
<footer class="footer {% if debug %} construction_bg {% endif %}">
<div class="container text-center py-3">
{% if not auth %}
<a href="/login" class="ml-1 mr-1"><i class="fas fa-sign-in-alt mr-1"></i><span>Login</span></a>