add compat file viewer

This commit is contained in:
2020-01-28 12:51:21 +01:00
parent cb4082fd44
commit 8151aaa18e
23 changed files with 552 additions and 702 deletions

View File

@@ -24,7 +24,7 @@
<input type="text" autocomplete="username" value="{{.Username}}" style="display: none;" readonly="readonly"/>
{{end}}
<table class="form">
{{range $index, $field := .Fields}}
{{range $field := .Fields}}
<tr class="form">
{{if eq $field.Type "textarea"}}
<td colspan="2">

View File

@@ -1,6 +1,6 @@
{{define "user_style"}}
<style>
{{.UserStyle}}
{{template "layout.css"}}
{{template "layout.css" .}}
</style>
{{end}}