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