From 1ef974a1d936df614cde76cdfe7028fa961733ea Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 10 Oct 2025 22:21:50 +0200 Subject: [PATCH] Fix dark theme for regexes admin page --- .../admin/regexes/category-list.blade.php | 70 +++++++++--------- .../admin/regexes/collection-edit.blade.php | 46 ++++++------ .../admin/regexes/collection-list.blade.php | 68 +++++++++--------- .../regexes/release-naming-list.blade.php | 72 +++++++++---------- 4 files changed, 128 insertions(+), 128 deletions(-) diff --git a/resources/views/admin/regexes/category-list.blade.php b/resources/views/admin/regexes/category-list.blade.php index 6877c44c1..c60813fed 100644 --- a/resources/views/admin/regexes/category-list.blade.php +++ b/resources/views/admin/regexes/category-list.blade.php @@ -4,27 +4,27 @@
-
+
-

+

{{ $title ?? 'Category Regex List' }}

- + Add New Regex
-
+
- +
-

+

This page lists regular expressions used for categorizing releases.
- You can recategorize all releases by running misc/update/update_releases 6 true + You can recategorize all releases by running misc/update/update_releases 6 true

@@ -47,10 +47,10 @@ type="text" name="group" value="{{ $group }}" - class="pl-10 w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" + class="pl-10 w-full px-4 py-2 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-100 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Search a group...">
-
@@ -61,70 +61,70 @@ @if($regex && count($regex) > 0) @if(method_exists($regex, 'links')) -
+
{{ $regex->onEachSide(5)->links() }}
@endif
- - +
+ - - - - - - - - + + + + + + + + - + @foreach($regex as $row) - - + + - - +
IDGroupDescriptionRegexOrdinalStatusCategoryActionsIDGroupDescriptionRegexOrdinalStatusCategoryActions
{{ $row->id }}
{{ $row->id }} - {{ $row->group_regex }} + {{ $row->group_regex }} + {{ $row->description }}
- + {{ htmlspecialchars($row->regex) }}
{{ $row->ordinal }}{{ $row->ordinal }} @if($row->status == 1) - + Active @else - + Disabled @endif - + {{ $row->categories_id }}
@endforeach -

+

Only active regex are used during the collection matching process.

-
+
- + Cancel -
diff --git a/resources/views/admin/regexes/collection-list.blade.php b/resources/views/admin/regexes/collection-list.blade.php index 658bbb36c..9c6dc05b9 100644 --- a/resources/views/admin/regexes/collection-list.blade.php +++ b/resources/views/admin/regexes/collection-list.blade.php @@ -4,27 +4,27 @@
-
+
-

+

{{ $title ?? 'Collection Regex List' }}

- + Add New Regex
-
+
- +
-

+

This page lists regular expressions used for grouping binaries into collections.
- You can test your regex patterns using the test feature. + You can test your regex patterns using the test feature.

@@ -47,10 +47,10 @@ type="text" name="group" value="{{ $group }}" - class="pl-10 w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" + class="pl-10 w-full px-4 py-2 border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-100 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Search a group...">
-
@@ -61,51 +61,51 @@ @if($regex && count($regex) > 0) @if(method_exists($regex, 'links')) -
+
{{ $regex->onEachSide(5)->links() }}
@endif
- - +
+ - - - - - - - + + + + + + + - + @foreach($regex as $row) - - + + - - +
IDGroupDescriptionRegexOrdinalStatusActionsIDGroupDescriptionRegexOrdinalStatusActions
{{ $row->id }}
{{ $row->id }} - {{ $row->group_regex }} + {{ $row->group_regex }} + {{ $row->description }}
- + {{ htmlspecialchars($row->regex) }}
{{ $row->ordinal }}{{ $row->ordinal }} @if($row->status == 1) - + Active @else - + Disabled @endif @@ -113,12 +113,12 @@
@@ -61,51 +61,51 @@ @if($regex && count($regex) > 0) @if(method_exists($regex, 'links')) -
+
{{ $regex->onEachSide(5)->links() }}
@endif
- - +
+ - - - - - - - + + + + + + + - + @foreach($regex as $row) - - + + - - +
IDGroupDescriptionRegexOrdinalStatusActionsIDGroupDescriptionRegexOrdinalStatusActions
{{ $row->id }}
{{ $row->id }} - {{ $row->group_regex }} + {{ $row->group_regex }} + {{ $row->description }}
- + {{ htmlspecialchars($row->regex) }}
{{ $row->ordinal }}{{ $row->ordinal }} @if($row->status == 1) - + Active @else - + Disabled @endif @@ -113,12 +113,12 @@