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