This commit is contained in:
pika 2025-03-10 18:24:23 +01:00
parent 2e919145ec
commit 9eb8f24845
7 changed files with 114 additions and 0 deletions

35
templates/index.html Normal file
View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Zentrales Caddy-Dashboard</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
</head>
<body>
<header>
<h1>Zentrales Caddy-Dashboard</h1>
</header>
<main>
{% for server, entries in proxies.items() %}
<h2>{{ server }}</h2>
<table>
<thead>
<tr>
<th>Domain</th>
<th>Ziel</th>
</tr>
</thead>
<tbody>
{% for domain, target in entries.items() %}
<tr>
<td><a href="https://{{ domain }}" target="_blank">{{ domain }}</a></td>
<td>{{ target }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
</main>
</body>
</html>