From 3d9e6d24a84b531c1f00737e7c681bd6fffe506f Mon Sep 17 00:00:00 2001 From: Noklef <281545466+Noklef@users.noreply.github.com> Date: Sat, 30 May 2026 22:38:52 +1000 Subject: [PATCH] feat(web-ui): Updated `Add` / `Edit` app form to use modals + new `Delete` App UI flow (#5166) --- src_assets/common/assets/web/apps.html | 848 ++++++++++-------- .../assets/web/public/assets/css/sunshine.css | 3 +- .../assets/web/public/assets/locale/en.json | 2 + 3 files changed, 473 insertions(+), 380 deletions(-) diff --git a/src_assets/common/assets/web/apps.html b/src_assets/common/assets/web/apps.html index 852574909..f963f5756 100644 --- a/src_assets/common/assets/web/apps.html +++ b/src_assets/common/assets/web/apps.html @@ -14,28 +14,38 @@ -
|
- |
-
- |
-
- |
- - |
|---|---|---|---|
|
-
-
-
- |
-
-
-
-
- |
-
- |
-
- |
-
|
+ |
+
+ |
+
+ |
+ + |
|---|---|---|---|
|
+
+
+
+ |
+
+
+
+
+ |
+
+ |
+
+ |
+
| {{ $t('apps.env_var_name') }} | ++ |
| SUNSHINE_APP_ID | +{{ $t('apps.env_app_id') }} | +
| SUNSHINE_APP_NAME | +{{ $t('apps.env_app_name') }} | +
| SUNSHINE_CLIENT_WIDTH | +{{ $t('apps.env_client_width') }} | +
| SUNSHINE_CLIENT_HEIGHT | +{{ $t('apps.env_client_height') }} | +
| SUNSHINE_CLIENT_FPS | +{{ $t('apps.env_client_fps') }} | +
| SUNSHINE_CLIENT_HDR | +{{ $t('apps.env_client_hdr') }} | +
| SUNSHINE_CLIENT_GCMAP | +{{ $t('apps.env_client_gcmap') }} | +
| SUNSHINE_CLIENT_HOST_AUDIO | +{{ $t('apps.env_client_host_audio') }} | +
| SUNSHINE_CLIENT_ENABLE_SOPS | +{{ $t('apps.env_client_enable_sops') }} | +
| SUNSHINE_CLIENT_AUDIO_CONFIGURATION | +{{ $t('apps.env_client_audio_config') }} | +
cmd /C <{{ $t('apps.env_qres_path') }}>\QRes.exe /X:%SUNSHINE_CLIENT_WIDTH% /Y:%SUNSHINE_CLIENT_HEIGHT% /R:%SUNSHINE_CLIENT_FPS%
+ sh -c "xrandr --output HDMI-1 --mode \"${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}\" --rate ${SUNSHINE_CLIENT_FPS}"
+ sh -c "displayplacer "id:<screenId> res:${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT} hz:${SUNSHINE_CLIENT_FPS} scaling:on origin:(0,0) degree:0""
+ | {{ $t('apps.env_var_name') }} | -- |
| SUNSHINE_APP_ID | -{{ $t('apps.env_app_id') }} | -
| SUNSHINE_APP_NAME | -{{ $t('apps.env_app_name') }} | -
| SUNSHINE_CLIENT_WIDTH | -{{ $t('apps.env_client_width') }} | -
| SUNSHINE_CLIENT_HEIGHT | -{{ $t('apps.env_client_height') }} | -
| SUNSHINE_CLIENT_FPS | -{{ $t('apps.env_client_fps') }} | -
| SUNSHINE_CLIENT_HDR | -{{ $t('apps.env_client_hdr') }} | -
| SUNSHINE_CLIENT_GCMAP | -{{ $t('apps.env_client_gcmap') }} | -
| SUNSHINE_CLIENT_HOST_AUDIO | -{{ $t('apps.env_client_host_audio') }} | -
| SUNSHINE_CLIENT_ENABLE_SOPS | -{{ $t('apps.env_client_enable_sops') }} | -
| SUNSHINE_CLIENT_AUDIO_CONFIGURATION | -{{ $t('apps.env_client_audio_config') }} | -
cmd /C <{{ $t('apps.env_qres_path') }}>\QRes.exe /X:%SUNSHINE_CLIENT_WIDTH% /Y:%SUNSHINE_CLIENT_HEIGHT% /R:%SUNSHINE_CLIENT_FPS%
- sh -c "xrandr --output HDMI-1 --mode \"${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}\" --rate ${SUNSHINE_CLIENT_FPS}"
- sh -c "displayplacer "id:<screenId> res:${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT} hz:${SUNSHINE_CLIENT_FPS} scaling:on origin:(0,0) degree:0""
-