diff options
Diffstat (limited to 'web/templates/admin/view.tmpl')
-rw-r--r-- | web/templates/admin/view.tmpl | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/web/templates/admin/view.tmpl b/web/templates/admin/view.tmpl new file mode 100644 index 0000000..2b32fdc --- /dev/null +++ b/web/templates/admin/view.tmpl @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html lang="en"> +{{template "head"}} +<body> +{{template "header" .}} + +<div class="container mb-5"> + <div class="row"> + <div class="col-12"> + + + <h1>Admin Area</h1> + + <div class="row"> + + {{if .User.Permissions.Admin.GlobalSettings}} + {{template "viewGlobal"}} + {{end}} + + {{if .User.Permissions.Admin.ManageUsers}} + {{template "viewUsers" .}} + {{template "viewPermissions" .}} + {{end}} + + {{if .User.Permissions.Admin.CreateTemplates}} + {{template "viewTemplates"}} + {{end}} + + </div> + + </div> + </div> +</div> + + + +{{template "footer" .}} + + +</body> +</html> |