From 59913abe119d0b1e16fbfa52d33032cbaf2d5566 Mon Sep 17 00:00:00 2001 From: FrogTheFrog Date: Mon, 16 Dec 2024 20:12:44 +0200 Subject: [PATCH] feat(web-ui): replace dropdown menus with checkboxes --- src_assets/common/assets/web/apps.html | 8 +- .../assets/web/configs/tabs/Advanced.vue | 2 +- .../assets/web/configs/tabs/AudioVideo.vue | 9 +- .../common/assets/web/configs/tabs/Files.vue | 2 +- .../assets/web/configs/tabs/General.vue | 15 +- .../common/assets/web/configs/tabs/Inputs.vue | 159 +++++++----------- .../assets/web/configs/tabs/Network.vue | 11 +- .../tabs/audiovideo/AdapterNameSelector.vue | 2 +- .../tabs/audiovideo/DisplayModesSettings.vue | 13 +- .../configs/tabs/encoders/AmdAmfEncoder.vue | 31 ++-- .../tabs/encoders/IntelQuickSyncEncoder.vue | 10 +- .../tabs/encoders/NvidiaNvencEncoder.vue | 36 ++-- .../configs/tabs/encoders/SoftwareEncoder.vue | 2 +- .../assets/web/public/assets/locale/en.json | 5 +- 14 files changed, 118 insertions(+), 187 deletions(-) diff --git a/src_assets/common/assets/web/apps.html b/src_assets/common/assets/web/apps.html index e10ce0262fb..e27edb099aa 100644 --- a/src_assets/common/assets/web/apps.html +++ b/src_assets/common/assets/web/apps.html @@ -152,7 +152,7 @@

{{ $t('apps.applications_title') }}

- +
@@ -209,21 +209,21 @@

{{ $t('apps.applications_title') }}

- +
{{ $t('apps.run_as_desc') }}
- +
{{ $t('apps.auto_detach_desc') }}
- +
{{ $t('apps.wait_all_desc') }}
diff --git a/src_assets/common/assets/web/configs/tabs/Advanced.vue b/src_assets/common/assets/web/configs/tabs/Advanced.vue index bd11adf2892..ff23e354230 100644 --- a/src_assets/common/assets/web/configs/tabs/Advanced.vue +++ b/src_assets/common/assets/web/configs/tabs/Advanced.vue @@ -80,7 +80,7 @@ const config = ref(props.config)
-
+
- - - +
+ +
{{ $t('config.install_steam_audio_drivers_desc') }}
diff --git a/src_assets/common/assets/web/configs/tabs/Files.vue b/src_assets/common/assets/web/configs/tabs/Files.vue index 87b8f9500e7..0cd41d92915 100644 --- a/src_assets/common/assets/web/configs/tabs/Files.vue +++ b/src_assets/common/assets/web/configs/tabs/Files.vue @@ -47,7 +47,7 @@ const config = ref(props.config)
-
+
diff --git a/src_assets/common/assets/web/configs/tabs/General.vue b/src_assets/common/assets/web/configs/tabs/General.vue index 5349a3c46ef..c1eaf6eccd3 100644 --- a/src_assets/common/assets/web/configs/tabs/General.vue +++ b/src_assets/common/assets/web/configs/tabs/General.vue @@ -96,11 +96,11 @@ function removeCmd(index) { - +
- +
@@ -120,13 +120,10 @@ function removeCmd(index) {
-
- - -
{{ $t('config.notify_pre_releases_desc') }}
+
+ + +
{{ $t('config.notify_pre_releases_desc') }}
diff --git a/src_assets/common/assets/web/configs/tabs/Inputs.vue b/src_assets/common/assets/web/configs/tabs/Inputs.vue index a2f0c249dfc..dd80deae41f 100644 --- a/src_assets/common/assets/web/configs/tabs/Inputs.vue +++ b/src_assets/common/assets/web/configs/tabs/Inputs.vue @@ -13,12 +13,9 @@ const config = ref(props.config) diff --git a/src_assets/common/assets/web/configs/tabs/Network.vue b/src_assets/common/assets/web/configs/tabs/Network.vue index b32074a599c..48834a90e51 100644 --- a/src_assets/common/assets/web/configs/tabs/Network.vue +++ b/src_assets/common/assets/web/configs/tabs/Network.vue @@ -15,12 +15,9 @@ const effectivePort = computed(() => +config.value?.port ?? defaultMoonlightPort