Make the UI flatter

This commit is contained in:
2022-01-03 14:02:50 +01:00
parent bdec963be0
commit 4f17c71b56
30 changed files with 239 additions and 247 deletions

View File

@@ -1,5 +1,4 @@
{{define "form"}}
<h1>{{.Title}}</h1>
{{.PreFormHTML}}
<form class="highlight_dark" method="POST">
{{if eq .Submitted true}}
@@ -111,10 +110,14 @@
<body>
<div id='body' class="body">
{{template "page_top" .}}
<div class="page_content"><div class="limit_width">
<div class="checkers inset">
<h1>{{.Form.Title}}</h1>
</div>
<br/>
<div class="limit_width">
{{template "form" .Form}}
<br/>
</div></div>
</div>
{{template "page_bottom" .}}
</div>

View File

@@ -7,10 +7,12 @@
<body>
{{template "page_top" .}}
<h1>{{.Title}}</h1>
<div class="page_content"><div class="limit_width">
<div class="checkers inset">
<h1>{{.Title}}</h1>
</div>
<div class="limit_width">
{{.Other}}
</div></div>
</div>
{{template "page_bottom" .}}
{{template "analytics"}}
</body>

View File

@@ -54,7 +54,7 @@ function resetMenu() {
{{end}}
{{define "page_bottom"}}
<div class="highlight_dark">
<div class="inset checkers" style="padding-top: 150px">
<div style="display: inline-block; margin: 0 8px 0 8px;">
Pixeldrain is a product by <a href="//fornaxian.tech" target="_blank">Fornaxian Technologies</a>
</div>
@@ -71,6 +71,8 @@ function resetMenu() {
<span class="small_footer_text" style="font-size: .75em; line-height: .75em;">
page rendered by {{.Hostname}}
</span>
<br/>
<br/>
</div>
</div><!-- end page_body -->
{{end}}