diff --git a/skolehjem/public/css/admin.css b/skolehjem/public/css/admin.css index 366494f..67294f5 100644 --- a/skolehjem/public/css/admin.css +++ b/skolehjem/public/css/admin.css @@ -474,6 +474,16 @@ a { display: block !important; } +.nostyle { + margin: 0 !important; + padding: 0 !important; + border: 0 !important; + outline: 0 !important; + font-size: 100% !important; + vertical-align: baseline !important; + background: transparent !important; +} + /*! * Font Awesome Free 5.13.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) diff --git a/skolehjem/public/css/webapp.css b/skolehjem/public/css/webapp.css index 9ce5e9d..4e077df 100644 --- a/skolehjem/public/css/webapp.css +++ b/skolehjem/public/css/webapp.css @@ -474,6 +474,16 @@ a { display: block !important; } +.nostyle { + margin: 0 !important; + padding: 0 !important; + border: 0 !important; + outline: 0 !important; + font-size: 100% !important; + vertical-align: baseline !important; + background: transparent !important; +} + /*! * Font Awesome Free 5.13.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) diff --git a/skolehjem/resources/sass/app/general/_hide.scss b/skolehjem/resources/sass/app/general/_hide.scss index 9abbdf7..57c36e4 100644 --- a/skolehjem/resources/sass/app/general/_hide.scss +++ b/skolehjem/resources/sass/app/general/_hide.scss @@ -1,3 +1,13 @@ .hide { display: block !important; } + +.nostyle { + margin: 0 !important; + padding: 0 !important; + border: 0 !important; + outline: 0 !important; + font-size: 100% !important; + vertical-align: baseline !important; + background: transparent !important; +} diff --git a/skolehjem/resources/views/admin/contacts/index.blade.php b/skolehjem/resources/views/admin/contacts/index.blade.php index 36b034a..f990b7a 100644 --- a/skolehjem/resources/views/admin/contacts/index.blade.php +++ b/skolehjem/resources/views/admin/contacts/index.blade.php @@ -26,7 +26,13 @@ {{ $contact->email }} {{ $contact->phone }} $contact ]) }}">Update - $contact ]) }}">Delete +
$contact ]) }}" class="w-100 nostyle"> + @csrf + @method("delete") + + +
+ @endforeach diff --git a/skolehjem/resources/views/admin/events/index.blade.php b/skolehjem/resources/views/admin/events/index.blade.php index f9a4753..8a6c273 100644 --- a/skolehjem/resources/views/admin/events/index.blade.php +++ b/skolehjem/resources/views/admin/events/index.blade.php @@ -24,12 +24,13 @@ {{ $event->description }} {{ $event->date }} $event ]) }}">Update -
$event ]) }}" class="w-100"> + $event ]) }}" class="w-100 nostyle"> @csrf @method("delete") - -
+ + + @endforeach diff --git a/skolehjem/resources/views/admin/external-links/index.blade.php b/skolehjem/resources/views/admin/external-links/index.blade.php index 413a55f..88be850 100644 --- a/skolehjem/resources/views/admin/external-links/index.blade.php +++ b/skolehjem/resources/views/admin/external-links/index.blade.php @@ -22,12 +22,13 @@ {{$link->name}} {{$link->link}} $link ]) }}">Update -
$link ]) }}" class="w-100"> + $link ]) }}" class="w-100 nostyle"> @csrf @method("delete") - -
+ + + @endforeach diff --git a/skolehjem/resources/views/admin/menuplans/index.blade.php b/skolehjem/resources/views/admin/menuplans/index.blade.php index 5acdd7c..1ddbfbb 100644 --- a/skolehjem/resources/views/admin/menuplans/index.blade.php +++ b/skolehjem/resources/views/admin/menuplans/index.blade.php @@ -26,7 +26,13 @@ {{$menuplan->wednesday}} {{$menuplan->thursday}} $menuplan ]) }}">Update - $menuplan ]) }}">Delete +
$menuplan ]) }}" class="w-100 nostyle"> + @csrf + @method("delete") + + +
+ @endforeach diff --git a/skolehjem/resources/views/admin/staff/index.blade.php b/skolehjem/resources/views/admin/staff/index.blade.php index f7a55b3..52c333d 100644 --- a/skolehjem/resources/views/admin/staff/index.blade.php +++ b/skolehjem/resources/views/admin/staff/index.blade.php @@ -21,12 +21,18 @@ @foreach($staffs as $staff) - {{ $staff->name_first }} - {{ $staff->name_last }} - {{ $staff->email }} - {{ $staff->phone }} - $staff->id ]) }}">Update - $staff->id ]) }}">Delete + {{ $staff->name_first }} + {{ $staff->name_last }} + {{ $staff->email }} + {{ $staff->phone }} + $staff->id ]) }}">Update +
$staff->id ]) }}" class="w-100 nostyle"> + @csrf + @method("delete") + + +
+ @endforeach diff --git a/skolehjem/resources/views/admin/users/index.blade.php b/skolehjem/resources/views/admin/users/index.blade.php index 7aae5c8..d40a09c 100644 --- a/skolehjem/resources/views/admin/users/index.blade.php +++ b/skolehjem/resources/views/admin/users/index.blade.php @@ -28,7 +28,13 @@ {{ $user->phone }} {{ $user->roles }} $user->id ]) }}">Update - $user ]) }}">Delete +
$user ]) }}" class="w-100 nostyle"> + @csrf + @method("delete") + + +
+ @endforeach diff --git a/skolehjem/resources/views/admin/washing-reservations/index.blade.php b/skolehjem/resources/views/admin/washing-reservations/index.blade.php index 2d204c0..7818ca2 100644 --- a/skolehjem/resources/views/admin/washing-reservations/index.blade.php +++ b/skolehjem/resources/views/admin/washing-reservations/index.blade.php @@ -21,12 +21,18 @@ @foreach($reservations as $reservation) - {Fornavn} - {Efternavn} - {Tlf Nr} - {Vaskemaskine Nr.} - Update - Delete + {Fornavn} + {Efternavn} + {Tlf Nr} + {Vaskemaskine Nr.} + Update +
+ @csrf + @method("delete") + + +
+ @endforeach