cacert-boardvoting/boardvoting/templates/denied.html
Jan Dittberner 94dcb5bd75 Use static assets for HTML templates
- implement custom http.Filesystem boardvoting.AssetFS
- replace "footer" and "header" with "footer.html" and "header.html"
- change renderTemplate to use Assets
- use boardvoting.GetAssetFS() with http.Fileserver
2018-03-29 21:26:12 +02:00

17 lines
No EOL
597 B
HTML

{{ template "header.html" . }}
<div class="column">
<div class="ui negative message">
<div class="header.html">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.html" . }}