Initial commit

This commit is contained in:
blankhex committed 2026-10-15 23:25:46 +03:00
commit c578b91c2d
46 files changed
+3241

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
{{ define "alarm" }}
{{ if .Error }}
<div class="alert alert-err">{{.Error}}</div>
{{ end }}
{{ end }}
+3
View File
@@ -0,0 +1,3 @@
{{define "csrf"}}
<input type="hidden" name="formtoken" value="{{.FormToken}}"/>
{{end}}
+4
View File
@@ -0,0 +1,4 @@
{{define "footer"}}
</body>
</html>
{{end}}
+11
View File
@@ -0,0 +1,11 @@
{{define "header"}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{.Title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
{{end}}
+12
View File
@@ -0,0 +1,12 @@
{{define "navbar"}}
<nav class="navbar">
<a href="/">Profile</a>
<a href="/sessions">Sessions</a>
<a href="/jitsi">Jitsi</a>
{{ if .IsSuperUser }}
<a href="/users">Users</a>
<a href="/invites">Invites</a>
{{ end }}
<a href="/signout">Logout</a>
</nav>
{{end}}
+5
View File
@@ -0,0 +1,5 @@
{{define "redirect"}}
{{if .Redirect}}
<input type="hidden" name="redirect" value="{{.Redirect}}">
{{end}}
{{end}}