batman
This commit is contained in:
parent
2e919145ec
commit
9eb8f24845
7 changed files with 114 additions and 0 deletions
35
templates/index.html
Normal file
35
templates/index.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue