Ekapp/skolehjem/resources/views/app/events/show.blade.php

36 lines
987 B
PHP
Raw Normal View History

2020-08-10 08:16:05 +00:00
@extends("app.layout.base")
@section("title")
Event
@endsection
@section("content")
<style>
iframe, .ql-video {
width: 100%;
}
2020-08-10 08:16:05 +00:00
h2, h3, h4 {
margin-top: 0;
}
</style>
<main>
2020-08-11 11:16:54 +00:00
<h1 style="margin-bottom: 2rem" class="text-center sde-blue mt-0">{{__('msg.aktiviteter')}}</h1>
2020-08-10 08:16:05 +00:00
<div style="padding: 4px; margin-top: .25rem; text-align: justify; ">
<h2 class="text-center sde-blue mt-0 mb-1">{{ $event->name }}</h2>
<p class="text-center mt-0">{{__('msg.af')}}: {{ $event->accountable }}</p>
<p class="text-center mt-0">{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }}</p>
2020-08-10 08:16:05 +00:00
{!!$event->description!!}
</div>
2020-08-11 10:54:28 +00:00
<button style="margin-top: auto" onclick="window.history.back()" class="btn btn-sde-blue text-white mb-1 mt-1" >{{__('msg.tilbage')}}</button>
2020-08-10 08:16:05 +00:00
</main>
@endsection