2018-11-19 02:18:22 +01:00
|
|
|
{{define "admin"}}
|
|
|
|
{{template "header" .}}
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
h2 {font-weight: normal;}
|
|
|
|
ul.pagenav {list-style: none;}
|
2018-11-19 03:58:50 +01:00
|
|
|
form {
|
|
|
|
margin: 0 0 2em;
|
|
|
|
}
|
2018-12-03 23:30:31 +01:00
|
|
|
form dt {
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
2018-11-19 02:18:22 +01:00
|
|
|
.ui.divider:not(.vertical):not(.horizontal) {
|
|
|
|
border-top: 1px solid rgba(34,36,38,.15);
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,.1);
|
|
|
|
}
|
|
|
|
.ui.divider {
|
|
|
|
margin: 1rem 0;
|
|
|
|
line-height: 1;
|
|
|
|
height: 0;
|
|
|
|
font-weight: 700;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: .05em;
|
|
|
|
color: rgba(0,0,0,.85);
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
2018-12-04 00:45:55 +01:00
|
|
|
.invisible {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-04-12 03:10:45 +02:00
|
|
|
p.docs {
|
|
|
|
font-size: 0.86em;
|
|
|
|
}
|
2020-02-14 19:55:24 +01:00
|
|
|
.stats {
|
|
|
|
font-size: 1.2em;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
.num {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2018-11-19 02:18:22 +01:00
|
|
|
</style>
|
|
|
|
|
2018-11-19 03:58:50 +01:00
|
|
|
<div class="content-container snug">
|
2019-04-06 17:15:14 +02:00
|
|
|
{{template "admin-header" .}}
|
2018-11-19 02:18:22 +01:00
|
|
|
|
|
|
|
{{if .Message}}<p>{{.Message}}</p>{{end}}
|
|
|
|
|
2020-02-14 19:55:24 +01:00
|
|
|
<div class="row stats">
|
|
|
|
<div><span class="num">{{largeNumFmt .UsersCount}}</span> {{pluralize "user" "users" .UsersCount}}</div>
|
|
|
|
<div><span class="num">{{largeNumFmt .CollectionsCount}}</span> {{pluralize "blog" "blogs" .CollectionsCount}}</div>
|
|
|
|
<div><span class="num">{{largeNumFmt .PostsCount}}</span> {{pluralize "post" "posts" .PostsCount}}</div>
|
2018-12-03 23:30:31 +01:00
|
|
|
</div>
|
|
|
|
|
2018-11-19 02:18:22 +01:00
|
|
|
</div>
|
2018-11-19 03:58:50 +01:00
|
|
|
|
2018-12-04 00:34:36 +01:00
|
|
|
<script>
|
|
|
|
history.replaceState(null, "", "/admin"+window.location.hash);
|
|
|
|
</script>
|
|
|
|
|
2018-11-19 02:18:22 +01:00
|
|
|
{{template "footer" .}}
|
2018-11-19 03:58:50 +01:00
|
|
|
|
2018-11-19 02:18:22 +01:00
|
|
|
{{template "body-end" .}}
|
|
|
|
{{end}}
|