diff --git a/public/css/fixes.css b/public/css/fixes.css index 31931f0..d701eef 100644 --- a/public/css/fixes.css +++ b/public/css/fixes.css @@ -23,6 +23,18 @@ select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__ font-size: 90%; } +/* SimpleMDE Toolbar fixes */ +.editor-toolbar { + background-color: #fff; + color: #000; + opacity: 1; +} + +div.CodeMirror-wrap.form-control.is-invalid { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + /* Bootstrap 5 fixes */ /* select import, round the right side */ .input-group .form-select { diff --git a/resources/views/components/form/notes.blade.php b/resources/views/components/form/notes.blade.php new file mode 100644 index 0000000..0230323 --- /dev/null +++ b/resources/views/components/form/notes.blade.php @@ -0,0 +1,44 @@ +
+ @if(isset($label)) + + @endisset +
+ @if(isset($icon) || isset($prepend)) +
+ @isset($icon)@endisset @isset($prepend){!! $prepend !!}@endisset +
+ @endif +
+ + + @error($old ?? $name) + {{ $message }} + @elseif(isset($feedback)) + {{ $feedback }} + @enderror + +
+
+ @isset($helper) + {{ $helper }} + @endif +
+ +@if(isset($simplemde) && $simplemde) + @pa(simplemde) + + @section('page-scripts') + + @append +@endif \ No newline at end of file diff --git a/resources/views/domain/addedit.blade.php b/resources/views/domain/addedit.blade.php index 5aa2e26..f17af36 100644 --- a/resources/views/domain/addedit.blade.php +++ b/resources/views/domain/addedit.blade.php @@ -1,4 +1,5 @@ +@use(Illuminate\Support\Facades\Gate) @use(App\Models\Echoarea) @extends('layouts.app') @@ -149,8 +150,7 @@
- - +
@@ -163,11 +163,8 @@

Home Page

-
- -
- -
+
+
@@ -183,12 +180,4 @@ -@endsection - -@pa(simplemde) - -@section('page-scripts') - -@append \ No newline at end of file +@endsection \ No newline at end of file diff --git a/resources/views/echoarea/addedit.blade.php b/resources/views/echoarea/addedit.blade.php index 95e8368..26b6f0c 100644 --- a/resources/views/echoarea/addedit.blade.php +++ b/resources/views/echoarea/addedit.blade.php @@ -127,19 +127,18 @@ @can('admin',$o) -
-
- - +
+
+ +
-
-
-
- Cancel - +
+
+ Cancel + +
-
@endcan
diff --git a/resources/views/filearea/addedit.blade.php b/resources/views/filearea/addedit.blade.php index c5896c4..fae822d 100644 --- a/resources/views/filearea/addedit.blade.php +++ b/resources/views/filearea/addedit.blade.php @@ -128,19 +128,18 @@ @can('admin',$o) -
-
- - +
+
+ +
-
-
-
- Cancel - +
+
+ Cancel + +
-
@endcan
diff --git a/resources/views/system/areafix.blade.php b/resources/views/system/areafix.blade.php index 7347b20..3684e5e 100644 --- a/resources/views/system/areafix.blade.php +++ b/resources/views/system/areafix.blade.php @@ -19,11 +19,11 @@ @csrf
-
+
-
+
@@ -53,15 +53,7 @@
- - - - @error('msg') - {{ $message }} - @else - Area/filefix commands are required - @enderror - +
diff --git a/resources/views/system/widget/system.blade.php b/resources/views/system/widget/system.blade.php index fe27f87..2b25ce7 100644 --- a/resources/views/system/widget/system.blade.php +++ b/resources/views/system/widget/system.blade.php @@ -403,8 +403,7 @@
- - +
@endcan diff --git a/resources/views/user/addedit.blade.php b/resources/views/user/addedit.blade.php index b8f95b8..5a6a338 100644 --- a/resources/views/user/addedit.blade.php +++ b/resources/views/user/addedit.blade.php @@ -1,4 +1,6 @@ +@use(Illuminate\Support\Facades\Gate) + @extends('layouts.app') @section('htmlheader_title') @@ -133,13 +135,7 @@
- - - - @error('pgp_pubkey') - {{ $message }} - @enderror - +
diff --git a/resources/views/zone/addedit.blade.php b/resources/views/zone/addedit.blade.php index c937793..bf0910f 100644 --- a/resources/views/zone/addedit.blade.php +++ b/resources/views/zone/addedit.blade.php @@ -138,8 +138,7 @@
- - +