Edit Material Design Dashboard

This commit is contained in:
Mathieu Lagace
2019-08-15 19:48:41 -04:00
parent 9f85296cea
commit 1419032b64
22 changed files with 1203 additions and 5525 deletions

View File

@@ -112,11 +112,17 @@ class ScheduleController extends Controller
'title' => $schedule->data['event_name'],
'start' => $schedule->date.'T'.$schedule->data['event_begin_time'],
'end' => $schedule->date.'T'.$schedule->data['event_end_time'],
'color' => $color
'color' => $color,
'id' => $schedule->id
];
array_push($events,$event);
}
return json_encode($events);
}
public function loadModal($id)
{
return view('public.modal.schedule',['event' => \App\Schedule::find($id)]);
}
}

View File

@@ -208,7 +208,7 @@ class UserController extends Controller
$user->save();
return back()->with('status', 'Votre avatar a été mis à jour !');
return back()->with('success', 'Votre avatar a été mis à jour !');
}
public function UserAvatar()
@@ -229,7 +229,7 @@ class UserController extends Controller
$user->save();
return back()->with('status', 'Modification enregistré');
return back()->with('success', 'Modification enregistré');
}
public function UserAdress()
@@ -245,6 +245,6 @@ class UserController extends Controller
$user->save();
return back()->with('status', 'Modification enregistré');
return back()->with('success', 'Modification enregistré');
}
}