update style
This commit is contained in:
@@ -28,6 +28,9 @@ body {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color: #0064c1;
|
||||
}
|
||||
|
||||
form input[type=password], form input[type=text] {
|
||||
margin-bottom: 0.25rem;
|
||||
@@ -58,7 +61,9 @@ form input[type=submit] {
|
||||
}
|
||||
|
||||
.box {
|
||||
background-color: #0000000a;
|
||||
background-color: #00000005;
|
||||
border-right: 2px solid #0000000c;
|
||||
border-bottom: 2px solid #0000000c;
|
||||
}
|
||||
|
||||
.box-title {
|
||||
@@ -69,8 +74,12 @@ form input[type=submit] {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.side-padded {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
#header {
|
||||
border-bottom: 1px solid;
|
||||
border-bottom: 1px solid grey;
|
||||
padding-top: 3rem;
|
||||
}
|
||||
|
||||
@@ -80,7 +89,6 @@ form input[type=submit] {
|
||||
}
|
||||
|
||||
#footer {
|
||||
border-top: 1px solid;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div id="content">
|
||||
{{ if .Flashes }}
|
||||
<div id="flashes" class="padded mono">
|
||||
<p><b>warning:</b> {{ index .Flashes 0 }}</p>
|
||||
<p><b>warning</b> {{ index .Flashes 0 }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ template "content" . }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ define "title" }}home{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="light right">
|
||||
<div class="side-padded light right">
|
||||
welcome <u>{{ .User.Name }}</u> | <a href="/admin/home">home</a> | <a href="/admin/logout">logout</a>
|
||||
</div>
|
||||
{{ template "user" . }}
|
||||
|
||||
Reference in New Issue
Block a user