|
|
|
@@ -5,7 +5,7 @@
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
|
|
|
|
<meta name="theme-color" content="#030508">
|
|
|
|
|
<meta name="robots" content="noindex, nofollow">
|
|
|
|
|
<meta name="description" content="THOR: out-of-band host and cluster health for the LotusGuild cluster">
|
|
|
|
|
<meta name="description" content="THOR: Total Hardware Operations Resolver. Out-of-band host and cluster health for the LotusGuild cluster">
|
|
|
|
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%23030508'/%3E%3Cpath d='M3 3h10v4H9v6H7V7H3z' fill='%23FF6B00'/%3E%3C/svg%3E">
|
|
|
|
|
<title>{% block title %}Needs attention{% endblock %} | THOR</title>
|
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
@@ -37,8 +37,9 @@
|
|
|
|
|
<span class="lt-menu-btn-bar"></span><span class="lt-menu-btn-bar"></span><span class="lt-menu-btn-bar"></span>
|
|
|
|
|
</button>
|
|
|
|
|
<div class="lt-brand">
|
|
|
|
|
<a href="{{ url_for('ui.index') }}" class="lt-brand-title" title="Total Hardware Operations Resolver">THOR</a>
|
|
|
|
|
<span class="lt-brand-subtitle">Host and cluster health, seen from outside</span>
|
|
|
|
|
<a href="{{ url_for('ui.index') }}" class="lt-brand-title lt-glitch" data-text="THOR"
|
|
|
|
|
aria-label="THOR home">THOR</a>
|
|
|
|
|
<span class="lt-brand-subtitle t-brand-expansion" title="THOR: Total Hardware Operations Resolver"><b>T</b>otal <b>H</b>ardware<br><b>O</b>perations <b>R</b>esolver</span>
|
|
|
|
|
</div>
|
|
|
|
|
<nav class="lt-nav" aria-label="Main navigation">
|
|
|
|
|
<a href="{{ url_for('ui.index') }}" class="lt-nav-link{% if active_nav == 'index' %} active{% endif %}"
|
|
|
|
@@ -48,6 +49,8 @@
|
|
|
|
|
</nav>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="lt-header-right">
|
|
|
|
|
<button type="button" class="lt-theme-btn" id="lt-theme-btn"
|
|
|
|
|
aria-label="Switch between light and dark mode" title="Light or dark mode">☀</button>
|
|
|
|
|
{% if user.name %}<span class="lt-header-user">{{ user.name }}</span>{% endif %}
|
|
|
|
|
{% if 'admin' in user.groups %}<span class="lt-badge-admin">admin</span>{% endif %}
|
|
|
|
|
</div>
|
|
|
|
@@ -64,7 +67,12 @@
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
<script nonce="{{ nonce }}">
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function () { lt.init({ skipBoot: true }); });
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
|
|
|
lt.init({ skipBoot: true });
|
|
|
|
|
// Light or dark: follows the browser until chosen here, then remembered (same as Gandalf).
|
|
|
|
|
var themeBtn = document.getElementById('lt-theme-btn');
|
|
|
|
|
if (themeBtn) themeBtn.addEventListener('click', function () { lt.theme.toggle(); });
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
|
</body>
|
|
|
|
|