diff --git a/skolehjem/resources/views/app/events/index.blade.php b/skolehjem/resources/views/app/events/index.blade.php index cfce9a2..eb866e7 100644 --- a/skolehjem/resources/views/app/events/index.blade.php +++ b/skolehjem/resources/views/app/events/index.blade.php @@ -14,21 +14,15 @@ width: auto; heigt: auto; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); - } - div.header { - background-color: #00788a; - color: white; - padding: 8px; - font-size: 10px; - text-align: center; + border-radius: 10px; } div.container { padding: 8px; text-align: justify; line-height: 1.5; } - ol { - padding-right: 8px; + .header > img { + border-radius: 10px 10px 0px 0px } /*Alert box*/ .alert { @@ -81,23 +75,14 @@ @foreach($events as $event)
@if($event->resource_id !== null) -
-

{{ $event->name }}

-

{{__('msg.af')}}: {{ $event->accountable }}

-

{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }}

-
- @else
-

{{ $event->name }}

-

Af: {{ $event->accountable }}

-

{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }}

+
@endif
- {!! \App\Helpers::closetags(substr($event->description, 0, 300) )!!} - - {!! session()->get('error#' . $event->id) !!} - {!! session()->get('signup#' . $event->id) !!} +

{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }}

+

{{ $event->name }}

+

{{__('msg.af')}}: {{ $event->accountable }}

@if (count(\App\UserEvent::query()->where('event_id', '=', $event->id)->where('user_id', '=', Auth::user()->id)->get()) > 0) {{__('msg.afmeld')}} diff --git a/skolehjem/resources/views/app/news/index.blade.php b/skolehjem/resources/views/app/news/index.blade.php index f4f162e..9ddd4ed 100644 --- a/skolehjem/resources/views/app/news/index.blade.php +++ b/skolehjem/resources/views/app/news/index.blade.php @@ -120,7 +120,7 @@ -
+