pfannkuchen/stream-control/templates/base.html

22 lines
1.6 KiB
HTML

<!doctype html>
<html lang="de" data-theme="dark">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="#0d1728"><title>StreamScope Control</title>
<link rel="stylesheet" href="{{ url_for('static',filename='admin.css') }}">
<link rel="icon" href="{{ url_for('static',filename='icon.svg') }}">
</head>
<body>
<aside class="sidebar">
<a class="brand" href="/"><span class="brand-mark">◈</span><span>Stream<span>Scope</span></span></a>
<p class="nav-label">CONTROL</p>
<nav><a class="nav-item active" href="/"><i>⌁</i>Traffic Policy</a><a class="nav-item" href="/api/status"><i>{ }</i>Status API</a></nav>
<div class="sidebar-foot"><span class="status-dot {{ 'ok' if state.get('ok') else 'down' }}"></span><small>Edge {{ 'verbunden' if state.get('ok') else 'nicht erreichbar' }}</small></div>
</aside>
<header class="mobile-head"><a class="brand" href="/"><span class="brand-mark">◈</span><span>Stream<span>Scope</span></span></a></header>
<main>
<div class="topbar"><div><p class="eyebrow">REMOTE CONTROL</p><h1>TV & Session Policy</h1></div><div class="top-actions"><span class="status-pill {{ 'ok' if state.get('ok') else 'down' }}">{{ 'OVH ONLINE' if state.get('ok') else 'OVH OFFLINE' }}</span></div></div>
{% with messages=get_flashed_messages(with_categories=true) %}{% for category,message in messages %}<div class="notice {{ category }}"><strong>{{ '✓' if category=='success' else '!' }}</strong><p>{{ message }}</p></div>{% endfor %}{% endwith %}
{% block content %}{% endblock %}
</main>
</body></html>