v0.10.13b - Fixed images error after you had searched
This commit is contained in:
parent
7719b4b77b
commit
c2ddfcf346
skolehjem/app/Http/Controllers
|
@ -145,8 +145,8 @@ class ContactController extends Controller
|
||||||
"<th>Titel</th>".
|
"<th>Titel</th>".
|
||||||
"<th>E-mail</th>".
|
"<th>E-mail</th>".
|
||||||
"<th>Tlf</th>".
|
"<th>Tlf</th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/pencil.svg\" alt=\"Update\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan-dark.svg')." alt=\"Update\"></th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||||
"</tr>";
|
"</tr>";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -244,9 +244,9 @@ class EventController extends Controller
|
||||||
"<th>Event Navn</th>".
|
"<th>Event Navn</th>".
|
||||||
"<th>Event Ansvarlig</th>".
|
"<th>Event Ansvarlig</th>".
|
||||||
"<th>Event Dato</th>".
|
"<th>Event Dato</th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/eye.svg\" alt=\"Update\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/eye.svg')." alt=\"see\"></th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/pencil.svg\" alt=\"Update\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan-dark.svg')." alt=\"Update\"></th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||||
"</tr>";
|
"</tr>";
|
||||||
$events = DB::table('events')->orderBY('date' , 'asc')->where('name', 'LIKE',$request->search.'%')
|
$events = DB::table('events')->orderBY('date' , 'asc')->where('name', 'LIKE',$request->search.'%')
|
||||||
->orWhere('date','LIKE', $request->search.'%')
|
->orWhere('date','LIKE', $request->search.'%')
|
||||||
|
|
|
@ -174,8 +174,8 @@ class LocationController extends Controller
|
||||||
$output = "<tr>".
|
$output = "<tr>".
|
||||||
"<th>Navn</th>".
|
"<th>Navn</th>".
|
||||||
"<th>Lokation</th>".
|
"<th>Lokation</th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/pencil.svg\" alt=\"Update\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan-dark.svg')." alt=\"Update\"></th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||||
"</tr>";
|
"</tr>";
|
||||||
|
|
||||||
if($request->option !== 'all') {
|
if($request->option !== 'all') {
|
||||||
|
|
|
@ -140,8 +140,8 @@ class rolesController extends Controller
|
||||||
$output = "<tr>".
|
$output = "<tr>".
|
||||||
"<th>Navn</th>".
|
"<th>Navn</th>".
|
||||||
"<th>Beskrivelse</th>".
|
"<th>Beskrivelse</th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/pencil.svg\" alt=\"Update\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan-dark.svg')." alt=\"Update\"></th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||||
"</tr>";
|
"</tr>";
|
||||||
$roles = DB::table('roles')->where('name', 'LIKE',$request->search.'%')->get();
|
$roles = DB::table('roles')->where('name', 'LIKE',$request->search.'%')->get();
|
||||||
|
|
||||||
|
|
|
@ -414,8 +414,8 @@ class UserController extends Controller
|
||||||
"<th>Email</th>".
|
"<th>Email</th>".
|
||||||
"<th>Tlf nr</th>".
|
"<th>Tlf nr</th>".
|
||||||
"<th>Rolle(r)</th>".
|
"<th>Rolle(r)</th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/pencil.svg\" alt=\"Update\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan-dark.svg')." alt=\"Update\"></th>".
|
||||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||||
"</tr>";
|
"</tr>";
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue