mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Remove global header when the bot is not connected to the database
This commit is contained in:
@ -24,7 +24,6 @@
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
{% include 'nobot_header.html.j2' %}
|
||||
<div class="navbar-fixed">
|
||||
<nav>
|
||||
<div class="nav-wrapper">
|
||||
@ -78,7 +77,6 @@
|
||||
|
||||
<div id="loginmodal" class="modal">
|
||||
<div class="modal-content">
|
||||
{% include 'nobot_header.html.j2' %}
|
||||
<h4>{{ login_greeting }}</h4>
|
||||
<div id="loginmodal-maincontent" class="row valign-wrap">
|
||||
<div id="modal_guildinfobox" class="col m3 s12 center-align">
|
||||
|
@ -1,10 +0,0 @@
|
||||
{% if not bot_status["status"] %}
|
||||
<div style="border: solid 3px red; background-color: yellow; color: black;">
|
||||
<p>
|
||||
<strong>NOTICE!</strong>
|
||||
The bot is <strong>currently not online</strong> or has <strong>lost the connection</strong> to the webserver.
|
||||
If you see this header, please <a href="https://discord.io/titan" target="_blank" style="background-color: orange; color: blue;">notify us</a> as soon as possible for us to fix this issue.
|
||||
Down since approximately <code>{{ bot_status["formatted_utc"] }}</code> UTC (<code>{{ bot_status["epoch_seconds"] }} epoch seconds</code>).
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
@ -23,7 +23,6 @@
|
||||
{% include 'google_analytics.html.j2' %}
|
||||
</head>
|
||||
<body>
|
||||
{% include 'nobot_header.html.j2' %}
|
||||
<main>
|
||||
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %}
|
||||
<ul id="menu_dropdown" class="dropdown-content">
|
||||
|
Reference in New Issue
Block a user