web/repo: the sidebar's file filter is in a page's html from its first frame, hidden only without js
Signed-off-by: dawn <dawn@tangled.org>
77 unmodified lines787980818283848586878889909192931 unmodified line77 unmodified lines // the loading strip runs until the app is up and the page's buttons work document.documentElement.dataset.loading = ""; </script> %sveltekit.head% <!-- the page draws what the app adds from its first frame, without js that's undone here --> <noscript> <style> .sb label.filter { visibility: hidden; } </style> </noscript> </head> <body data-sveltekit-preload-data="hover" class="flex min-h-screen flex-col"> <div style="display: contents">%sveltekit.body%</div> </body>1 unmodified line187 unmodified linesExpand all188189190191192192193194195196103 unmodified linesExpand all3003013023033043053063043053063073 unmodified lines187 unmodified linesExpand all bind:value={filter} placeholder="filter" label="filter files" slash="side" class={live ? "filter" : "idle filter"} class="filter" /> </header> {/snippet} {#if rootEntries && (root !== "" || rootEntries.length > 0)}103 unmodified linesExpand all border-left: 0; box-shadow: none; background: transparent; } .bar :global(label.idle) { visibility: hidden; } .empty { margin: 0; padding: 0.2rem 0.5rem; color: var(--y-muted);3 unmodified lines