add style engine

This commit is contained in:
2018-07-11 22:46:44 +02:00
parent 3c2243246a
commit 2e804e546c
9 changed files with 264 additions and 60 deletions

View File

@@ -0,0 +1,20 @@
{{define "user_settings"}}<!DOCTYPE html>
<html>
<head>
{{template "meta_tags" .Username}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>
<body>
<div id='body' class="body">
{{template "menu" .}}
<h1>User configuration</h1>
{{template "footer"}}
</div>
{{template "analytics"}}
</body>
</html>
{{end}}