Max 1000 items without consent
This commit is contained in:
parent
199a44a8a7
commit
368d05349a
5 changed files with 42 additions and 3 deletions
|
@ -45,6 +45,15 @@ html
|
|||
.ml6 Switch account
|
||||
li.s-menu--divider(role="separator")
|
||||
li.s-menu--title Settings
|
||||
if query && query.show
|
||||
li(role="menuitem")
|
||||
.s-block-link.d-flex.ai-center.py2
|
||||
span.fl-grow1.d-flex.ai-center
|
||||
!= icons.get("eye")
|
||||
.pl6 Showing all items
|
||||
a.s-btn.s-btn__filled.s-btn__sm.d-flex.ai-center(href=and({show: null}))
|
||||
!= icons.get("undo", 16)
|
||||
span.pl6 Undo
|
||||
li(role="menuitem")
|
||||
if arrange === "tag"
|
||||
form.s-block-link.d-flex.ai-center(hx-post="/api/settings/location-tags" hx-trigger="change" hx-indicator="#location-tags-loading" hx-select="#tag-page" hx-target="#tag-page")
|
||||
|
@ -144,6 +153,9 @@ html
|
|||
include collection-stats.pug
|
||||
|
||||
main.fl-grow1
|
||||
if items && items.length >= 1000
|
||||
//- a great deal of performance is spent on htmx's bfcache emulation when navigating away from large pages
|
||||
div(hx-history="false")
|
||||
block view
|
||||
|
||||
#player-container.ps-fixed.r16.ws340.z-modal(class="md:t64 md:l16 md:r16 md:b16" hx-preserve="true")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue