hatecomputers.club/templates/base.html

103 lines
3.2 KiB
HTML
Raw Normal View History

2024-03-25 14:08:35 -04:00
{{ define "base" }}
<!DOCTYPE html>
<html>
<head>
<title>hatecomputers.club</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
2024-03-26 18:00:05 -04:00
<link rel="icon" href="/static/img/favicon.svg">
2024-03-25 14:08:35 -04:00
<link rel="stylesheet" type="text/css" href="/static/css/styles.css">
2024-03-26 18:00:05 -04:00
<meta property="og:type" content="website">
<meta property="og:url" content="https://hatecomputers.club">
2024-03-27 17:54:57 -04:00
<meta property="og:title" content="hatecomputers club">
<meta property="og:description" content="be decent at computer but hate. really bad for human!">
<meta property="og:image:secure_url" content="https://hatecomputers.club/static/img/favicon.png">
<meta property="og:image:secure" content="https://hatecomputers.club/static/img/favicon.png">
2024-03-26 18:00:05 -04:00
<script src="/static/js/util/setThemeBeforeRender.js"></script>
2024-03-25 14:08:35 -04:00
</head>
<body>
<div id="content" class="container">
2024-03-27 17:38:53 -04:00
<div>
2024-03-26 18:00:05 -04:00
<h1>hatecomputers.club</h1>
2024-03-27 17:38:53 -04:00
<a href="javascript:void(0);" id="theme-switcher">light mode.</a>
<span> | </span>
<a href="/">home.</a>
<span> | </span>
2024-03-27 17:54:57 -04:00
<a href="/about">about.</a>
2024-03-27 17:38:53 -04:00
<span> | </span>
2024-03-27 17:54:57 -04:00
<a href="/guestbook">guestbook.</a>
2024-03-27 17:38:53 -04:00
<span> | </span>
2024-03-27 17:02:31 -04:00
{{ if .User }}
2024-03-27 17:38:53 -04:00
<a href="/dns">dns.</a>
<span> | </span>
<a href="/keys">api keys.</a>
<span> | </span>
2024-08-16 02:24:43 -04:00
<a href="/kennel/cats">kennel.</a>
<span> | </span>
<a href="/profile">{{ .User.DisplayName }}.</a>
<span> | </span>
<a href="/logout">logout.</a>
2024-03-27 17:02:31 -04:00
{{ else }}
2024-03-27 17:38:53 -04:00
<a href="/login">login.</a>
2024-03-27 17:02:31 -04:00
{{ end }}
2024-03-26 18:00:05 -04:00
</div>
<hr>
<div id="content">
{{ if and .Success (gt (len .Success.Messages) 0) }}
{{ range $message := .Success.Messages }}
<div class="info success">{{ $message }}</div>
{{ end }}
{{ end }}
{{ if and .Error (gt (len .Error.Messages) 0) }}
{{ range $error := .Error.Messages }}
<div class="info error">{{ $error }}</div>
{{ end }}
{{ end }}
2024-03-26 18:00:05 -04:00
{{ template "content" . }}
</div>
2024-03-27 17:38:53 -04:00
<hr>
<div class="footer">
<div>
2024-03-28 00:55:22 -04:00
{{ if .User }}
<a href="https://git.hatecomputers.club/{{ .User.Username }}">git.</a>
{{ else }}
<a href="https://git.hatecomputers.club">git.</a>
{{ end }}
<span> | </span>
<a href="https://mail.hatecomputers.club">e-mail.</a>
<span> | </span>
<a href="https://auth.hatecomputers.club">sso.</a>
</div>
<br>
<div class="blinkies">
2024-03-27 22:08:58 -04:00
<img width='150' height='20' src='/static/img/blinkies/hatecomputers-club.gif'>
<img width='150' height='20' src='/static/img/blinkies/autism.gif'>
<img width='150' height='20' src='/static/img/blinkies/fuckcomputers.gif'>
<img width='150' height='20' src='/static/img/blinkies/bee.gif'>
<img width='150' height='20' src='/static/img/blinkies/begaydocrime.gif'>
<img width='150' height='20' src='/static/img/blinkies/bored.gif'>
<img width='150' height='20' src='/static/img/blinkies/connection.gif'>
<img width='150' height='20' src='/static/img/blinkies/eepy.gif'>
<img width='150' height='20' src='/static/img/blinkies/loveuguys.gif'>
<img width='150' height='20' src='/static/img/blinkies/capitalism.gif'>
2024-03-27 17:38:53 -04:00
</div>
</div>
2024-03-25 14:08:35 -04:00
</div>
2024-03-26 18:00:05 -04:00
<script data-main="/static/js/script.js" src="/static/js/require.js"></script>
2024-03-25 14:08:35 -04:00
</body>
</html>
{{ end }}