v0.10.14a - small css fix on event
This commit is contained in:
parent
e60c386b0e
commit
5ebb8bc5a2
skolehjem/app/Http/Controllers
|
@ -241,11 +241,11 @@ class EventController extends Controller
|
|||
public function search(Request $request){
|
||||
if($request->ajax()){
|
||||
$output = "<tr>".
|
||||
"<th>Event Navn</th>".
|
||||
"<th>Event Ansvarlig</th>".
|
||||
"<th>Event Dato</th>".
|
||||
"<th>Aktivitet Navn</th>".
|
||||
"<th>Aktivitet Ansvarlig</th>".
|
||||
"<th>Aktivitet Dato</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=".asset('/images/icons/trashcan-dark.svg')." alt=\"Update\"></th>".
|
||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/pencil.svg')." alt=\"Update\"></th>".
|
||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||
"</tr>";
|
||||
$events = DB::table('events')->orderBY('date' , 'asc')->where('name', 'LIKE',$request->search.'%')
|
||||
|
|
Loading…
Reference in New Issue