From 9896702c83c507d7331dfeb038872d81babe5d8c Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 8 Oct 2025 14:54:57 +0200 Subject: [PATCH] Fix tmux-edit page in dark mode --- resources/views/admin/tmux-edit.blade.php | 25 +++++++++++++-------- resources/views/components/input.blade.php | 3 ++- resources/views/components/select.blade.php | 2 +- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/resources/views/admin/tmux-edit.blade.php b/resources/views/admin/tmux-edit.blade.php index 67ac41981..ce671d86d 100644 --- a/resources/views/admin/tmux-edit.blade.php +++ b/resources/views/admin/tmux-edit.blade.php @@ -2,11 +2,18 @@ @push('styles') @endpush @@ -22,8 +29,8 @@ @if(session('success')) -
-

+

+

{{ session('success') }}

@@ -39,13 +46,13 @@

Tmux - How It Works

-
+

Tmux is a screen multiplexer and at least version 1.6 is required. It is used here to allow multiple windows per session and multiple panes per window.

Each script is run in its own shell environment. It is not looped, but allowed to run once and then exit. This notifies tmux that the pane is dead and can then be respawned with another iteration of the script in a new shell environment.

This allows for scripts that crash to be restarted without user intervention.

-
-

NOTICE:

-

If "Save Tmux Settings" is the last thing you did on this page, refreshing will save the current form values again, not reload from database.

+
+

NOTICE:

+

If "Save Tmux Settings" is the last thing you did on this page, refreshing will save the current form values again, not reload from database.

@@ -98,8 +105,8 @@
-
-

Sequential mode is not recommended as it's not tested enough.

+
+

Sequential mode is not recommended as it's not tested enough.

diff --git a/resources/views/components/input.blade.php b/resources/views/components/input.blade.php index 5234ae59e..05688eae5 100644 --- a/resources/views/components/input.blade.php +++ b/resources/views/components/input.blade.php @@ -1 +1,2 @@ -merge(['type' => 'text', 'class' => 'px-3 py-1 border-gray-300 dark:border-gray-600 focus:border-blue-500 focus:ring-blue-500 rounded-md border shadow-sm']) }}> +merge(['type' => 'text', 'class' => 'px-3 py-1 border-gray-300 dark:border-gray-600 focus:border-blue-500 focus:ring-blue-500 rounded-md border shadow-sm bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100']) }}> + diff --git a/resources/views/components/select.blade.php b/resources/views/components/select.blade.php index ffcf6c030..ff7adb9ac 100644 --- a/resources/views/components/select.blade.php +++ b/resources/views/components/select.blade.php @@ -1,4 +1,4 @@ -merge(['class' => 'px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:ring-blue-500 focus:border-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100']) }}> {{ $slot }}