aboutsummaryrefslogtreecommitdiff
path: root/static/main.html
blob: f4007d1d8a778df02f2630d2346293fe2e9506e9 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{{ define "layout" }}
<!DOCTYPE html>
<html>
  <meta name="viewport" content="width=device-width, initial-scale=1">      
  <head>
    <title>{{ .Title }}</title>
    <style>
      a, a:link, a:visited, a:hover, a:active {
          text-decoration: none
      }

      a:link, a:visited,  a:active {
          color: black;
      }

      a:hover {
          color: #de0808;
      }
    </style>
    {{ template "header" . }}    
  </head>
  <body style="background-color: #eef2fe;">    
    <ul style="display: inline; padding:0;">
      {{range .Boards}}
      <li style="display: inline;"><a href="{{.Location}}">{{.Name}}</a></li>
      {{end}}
    </ul>
    {{ if .Board.ModCred }}
    {{ if eq .Board.ModCred .Board.Domain .Board.Actor }}
    <span style="float: right;"><a href="/{{ .Key }}/{{ .Board.Name }}">[Manage Board]</a></span>
    {{ end }}
    {{ end }}
    {{ template "top" . }}
    
    {{ template "content" . }}
    
    {{ template "bottom" . }}
  </body>
</html>

{{ template "script" . }}
{{ end }}