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
12 lines
No EOL
267 B
HTML
12 lines
No EOL
267 B
HTML
{{ define "footer.html" }}
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$('.message .close').on('click', function() {
|
|
$(this).closest('.message').transition('fade');
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|
|
{{ end }} |