From 01beeeca5c3daf1feedfe579a0aa09a77c8032d9 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 13 May 2024 01:20:48 +0200 Subject: [PATCH] fix(web): better config page, debug under config --- web/src/app.rs | 4 ++-- web/src/page.rs | 62 ++++++++++++++++++++----------------------------- 2 files changed, 27 insertions(+), 39 deletions(-) diff --git a/web/src/app.rs b/web/src/app.rs index 735d88a4..16c6d672 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -107,13 +107,13 @@ pub fn App() -> impl IntoView { } /> } /> - } /> + } /> + } /> } /> - } /> diff --git a/web/src/page.rs b/web/src/page.rs index 6f3562cb..9379fdc1 100644 --- a/web/src/page.rs +++ b/web/src/page.rs @@ -53,46 +53,34 @@ pub fn ConfigPage(setter: WriteSignal) -> impl IntoView { view! {
config +

config is saved in your browser local storage

- loop videos + + loop videos +

- collapse content warnings + + collapse content warnings +

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
filters
likes
creates
announces
follows
orphans
-
+
+

filters

+
    +
  • " likes"
  • +
  • " creates"
  • +
  • " announces"
  • +
  • " follows"
  • +
  • " orphans"
  • +
+
+

devtools

} } @@ -359,7 +347,7 @@ pub fn DebugPage() -> impl IntoView { let (query, set_query) = create_signal("".to_string()); view! {
- debug + config :: devtools