2020-08-07 11:31:09 +00:00
|
|
|
@extends("app.layout.base")
|
|
|
|
|
|
|
|
@section("title")
|
|
|
|
Events - Tilmeldte
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
|
|
|
<style>
|
|
|
|
.tbl {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tbl td,
|
|
|
|
.tbl th {
|
2020-08-11 16:21:51 +00:00
|
|
|
@if(request()->cookie("mode") == "dark")
|
|
|
|
border: 0px solid #ddd;
|
|
|
|
@else
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
@endif
|
2020-08-07 11:31:09 +00:00
|
|
|
padding: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tbl tr:nth-child(even) {
|
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tbl tr:hover {
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tbl th {
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
text-align: left;
|
|
|
|
background-color: #00788a;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tbl > tbody > tr > td > a {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tbl > tbody > tr > td > a > img {
|
|
|
|
width: 1em;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<main style="min-height: calc(100% - 61.3px)">
|
2020-11-26 09:19:12 +00:00
|
|
|
<table class="tbl mt-2rem mr-1 mb-0 ml-1" style="width: calc(100% - 16px);">
|
2020-08-07 12:11:13 +00:00
|
|
|
@if(count($events) == 0)
|
|
|
|
<p class="text-center mt-2">{{__('msg.ingentilmeldte')}}</p>
|
|
|
|
@else
|
|
|
|
<tr>
|
2020-11-26 09:19:12 +00:00
|
|
|
<th class="text-center">{{ __('msg.tilmeldtesnavn') }}</th>
|
2020-08-07 12:11:13 +00:00
|
|
|
</tr>
|
|
|
|
@endif
|
2020-08-07 11:31:09 +00:00
|
|
|
@foreach($events as $UE)
|
|
|
|
@if ($UE->name_first != null && $UE->name_last != null && $UE->phone != null && $UE->event_id != null && $UE->user_id != null)
|
|
|
|
<tr>
|
|
|
|
<td>{{ $UE->name_first }} {{ $UE->name_last }}</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
</table>
|
2020-11-26 09:19:12 +00:00
|
|
|
<button onclick="document.location = document.referrer;" class="btn btn-sde-blue text-white mb-1 mt-auto">{{ __('msg.tilbage') }}</button>
|
2020-08-07 11:31:09 +00:00
|
|
|
</main>
|
|
|
|
@endsection
|