cacert-boardvoting/templates/header.html

26 lines
1.1 KiB
HTML
Raw Normal View History

{{ define "header" -}}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
2017-04-30 00:37:29 +00:00
<title>{{ block "pagetitle" . }}CAcert Board Decisions{{ end }}{{ if .PageTitle }} - {{ .PageTitle }}{{ end }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2017-04-29 20:17:58 +00:00
<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>
2017-04-29 20:17:58 +00:00
<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>
2017-04-29 20:17:58 +00:00
{{ with .Flashes }}
2017-04-30 00:37:29 +00:00
<div class="ui info message">
<i class="close icon"></i>
<div class="ui list">
{{ range . }}
<div class="ui item">{{ . }}</div>
{{ end }}
</div>
2017-04-29 20:17:58 +00:00
</div>
{{ end }}
</div>
<div class="ui one column grid container">
{{ end }}