summaryrefslogtreecommitdiff
path: root/templates/header.html
blob: db55d97f8525ff7c5e2f9978ef0b3944a77223e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{ define "header" -}}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <title>{{ block "pagetitle" . }}CAcert Board Decisions{{ end }}{{ if .PageTitle }} - {{ .PageTitle }}{{ end }}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="/static/semantic.css"/>
    <script type="text/javascript" src="/static/js/jquery.js"></script>
    <script type="text/javascript" src="/static/semantic.js"></script>
</head>
<body class="site">
<div class="ui container">
    <h1 class="ui header">{{ template "pagetitle" . }}{{ if .Voter }}<div class="ui left pointing label">Authenticated as {{ .Voter.Name }} &lt;{{ .Voter.Reminder }}&gt;</div>{{ end }}</h1>
    {{ with .Flashes }}
        <div class="ui info message">
            <i class="close icon"></i>
            <div class="ui list">
                {{ range . }}
                <div class="ui item">{{ . }}</div>
                {{ end }}
            </div>
        </div>
    {{ end }}
</div>
<div class="ui one column grid container">
{{ end }}