Initial
This commit is contained in:
28
templates/admin.html
Normal file
28
templates/admin.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Admin - Öffnungszeiten</title>
|
||||
<style>
|
||||
body { font-family: sans-serif; padding: 40px; line-height: 1.6; }
|
||||
.btn { background: #ff4757; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; }
|
||||
.card { border: 1px solid #ddd; padding: 20px; margin-bottom: 20px; border-radius: 8px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Administration</h1>
|
||||
|
||||
<div class="card">
|
||||
<h3>Google Sheets Links</h3>
|
||||
<p><a href="{{ links.times_edit }}" target="_blank">➔ Tabelle: Öffnungszeiten bearbeiten</a></p>
|
||||
<p><a href="{{ links.remarks_edit }}" target="_blank">➔ Tabelle: Bemerkungen bearbeiten</a></p>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Cache Management</h3>
|
||||
<p>Nach Änderungen in Google Sheets muss der Cache gelöscht werden, damit die Website sofort aktualisiert wird.</p>
|
||||
<a href="/admin/cache-clear" class="btn">Invalidate Cache (Cache löschen)</a>
|
||||
</div>
|
||||
|
||||
<p><a href="/">← Zurück zur Ansicht</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user