summaryrefslogtreecommitdiff
path: root/templates/header.html
blob: 814e84548653b43173976baa56f92f93806c2c2c (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{{ if .PageTitle }} - {{ .PageTitle }}{{ end }}{{ 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" . }}</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 }}