change kontor-gin for containers
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
Thomas Peetz
2026-09-23 17:09:48 +02:00
parent 6b5167a5c0
commit a0ad4e5c26
23 changed files with 295 additions and 172 deletions
+24
View File
@@ -0,0 +1,24 @@
{{ define "main" }}
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/public/style/main.css" />
<title>{{ .title }}</title>
</head>
<body>
<div class="header"></div>
{{ template "navbar" . }}
{{ template "content" . }}
<div class="footer">{{ .version }}</div>
</body>
</html>
{{ end }}
+13
View File
@@ -0,0 +1,13 @@
{{ define "navbar" }}
<div class="topnav">
<a href="/">Kontor</a>
<a href="/comic/comics">Comics</a>
<a href="/media/files">Media</a>
<a href="/media/lofis">Lofi</a>
{{ if .user }}
<a style="float:right" href="{{ .logout }}">Logout</a></li>
{{ else }}
<a style="float:right" href="{{ .login }}">Login</a></li>
{{ end }}
</div>
{{ end }}