show total counts on releases/artists/tracks pages
This commit is contained in:
parent
b0dd87cad3
commit
774fb870fc
4 changed files with 8 additions and 6 deletions
|
|
@ -250,10 +250,12 @@ main:not(.dashboard) .card {
|
||||||
.card-header a:hover {
|
.card-header a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.card-header small {
|
|
||||||
|
header :is(h1, h2, h3) small,
|
||||||
|
.card-header :is(h1, h2, h3) small {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 15px;
|
font-size: .6em;
|
||||||
transform: translateY(-2px);
|
transform: translateY(-0.1em);
|
||||||
color: var(--fg-0);
|
color: var(--fg-0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/admin/artists/">Artists</a></h2>
|
<h1><a href="/admin/artists/">Artists</a> <small>({{len .Artists}} total)</small></h2>
|
||||||
<a class="button new" id="create-artist">Create New</a>
|
<a class="button new" id="create-artist">Create New</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/admin/releases/">Releases</a></h1>
|
<h1><a href="/admin/releases/">Releases</a> <small>({{len .Releases}} total)</small></h1>
|
||||||
<a class="button new" id="create-release">Create New</a>
|
<a class="button new" id="create-release">Create New</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="/admin/tracks/">Tracks</a></h1>
|
<h1><a href="/admin/tracks/">Tracks</a> <small>({{len .Tracks}} total)</small></h1>
|
||||||
<a class="button new" id="create-track">Create New</a>
|
<a class="button new" id="create-track">Create New</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue