2022-05-29 13:36:27 +00:00
|
|
|
{{ define "base" -}}
|
2022-05-26 14:27:44 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{{ template "title" . }} - CAcert Board Voting System</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/lato-fonts.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/semantic.min.css">
|
|
|
|
<link rel="icon" href="/static/images/favicon.ico">
|
|
|
|
</head>
|
|
|
|
<body id="cacert-board-voting">
|
|
|
|
<header class="pusher">
|
|
|
|
<div class="ui vertical masthead center aligned segment">
|
|
|
|
<div class="ui left secondary container">
|
|
|
|
<img src="/static/images/CAcert-logo-colour.svg" alt="CAcert" height="40rem"/>
|
|
|
|
</div>
|
|
|
|
<div class="ui text container">
|
2022-06-04 11:52:53 +00:00
|
|
|
<h1 class="ui header">CAcert Board Voting System</h1>
|
2022-05-26 14:47:57 +00:00
|
|
|
{{ with .User }}
|
|
|
|
<div class="ui label">
|
2022-05-27 12:42:39 +00:00
|
|
|
<i class="id card outline icon"></i>
|
2023-05-12 15:56:17 +00:00
|
|
|
Authenticated as {{ .Name }} <{{ .Reminder.String }}>
|
2022-05-26 14:47:57 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-05-26 14:27:44 +00:00
|
|
|
</div>
|
2022-05-09 19:09:24 +00:00
|
|
|
</div>
|
2022-05-26 14:27:44 +00:00
|
|
|
</header>
|
|
|
|
{{ template "nav" . }}
|
|
|
|
<main class="ui container">
|
2022-06-04 11:52:53 +00:00
|
|
|
{{ with .Flashes }}
|
2022-05-26 14:27:44 +00:00
|
|
|
<div class="basic segment">
|
2022-06-04 11:52:53 +00:00
|
|
|
{{ range . }}
|
|
|
|
<div class="ui {{ .Variant }} message">
|
|
|
|
<i class="close icon"></i>
|
|
|
|
<div class="header">{{ .Title }}</div>
|
|
|
|
<p>{{ .Message }}</p>
|
2022-05-26 14:27:44 +00:00
|
|
|
</div>
|
2022-06-04 11:52:53 +00:00
|
|
|
{{ end }}
|
2022-05-09 19:09:24 +00:00
|
|
|
</div>
|
2022-05-26 14:27:44 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ template "main" . }}
|
|
|
|
</main>
|
|
|
|
<footer class="ui vertical footer segment">
|
|
|
|
<div class="ui container">
|
2023-05-12 15:56:17 +00:00
|
|
|
<span class="ui small text">© 2017-2023 CAcert Inc.</span>
|
2022-05-09 19:09:24 +00:00
|
|
|
</div>
|
2022-05-26 14:27:44 +00:00
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
<script src="/static/jquery.min.js"></script>
|
|
|
|
<script src="/static/semantic.min.js"></script>
|
|
|
|
<script src="/static/handlers.js"></script>
|
|
|
|
</html>
|
2022-05-09 19:09:24 +00:00
|
|
|
{{ end }}
|