48 lines
2.4 KiB
HTML
48 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
|
|
<meta name="theme-color" content="#0b1020" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<title>Schließen?</title>
|
|
<style>
|
|
:root{ --bg:#0b1020; --card:#121a33; --text:#e8eeff; --muted:#9fb0ff; --line:rgba(255,255,255,.12); --btn:#2b60ff; --btn2:#1c254b; }
|
|
@media (prefers-color-scheme: light){
|
|
:root{ --bg:#f6f7fb; --card:#ffffff; --text:#0b1020; --muted:#5060a8; --line:rgba(0,0,0,.10); --btn:#2b60ff; --btn2:#eef1ff; }
|
|
}
|
|
*{ box-sizing:border-box; }
|
|
body{ margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial; background:var(--bg); color:var(--text); display:grid; place-items:center; min-height:100vh; padding:18px; }
|
|
.card{ background:var(--card); border:1px solid var(--line); border-radius:20px; padding:18px 16px; max-width:420px; width:100%; box-shadow:0 20px 70px rgba(0,0,0,.35); text-align:center; }
|
|
h1{ margin:6px 0 10px; font-size:20px; }
|
|
p{ margin:0 0 16px; color:var(--muted); line-height:1.35; font-size:14px; }
|
|
.btns{ display:flex; gap:12px; }
|
|
button{ flex:1; border:0; border-radius:16px; padding:14px 14px; font-size:16px; font-weight:800; cursor:pointer; box-shadow:0 10px 30px rgba(0,0,0,.22); }
|
|
.primary{ background:var(--btn); color:white; }
|
|
.secondary{ background:var(--btn2); color:var(--text); border:1px solid var(--line); box-shadow:none; }
|
|
button:active{ transform:scale(0.99); }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="card">
|
|
<h1>Wirklich schließen?</h1>
|
|
<p>Bestätige, ob der Aushang beendet werden soll.</p>
|
|
<div class="btns">
|
|
<button class="primary" id="yes">Ja, schließen</button>
|
|
<button class="secondary" id="no">Zurück</button>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
const params = new URLSearchParams(location.search);
|
|
const backTarget = params.get("return") || "/zuss/";
|
|
document.getElementById("no").onclick = () => { location.href = backTarget; };
|
|
document.getElementById("yes").onclick = () => {
|
|
try { window.close(); } catch {}
|
|
setTimeout(() => { location.href = "about:blank"; }, 120);
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|