From c08c689a1400b42001b30727fd8bc545493f4ec4 Mon Sep 17 00:00:00 2001 From: infidel Date: Wed, 30 Nov 2022 16:00:49 +0700 Subject: [PATCH] Bulk request & csrf token handler --- src/components/Cards/CardStats.svelte | 1 + src/components/Cards/CardWGControl.svelte | 72 +++++++++++++-- src/components/Cards/CardWGFilter.svelte | 17 ++-- src/components/Cards/CardWGProfiles.svelte | 88 ++++++++++++++++--- src/components/Dropdowns/TableDropdown.svelte | 39 ++++++-- src/views/admin/wgProfiles.svelte | 9 +- 6 files changed, 190 insertions(+), 36 deletions(-) diff --git a/src/components/Cards/CardStats.svelte b/src/components/Cards/CardStats.svelte index 31fd5f5..821245a 100644 --- a/src/components/Cards/CardStats.svelte +++ b/src/components/Cards/CardStats.svelte @@ -15,6 +15,7 @@ // can be any of the background color utilities // from tailwindcss export let statIconColor = "bg-red-500"; +
@@ -155,12 +209,20 @@
Filter Action
+ + -
+
diff --git a/src/views/admin/wgProfiles.svelte b/src/views/admin/wgProfiles.svelte index 751a26c..b8e6069 100644 --- a/src/views/admin/wgProfiles.svelte +++ b/src/views/admin/wgProfiles.svelte @@ -6,8 +6,10 @@ import CardWGControl from "components/Cards/CardWGControl.svelte"; let wgResponse = null; - let filter = ""; + let filter = null; let unique = {}; + let filter_action = false; + let checked_vals = []; let wgProfileFetch = []; @@ -21,9 +23,10 @@ // }); // console.log(wgProfileFetch); // }); +
- - + +