From 4e568bec8a9af6796327ac89eaf2b8f11f17b02c Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 23 Jun 2022 19:25:30 -0700 Subject: [PATCH 1/2] Moves the settings search box higher Signed-off-by: snipe --- resources/views/layouts/default.blade.php | 2 +- resources/views/settings/index.blade.php | 36 +++++++++++++---------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 28218b320..698c32a31 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -744,7 +744,7 @@ -
+
@if ($debug_in_production)
diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 6ea397cab..0f6050d21 100755 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -6,6 +6,24 @@ @parent @stop +@section('header_right') + + {{ trans('general.back') }} + + +
+
+
+ + + +
+
+
+ +@stop + + {{-- Page content --}} @section('content') @@ -28,20 +46,6 @@ } -
- - -
-
-
- - - -
-
-
- -
@@ -386,11 +390,11 @@ valueNames: [ 'name', 'keywords', 'summary', 'help-block'] }; - var userList = new List('setting-list', options); + var settingList = new List('setting-list', options); $("#searchclear").click(function(){ $("#searchinput").val(''); - userList.search(); + settingList.search(); }); From ce2362459cede2e644e83dc93b33619f22158f7c Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 23 Jun 2022 19:30:52 -0700 Subject: [PATCH 2/2] Layout tweak for search and back placement Signed-off-by: snipe --- resources/views/settings/index.blade.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 0f6050d21..d2817ae04 100755 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -8,17 +8,25 @@ @section('header_right') - {{ trans('general.back') }} +
+ +
+ {{ trans('general.back') }} +
+ + + +
@stop