diff options
author | FChannel <=> | 2021-01-22 21:12:26 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-22 21:12:26 -0800 |
commit | 2566e314e8351ffbceae9a2688d90a5c811d49e5 (patch) | |
tree | e802622593c540265e464beecf76696b65e229ed /static/main.html | |
parent | 626fee35bacd68baf6e9bb38ca71d88fff700b13 (diff) |
client to server conversion
Diffstat (limited to 'static/main.html')
-rw-r--r-- | static/main.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/static/main.html b/static/main.html new file mode 100644 index 0000000..f4007d1 --- /dev/null +++ b/static/main.html @@ -0,0 +1,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 }} |