This commit is contained in:
Artur Gurgul 2025-04-24 20:53:37 +02:00 committed by Artur Gurgul
commit a0a338067b
16 changed files with 898 additions and 0 deletions

25
templates/index.html Normal file
View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>File List</title>
</head>
<body>
{{if .IsLoggedIn}}
<p>Welcome back!</p>
{{else}}
<p>Please log in to access more features.</p>
{{end}}
<h2>Files</h2>
{{if .Files}}
<ul>
{{range .Files}}
<li>{{.FileName}}</li>
{{end}}
</ul>
{{else}}
<p>No files available.</p>
{{end}}
</body>
</html>