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

@@ -7,7 +7,7 @@
.file_manager {
position: absolute;
padding: 0px 8px 0px 8px;
background-color: #252525;
background-color: var(--body_color);
box-shadow: #000000 8px 8px 50px 5px;
left:100px;
top:100px;

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}}