46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="{lang}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{title}</title>
|
|
<link rel="stylesheet" href="/static/app.css">
|
|
</head>
|
|
<body>
|
|
<main class="shell">
|
|
<div class="topbar">
|
|
<div class="title-block">
|
|
<h1>{title}</h1>
|
|
<div class="summary"><strong>{action_count}</strong><span>{actions_label}</span></div>
|
|
</div>
|
|
{global_actions}
|
|
<div class="toolbar">
|
|
<form method="post" action="/refresh?lang={lang}{token_query}" class="refresh-form">
|
|
<button class="refresh-button" type="submit" title="{refresh_label}" aria-label="{refresh_label}">
|
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
|
<path d="M20 6v5h-5"></path>
|
|
<path d="M4 18v-5h5"></path>
|
|
<path d="M18.6 9A7 7 0 0 0 6.3 6.4L4 8.6"></path>
|
|
<path d="M5.4 15A7 7 0 0 0 17.7 17.6L20 15.4"></path>
|
|
</svg>
|
|
</button>
|
|
</form>
|
|
<span class="refresh-status" data-refresh-status data-working-label="{refresh_working_label}" role="status" aria-live="polite"></span>
|
|
<form method="get" action="/" class="language-form">
|
|
<label for="lang">{language_label}</label>
|
|
{token_input}
|
|
<select id="lang" name="lang" onchange="this.form.submit()">
|
|
{language_options}
|
|
</select>
|
|
<noscript><button type="submit">OK</button></noscript>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<section class="{grid_class}">
|
|
{cards}
|
|
</section>
|
|
</main>
|
|
<script src="/static/app.js" defer></script>
|
|
</body>
|
|
</html>
|