Use Semantic UI for all HTML templates
[cacert-boardvoting.git] / templates / header.html
index 814e845..69ba7d2 100644 (file)
@@ -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>
 <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">