Files
gandalf/templates/_modem_panel.html
T

18 lines
846 B
HTML
Raw Normal View History

<section class="g-section" id="modem-section" hidden>
<div class="g-section-header">
<h2 class="g-section-title">WAN / Fiber</h2>
<span class="g-section-actions modem-actions">
{% if user.groups and 'admin' in user.groups %}
<button type="button" class="lt-btn lt-btn-ghost lt-btn-sm" id="modem-restart-btn" hidden
title="Silence alerts (Gandalf and Uptime Kuma), then restart the modem">⟳ Restart modem</button>
{% endif %}
<a class="lt-btn lt-btn-ghost lt-btn-sm" id="modem-device-link" hidden>↗ Details</a>
</span>
</div>
<div class="lt-frame">
<span class="lt-frame-bl">&#x255A;</span>
<span class="lt-frame-br">&#x255D;</span>
<div class="lt-section-header" id="modem-title">AT&amp;T Gateway</div>
<div id="modem-body" aria-live="polite"></div>
</div>
</section>