summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2025-04-02 13:59:15 +0200
committerWolfgang Müller2025-04-02 13:59:15 +0200
commitcf9801172a175e3580d07729c14778ededf6fcda (patch)
tree34412e7b310cca165b36d443d6c101ff60de784d
parent5aac3928b049954e1b8a1b95b160c491eb6adef1 (diff)
downloadhircine-cf9801172a175e3580d07729c14778ededf6fcda.tar.gz
frontend: Add ability to exclude URLs
-rw-r--r--frontend/src/lib/filter/ComicFilterForm.svelte10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/src/lib/filter/ComicFilterForm.svelte b/frontend/src/lib/filter/ComicFilterForm.svelte
index c6c8517..b8be75b 100644
--- a/frontend/src/lib/filter/ComicFilterForm.svelte
+++ b/frontend/src/lib/filter/ComicFilterForm.svelte
@@ -59,5 +59,15 @@
<Filter {type} title="Ratings" options={ratings} filter={exc.ratings} accel="er" />
<Filter {type} title="Censorship" options={censorships} filter={exc.censorships} accel="es" />
<Filter {type} title="Languages" options={languages} filter={exc.languages} accel="el" />
+ <div class="flex flex-col">
+ <label for="exclude-url">URL</label>
+ <input
+ use:accelerator={'eu'}
+ id="exclude-url"
+ class="h-full border border-red-900 outline-none focus:border-red-500"
+ placeholder="Does not contain..."
+ bind:value={exc.url.contains}
+ />
+ </div>
{/snippet}
</FilterForm>