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)">
|
|
|
|
<table class="tbl" style="margin: 2rem 8px 0px 8px; 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>
|
|
|
|
<th style="text-align: center;">{{ __('msg.tilmeldtesnavn') }}</th>
|
|
|
|
</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-08-14 05:36:42 +00:00
|
|
|
<button onclick="document.location = document.referrer;" style="margin-top: auto; margin-bottom: 8px;" class="btn btn-sde-blue text-white">{{ __('msg.tilbage') }}</button>
|
2020-08-07 11:31:09 +00:00
|
|
|
</main>
|
|
|
|
@endsection
|