v1.4.8k Fixed overflow hidden. forgot password and signup now works on pc
This commit is contained in:
@@ -59,14 +59,19 @@
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.fixOverflow{
|
||||
overflow: hidden !important;
|
||||
|
||||
.dot {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
background-color: #bbb;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<div class="card">
|
||||
<div class="card fixOverflow">
|
||||
<div class="head letterSpaceNotTable" style="background-color: #575756;">
|
||||
<div>
|
||||
<img style="width: 4rem;" src="{{ asset("/images/icons/users-hvid.svg") }}" alt="">
|
||||
@@ -80,13 +85,13 @@
|
||||
</tr>
|
||||
@for($i = 0; $i < 10 && $i < count(\App\User::query()->orderByDesc("id")->get()); $i++)
|
||||
<tr class="letterSpaceTable">
|
||||
<td>{!! \App\Helpers::closetags(substr(ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_first)), 0, 24) ) . ' ' . \App\Helpers::closetags(substr(ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_last)), 0, 23) ) !!}</td>
|
||||
<td>{!! (ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_first))) . ' ' . \App\Helpers::closetags(substr(ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_last)), 0, 23) ) !!}</td>
|
||||
</tr>
|
||||
@endfor
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card fixOverflow">
|
||||
<div class="head letterSpaceNotTable" style="background-color: #6796b0;">
|
||||
<div>
|
||||
<img style="margin-top: 8px;width: 3rem;" src="{{ asset("/images/icons/Aktiviteter.svg") }}" alt="">
|
||||
@@ -109,25 +114,20 @@
|
||||
<div class="header" style="padding-top: 0">
|
||||
<table class="tbl mt-0 letterSpaceTable">
|
||||
<tr>
|
||||
<td><label>Aktivitet navn</label></td>
|
||||
|
||||
<td>{!! \App\Helpers::closetags(substr(\App\Event::query()->orderBy("date", "asc")->first()->name, 0, 15)) !!}</td>
|
||||
<td><label>Aktivitets navn <span class="dot"></span> {!! (\App\Event::query()->orderBy("date", "asc")->first()->name) !!}</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label>Aktivitet ansvarlig</label></td>
|
||||
|
||||
<td>Af: {!! \App\Helpers::closetags(substr(\App\Event::query()->orderBy("date", "asc")->first()->accountable, 0, 15) ) !!}</td>
|
||||
<td><label>Aktivitets ansvarlig <span class="dot"></span> {!! (\App\Event::query()->orderBy("date", "asc")->first()->accountable) !!}</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label>Tidspunkt</label></td>
|
||||
<td>{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime(\App\Event::query()->orderBy("date", "asc")->first()->date))->format('d/m/Y \k\l\. H:i') }}</td>
|
||||
<td><label>Tidspunkt <span class="dot"></span> {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime(\App\Event::query()->orderBy("date", "asc")->first()->date))->format('d/m/Y \k\l\. H:i') }}</label></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="container letterSpaceTable" style="margin-top: 8px;">
|
||||
<table style="border: 1px solid lightgrey; width: 100%;">
|
||||
<tr>
|
||||
<td> {!! \App\Helpers::closetags(substr(\App\Event::query()->orderBy("date", "asc")->first()->description, 0, 300) )!!}</td>
|
||||
<td> {!!(\App\Event::query()->orderBy("date", "asc")->first()->description)!!}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="event_id" value="{{ \App\Event::query()->orderBy("date", "asc")->first()->id }}">
|
||||
@@ -139,7 +139,7 @@
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card fixOverflow">
|
||||
<div class="head letterSpaceNotTable" style="background-color: #152f4b;">
|
||||
<div>
|
||||
<img style="width: 4rem;" src="{{ asset("/images/icons/Vejledninger.svg") }}" alt="">
|
||||
@@ -165,7 +165,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card fixOverflow">
|
||||
<div class="head" style="background-color: #01788a; letter-spacing: 2px;">
|
||||
<div>
|
||||
<img style="width: 4rem;" src="{{ asset("/images/icons/Menuplan.svg") }}" alt="">
|
||||
@@ -181,23 +181,22 @@
|
||||
{{-- \App\MenuPlan::query()->where("week", "=", date('W'))->first() --}}
|
||||
<tr>
|
||||
<td class="letterSpaceTable"><label>Mandag </label></td>
|
||||
\App\Helpers::closetags(substr(\App\MenuPlan::query()->where("week", "=", date('W'))->first()->thursday, 0, 45) )
|
||||
<td class="letterSpaceTable">{!! \App\Helpers::closetags(substr(\App\MenuPlan::query()->where("week", "=", date('W'))->first()->monday, 0, 45) ) !!}</td>
|
||||
<td class="letterSpaceTable">{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->monday) !!}</td>
|
||||
</tr>
|
||||
<td class="letterSpaceTable"><label>Tirsdag</label></td>
|
||||
<td class="letterSpaceTable">{!! \App\Helpers::closetags(substr(\App\MenuPlan::query()->where("week", "=", date('W'))->first()->tuesday, 0, 45) ) !!}</td>
|
||||
<td class="letterSpaceTable">{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->tuesday) !!}</td>
|
||||
</tr>
|
||||
<td class="letterSpaceTable"><label>Onsdag</label></td>
|
||||
<td class="letterSpaceTable">{!! \App\Helpers::closetags(substr(\App\MenuPlan::query()->where("week", "=", date('W'))->first()->wednesday, 0, 45) ) !!}</td>
|
||||
<td class="letterSpaceTable">{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->wednesday) !!}</td>
|
||||
</tr>
|
||||
<td class="letterSpaceTable"><label>Torsdag</label></td>
|
||||
<td class="letterSpaceTable">{!! \App\Helpers::closetags(substr(\App\MenuPlan::query()->where("week", "=", date('W'))->first()->thursday, 0, 45) ) !!}</td>
|
||||
<td class="letterSpaceTable">{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->thursday) !!}</td>
|
||||
</tr>
|
||||
|
||||
<!--The code above is retarded, but it is what it is :) BigSmoke -->
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="2" class="text-center letterSpaceTable">Der er ingen menuplan for denne uge</td>
|
||||
<td colspan="2" class="text-center letterSpaceTable">Ingen menuplan</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user