Jan Dittberner
94dcb5bd75
- 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
17 lines
No EOL
597 B
HTML
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" . }} |