v0.10.0g - Fixed stuff :)
This commit is contained in:
parent
25f1dc80d4
commit
d4bc3f5520
|
@ -60,7 +60,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-white text-center" style="background-color: orange;">Nyeste brugere</th>
|
<th class="text-white text-center" style="background-color: orange;">Nyeste brugere</th>
|
||||||
</tr>
|
</tr>
|
||||||
@for($i = 0; $i < 5 && $i < count(\App\User::query()->orderByDesc("id")->get()); $i++)
|
@for($i = 0; $i < 10 && $i < count(\App\User::query()->orderByDesc("id")->get()); $i++)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_first)) . ' ' . ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_last)) }}</td>
|
<td>{{ ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_first)) . ' ' . ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_last)) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="container" style="margin-top: 8px;">
|
<div class="container" style="margin-top: 8px;">
|
||||||
<table style="border: 3px solid lightgrey">
|
<table style="border: 1px solid lightgrey">
|
||||||
<tr>
|
<tr>
|
||||||
<td> {!! \App\Helpers::closetags(substr(\App\Event::query()->orderByDesc("date")->first()->description, 0, 300) )!!}</td>
|
<td> {!! \App\Helpers::closetags(substr(\App\Event::query()->orderByDesc("date")->first()->description, 0, 300) )!!}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
<th class="text-white text-center" style="background-color: deepskyblue;">Seneste Vejledninger</th>
|
<th class="text-white text-center" style="background-color: deepskyblue;">Seneste Vejledninger</th>
|
||||||
</tr>
|
</tr>
|
||||||
@if(count(\App\Guide::all()) > 0)
|
@if(count(\App\Guide::all()) > 0)
|
||||||
@for($i = 0; $i < 5 && $i < count(\App\Guide::query()->orderByDesc("id")->get()); $i++)
|
@for($i = 0; $i < 10 && $i < count(\App\Guide::query()->orderByDesc("id")->get()); $i++)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ ucfirst(strtolower(\App\Guide::query()->orderByDesc("id")->get()[$i]->name)) }}</td>
|
<td>{{ ucfirst(strtolower(\App\Guide::query()->orderByDesc("id")->get()[$i]->name)) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
<table class="tbl mt-1">
|
<table class="tbl mt-1">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-white text-center" style="background-color: lightseagreen;">Ugens Menuplan</th>
|
<th class="text-white text-center" style="background-color: lightseagreen;">Ugens Menuplan</th>
|
||||||
<th class="text-white text-center" style="background-color: lightseagreen;"></th> <!--Mabye need some fix :) -->
|
<th class="text-white text-center" style="background-color: lightseagreen;"></th> <!--Maybe fix ?-->
|
||||||
</tr>
|
</tr>
|
||||||
@if(\App\MenuPlan::query()->where("week", "=", date('W'))->first() !== null)
|
@if(\App\MenuPlan::query()->where("week", "=", date('W'))->first() !== null)
|
||||||
{{-- \App\MenuPlan::query()->where("week", "=", date('W'))->first() --}}
|
{{-- \App\MenuPlan::query()->where("week", "=", date('W'))->first() --}}
|
||||||
|
|
Loading…
Reference in New Issue