summaryrefslogtreecommitdiff
path: root/templates/header.html
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-04-30 02:37:29 +0200
committerJan Dittberner <jan@dittberner.info>2017-04-30 02:37:29 +0200
commitc48bd9e356f16fcf8c14f7c6e34aec2469fe51bb (patch)
tree96738ad2795834c46dddcc7d96a7099a8cbf22bf /templates/header.html
parent1c989fdfa3d15b35342d439bcb3fbab894b6d46c (diff)
downloadcacert-boardvoting-c48bd9e356f16fcf8c14f7c6e34aec2469fe51bb.tar.gz
cacert-boardvoting-c48bd9e356f16fcf8c14f7c6e34aec2469fe51bb.tar.xz
cacert-boardvoting-c48bd9e356f16fcf8c14f7c6e34aec2469fe51bb.zip
Use Semantic UI for all HTML templates0.2.0
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/header.html b/templates/header.html
index 814e845..69ba7d2 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
- <title>{{ block "pagetitle" . }}CAcert Board Decisions{{ if .PageTitle }} - {{ .PageTitle }}{{ end }}{{ end }}</title>
+ <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>
@@ -12,14 +12,14 @@
<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 class="ui info message">
+ <i class="close icon"></i>
+ <div class="ui list">
+ {{ range . }}
+ <div class="ui item">{{ . }}</div>
+ {{ end }}
+ </div>
</div>
- </div>
{{ end }}
</div>
<div class="ui one column grid container">