23 lines
507 B
Cheetah
23 lines
507 B
Cheetah
|
<html>
|
||
|
<head>
|
||
|
<title>Invitea</title>
|
||
|
<link rel="stylesheet" href="./css/simple.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<h1>Invitea</h1>
|
||
|
<p>
|
||
|
Welcome to the home page of <a href="https://git.jojodev.com/jolheiser/invitea">Invitea</a>, an invite link generator for <a href="https://gitea.io">Gitea</a>.
|
||
|
</p>
|
||
|
</header>
|
||
|
<main>
|
||
|
{{ if .isAdmin }}
|
||
|
{{ template "admin.tmpl" . }}
|
||
|
{{ else }}
|
||
|
<p>
|
||
|
For non-admins there isn't much to do here. <a href="./auth/login">Log In</a>
|
||
|
</p>
|
||
|
{{ end }}
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|