From abcc484e7c86f98d13cbc581e0448218d5bf3c57 Mon Sep 17 00:00:00 2001 From: Neerholt Date: Mon, 24 Aug 2020 14:09:03 +0200 Subject: [PATCH] v0.10.14d - No can now see the users images on user admin --- .../Http/Controllers/ContactController.php | 2 +- .../app/Http/Controllers/RolesController.php | 2 +- .../app/Http/Controllers/UserController.php | 2 +- skolehjem/public/css/admin.css | 8 ---- skolehjem/public/css/webapp.css | 16 +++---- skolehjem/public/css/webappdark.css | 16 +++---- skolehjem/resources/sass/app/app.scss | 6 --- skolehjem/resources/sass/webapp/_default.scss | 6 +++ .../views/admin/users/index.blade.php | 46 +++++++++++++++++++ 9 files changed, 71 insertions(+), 33 deletions(-) diff --git a/skolehjem/app/Http/Controllers/ContactController.php b/skolehjem/app/Http/Controllers/ContactController.php index b0bb6bc..eeb0046 100644 --- a/skolehjem/app/Http/Controllers/ContactController.php +++ b/skolehjem/app/Http/Controllers/ContactController.php @@ -145,7 +145,7 @@ class ContactController extends Controller "Titel". "E-mail". "Tlf". - "\"Update\"". + "\"Update\"". "\"Delete\"". ""; diff --git a/skolehjem/app/Http/Controllers/RolesController.php b/skolehjem/app/Http/Controllers/RolesController.php index 79262d7..83b4143 100644 --- a/skolehjem/app/Http/Controllers/RolesController.php +++ b/skolehjem/app/Http/Controllers/RolesController.php @@ -140,7 +140,7 @@ class rolesController extends Controller $output = "". "Navn". "Beskrivelse". - "\"Update\"". + "\"Update\"". "\"Delete\"". ""; $roles = DB::table('roles')->where('name', 'LIKE',$request->search.'%')->get(); diff --git a/skolehjem/app/Http/Controllers/UserController.php b/skolehjem/app/Http/Controllers/UserController.php index 6d73690..28bf856 100644 --- a/skolehjem/app/Http/Controllers/UserController.php +++ b/skolehjem/app/Http/Controllers/UserController.php @@ -414,7 +414,7 @@ class UserController extends Controller "Email". "Tlf nr". "Rolle(r)". - "\"Update\"". + "\"Update\"". "\"Delete\"". ""; diff --git a/skolehjem/public/css/admin.css b/skolehjem/public/css/admin.css index ad1d5e4..ee7f16d 100644 --- a/skolehjem/public/css/admin.css +++ b/skolehjem/public/css/admin.css @@ -18,14 +18,6 @@ font-weight: 700; } -* { - word-break: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - overflow-x: hidden; -} - form { max-width: 100%; padding: 0 0.45rem 0 0.45rem; diff --git a/skolehjem/public/css/webapp.css b/skolehjem/public/css/webapp.css index 16e3f6c..2caf886 100644 --- a/skolehjem/public/css/webapp.css +++ b/skolehjem/public/css/webapp.css @@ -18,14 +18,6 @@ font-weight: 700; } -* { - word-break: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - overflow-x: hidden; -} - form { max-width: 100%; padding: 0 0.45rem 0 0.45rem; @@ -7071,6 +7063,14 @@ main { bottom: 30px; } +* { + word-break: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + overflow-x: hidden; +} + #snackbar.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; diff --git a/skolehjem/public/css/webappdark.css b/skolehjem/public/css/webappdark.css index dab00f9..1ea8777 100644 --- a/skolehjem/public/css/webappdark.css +++ b/skolehjem/public/css/webappdark.css @@ -18,14 +18,6 @@ font-weight: 700; } -* { - word-break: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - overflow-x: hidden; -} - form { max-width: 100%; padding: 0 0.45rem 0 0.45rem; @@ -7071,6 +7063,14 @@ main { bottom: 30px; } +* { + word-break: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + overflow-x: hidden; +} + #snackbar.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; diff --git a/skolehjem/resources/sass/app/app.scss b/skolehjem/resources/sass/app/app.scss index a2d2ea3..077d616 100644 --- a/skolehjem/resources/sass/app/app.scss +++ b/skolehjem/resources/sass/app/app.scss @@ -15,12 +15,6 @@ font-weight: 700; } -* { - word-break: break-word; - hyphens: auto; - overflow-x: hidden; -} - // Variables @import 'variables'; diff --git a/skolehjem/resources/sass/webapp/_default.scss b/skolehjem/resources/sass/webapp/_default.scss index 4a33da4..f197552 100644 --- a/skolehjem/resources/sass/webapp/_default.scss +++ b/skolehjem/resources/sass/webapp/_default.scss @@ -524,6 +524,12 @@ $primary-color: $blue; bottom: 30px; } +* { + word-break: break-word; + hyphens: auto; + overflow-x: hidden; +} + #snackbar.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; diff --git a/skolehjem/resources/views/admin/users/index.blade.php b/skolehjem/resources/views/admin/users/index.blade.php index 16db481..acb160e 100644 --- a/skolehjem/resources/views/admin/users/index.blade.php +++ b/skolehjem/resources/views/admin/users/index.blade.php @@ -10,6 +10,46 @@ @endsection @section("content") + + + +
CreateOpret Bruger @@ -42,6 +82,7 @@ Email Tlf nr Rolle(r) + ShowImage Update Delete @@ -61,6 +102,11 @@ @endif @endfor + @if($user->resource_id !== null) + + @else + + @endif $user->id ]) }}">Update
$user ]) }}" class="w-100 nostyle"> @csrf