Add tag cloud
This commit is contained in:
parent
15ff7e5b47
commit
44e1b73b1f
7 changed files with 131 additions and 39 deletions
|
@ -14,6 +14,7 @@ html
|
|||
title BC Explorer
|
||||
link(rel="stylesheet" type="text/css" href="/static/stacks.min.css")
|
||||
script(src="/static/htmx.js")
|
||||
script(src="/static/wordcloud.js")
|
||||
meta(name="htmx-config" content='{"requestClass":"is-loading"}')
|
||||
style.
|
||||
.themed {
|
||||
|
@ -40,11 +41,17 @@ html
|
|||
.s-sidebarwidget th {
|
||||
font-weight: normal;
|
||||
color: var(--black-400);
|
||||
text-align: right;
|
||||
}
|
||||
.album-grid-link {
|
||||
--_li-fc: var(--black);
|
||||
--_li-fc-visited: var(--black-400);
|
||||
}
|
||||
.wc-hl {
|
||||
cursor: pointer;
|
||||
color: blue;
|
||||
outline: 1px solid black;
|
||||
}
|
||||
body.themed.theme-system.overflow-y-scroll(hx-boost="true")
|
||||
header.s-topbar
|
||||
.s-topbar--container.wmx9
|
||||
|
@ -81,15 +88,7 @@ html
|
|||
.s-sidebarwidget.wmn3
|
||||
.s-sidebarwidget--header Collection
|
||||
table.s-sidebarwidget--content.s-sidebarwidget__items
|
||||
tr.s-sidebarwidget--item
|
||||
th albums
|
||||
td= albumCount
|
||||
tr.s-sidebarwidget--item
|
||||
th singles
|
||||
td= singleCount
|
||||
tr.s-sidebarwidget--item
|
||||
th tracks
|
||||
td= trackCount
|
||||
tr.s-sidebarwidget--item
|
||||
th value
|
||||
td #{displayCurrencySymbol}#{purchaseValue} #{displayCurrency}
|
||||
each stat in count
|
||||
tr.s-sidebarwidget--item
|
||||
th= stat[0]
|
||||
td= stat[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue