diff options
author | FChannel <=> | 2021-01-28 00:27:36 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-28 00:27:36 -0800 |
commit | faee9db270a22a42e45210529c7998dcede0087b (patch) | |
tree | 4b3c90b197f8a784e8ce3c57e6e57d4b423e83e8 /static/main.html | |
parent | c171ea82b48f9b2f5c9b8132755e4fb8545290d9 (diff) |
added red board layout
Diffstat (limited to 'static/main.html')
-rw-r--r-- | static/main.html | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/static/main.html b/static/main.html index f4007d1..180e91f 100644 --- a/static/main.html +++ b/static/main.html @@ -16,10 +16,50 @@ a:hover { color: #de0808; } + + body { + {{ if .Board.Restricted }} + background-color: #eef2fe; + color: black; + {{ else }} + background-color: #ffffee; + color: #820404 + {{ end }} + } + + #reply-box { + {{ if .Board.Restricted }} + border: 4px solid #d3caf0; + background-color: #eff5ff; + {{ else }} + border: 4px solid #f0e2d9; + background-color: #f9f9e0; + {{ end }} + } + + .quote { + color: #789922; + } + + .reply { + {{ if .Board.Restricted }} + color:#af0a0f; + {{ else }} + color:#000080; + {{ end }} + } + + .post { + {{ if .Board.Restricted }} + background-color: #d5daf0; + {{ else }} + background-color: #f0e0d6; + {{ end }} + } </style> {{ template "header" . }} </head> - <body style="background-color: #eef2fe;"> + <body> <ul style="display: inline; padding:0;"> {{range .Boards}} <li style="display: inline;"><a href="{{.Location}}">{{.Name}}</a></li> |