summaryrefslogtreecommitdiff
path: root/boardvoting/templates/denied.html
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-03-29 20:08:41 +0200
committerJan Dittberner <jandd@cacert.org>2018-03-29 20:08:41 +0200
commit4dd5e0982050ae92a9a37cb62e606b2807a85c27 (patch)
treed2b9900068afe3d747524b43fbae49b86feaa7c8 /boardvoting/templates/denied.html
parentaea93c328e76fba300f5dd2c380b46c62a6db904 (diff)
downloadcacert-boardvoting-4dd5e0982050ae92a9a37cb62e606b2807a85c27.tar.gz
cacert-boardvoting-4dd5e0982050ae92a9a37cb62e606b2807a85c27.tar.xz
cacert-boardvoting-4dd5e0982050ae92a9a37cb62e606b2807a85c27.zip
Embed database migrations
- switch from goose to github.com/rubenv/sql-migrate - move assets (static, templates, migrations) to boardvoting package - add generated boardvoting/assets.go - remove unused static files from static directory - add package db with db migration configuration
Diffstat (limited to 'boardvoting/templates/denied.html')
-rw-r--r--boardvoting/templates/denied.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/boardvoting/templates/denied.html b/boardvoting/templates/denied.html
new file mode 100644
index 0000000..398a36f
--- /dev/null
+++ b/boardvoting/templates/denied.html
@@ -0,0 +1,17 @@
+{{ template "header" . }}
+<div class="column">
+ <div class="ui negative message">
+ <div class="header">You are not authorized to act here!</div>
+ <p>If you think this is in error, please contact the administrator.</p>
+ <p>If you don't know who that is, it is definitely not an error ;)</p>
+ {{ if .Emails }}
+ <p>The following addresses were present in your certificate:<p>
+ <ul>
+ {{ range .Emails }}
+ <li>{{ . }}</li>
+ {{ end }}
+ </ul>
+ {{ end }}
+ </div>
+</div>
+{{ template "footer" . }} \ No newline at end of file