35 lines
1.5 KiB
PHP
35 lines
1.5 KiB
PHP
<?php /** @var Zentrale\Ansicht $v */ ?>
|
|
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<title><?= $v->e($titel) ?> · KantSites Zentrale</title>
|
|
<link rel="stylesheet" href="/app.css?v=3">
|
|
<script src="/app.js?v=1" defer></script>
|
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23173f6b'/%3E%3Cpath d='M9 8v16M9 16l9-8M12.5 13l7 11' stroke='%23fff' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E">
|
|
</head>
|
|
<body>
|
|
<a class="skip" href="#inhalt">Zum Inhalt</a>
|
|
<header class="kopf">
|
|
<div class="kopf-innen">
|
|
<a class="marke" href="/"><span class="marke-zeichen" aria-hidden="true">K</span> KantSites <span>Zentrale</span></a>
|
|
<?php if (null !== $konto) { ?>
|
|
<form method="post" action="/abmelden" class="abmelden">
|
|
<?= $v->csrf() ?>
|
|
<span class="wer"><?= $v->e($konto['name']) ?></span>
|
|
<button type="submit" class="knopf knopf-leise">Abmelden</button>
|
|
</form>
|
|
<?php } ?>
|
|
</div>
|
|
</header>
|
|
<main id="inhalt" class="seite" tabindex="-1">
|
|
<?php if (null !== $hinweis) { ?>
|
|
<p class="hinweis hinweis-<?= $v->e($hinweis['art']) ?>" role="<?= 'fehler' === $hinweis['art'] ? 'alert' : 'status' ?>"><?= $v->e($hinweis['text']) ?></p>
|
|
<?php } ?>
|
|
<?= $inhalt ?>
|
|
</main>
|
|
</body>
|
|
</html>
|