mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Update dashboard
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
<div class="card my-3">
|
||||
<div class="card-body">
|
||||
<h4>
|
||||
<strong>{{$course->ocom}} - {{$course->name}}</strong>
|
||||
@if($course->name != null)
|
||||
<strong>{{$course->ocom}} - {{$course->name}}</strong>
|
||||
@else
|
||||
<strong>{{$course->desc}}</strong>
|
||||
@endif
|
||||
@if($course->lessonPlan)
|
||||
@if($course->lessonPlan->approved == 1)
|
||||
<span class="float-right"><i class="fas fa-check-circle text-success" data-toggle="tooltip" data-placement="top" title="Plan de cours remis et vérifié"></i></span>
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
<div class="col-md-5">
|
||||
<div class="form-group">
|
||||
<label class="label-control">Nom</label>
|
||||
<input type="text" class="form-control" name="name" />
|
||||
<input type="text" class="form-control" name="name" required/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<div class="form-group">
|
||||
<label class="label-control">Emplacement</label>
|
||||
<input type="text" class="form-control" name="location" />
|
||||
<input type="text" class="form-control" name="location" required/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
@@ -35,20 +35,20 @@
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label class="label-control">Heure de début</label>
|
||||
<input name="begin_time" type="time" class="form-control"/>
|
||||
<input name="begin_time" type="time" class="form-control" required/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label class="label-control">Heure de fin</label>
|
||||
<input name="end_time" type="time" class="form-control"/>
|
||||
<input name="end_time" type="time" class="form-control" required/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group iconpicker-container">
|
||||
<label for="type">Icone</label>
|
||||
<div class="input-group iconpicker-container">
|
||||
<input id="calendar_icon" name="calendar_icon" data-placement="bottomRight" class="form-control icp icp-auto iconpicker-element iconpicker-input" type="text">
|
||||
<input id="calendar_icon" name="calendar_icon" data-placement="bottomRight" class="form-control icp icp-auto iconpicker-element iconpicker-input" type="text" required>
|
||||
<span class="input-group-addon"><i id="calendar_icon_display" class="fas fa-assistive-listening-systems"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -57,7 +57,7 @@
|
||||
<div class="form-group">
|
||||
<label for="type">Couleur</label>
|
||||
<div class="input-group iconpicker-container">
|
||||
<input class="form-control" type="text" name="calendar_color" id="calendar_color" onclick="pickr.show()">
|
||||
<input class="form-control" type="text" name="calendar_color" id="calendar_color" onclick="pickr.show()" required>
|
||||
<span class="color-picker"></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -94,11 +94,6 @@
|
||||
<option value="-2weeks">-2 Semaines</option>
|
||||
</select>
|
||||
</div>
|
||||
<label class="mb-0 mt-4">Message par défaut</label>
|
||||
<div class="form-group mt-0">
|
||||
<textarea name="weekly_msg" class="form-control richeditor" name="admin_desc" id="admin_desc" rows="6">
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
@@ -35,12 +35,12 @@ $sidebar = [
|
||||
'perm' => 'course_see_all',
|
||||
'child' => null
|
||||
],
|
||||
'Fichier' => [
|
||||
'route' => 'admin.instruction.files',
|
||||
'icon' => 'fas fa-folder',
|
||||
'perm' => null,
|
||||
'child' => null
|
||||
],
|
||||
//'Fichier' => [
|
||||
// 'route' => 'admin.instruction.files',
|
||||
// 'icon' => 'fas fa-folder',
|
||||
// 'perm' => null,
|
||||
// 'child' => null
|
||||
//],
|
||||
'Statistiques' => [
|
||||
'route' => 'admin.stats.instruction',
|
||||
'icon' => 'fas fa-chart-line',
|
||||
@@ -54,30 +54,30 @@ $sidebar = [
|
||||
'icon' => 'recent_actors',
|
||||
'perm' => null,
|
||||
'child' => [
|
||||
'Articles' => [
|
||||
'route' => 'admin.article',
|
||||
'icon' => 'fas fa-newspaper',
|
||||
'perm' => 'article_see',
|
||||
'child' => null
|
||||
],
|
||||
'Images' => [
|
||||
'route' => 'admin.picture',
|
||||
'icon' => 'fas fa-images',
|
||||
'perm' => 'picture_see',
|
||||
'child' => null
|
||||
],
|
||||
//'Articles' => [
|
||||
// 'route' => 'admin.article',
|
||||
// 'icon' => 'fas fa-newspaper',
|
||||
// 'perm' => 'article_see',
|
||||
// 'child' => null
|
||||
//],
|
||||
//'Images' => [
|
||||
// 'route' => 'admin.picture',
|
||||
// 'icon' => 'fas fa-images',
|
||||
// 'perm' => 'picture_see',
|
||||
// 'child' => null
|
||||
//],
|
||||
'Utilisateurs' => [
|
||||
'route' => 'admin.users',
|
||||
'icon' => 'fas fa-users',
|
||||
'perm' => 'user_see',
|
||||
'child' => null
|
||||
],
|
||||
'Liste nominative' => [
|
||||
'route' => 'admin.users',
|
||||
'icon' => 'fas fa-address-book',
|
||||
'perm' => 'cadet_list_see',
|
||||
'child' => null
|
||||
],
|
||||
//'Liste nominative' => [
|
||||
// 'route' => 'admin.users',
|
||||
// 'icon' => 'fas fa-address-book',
|
||||
// 'perm' => 'cadet_list_see',
|
||||
// 'child' => null
|
||||
//],
|
||||
'Logs' => [
|
||||
'route' => 'admin.stats.log',
|
||||
'icon' => 'fas fa-stream',
|
||||
@@ -86,12 +86,12 @@ $sidebar = [
|
||||
],
|
||||
]
|
||||
],
|
||||
'Fichiers' => [
|
||||
'route' => null,
|
||||
'icon' => 'folder',
|
||||
'perm' => 'file_see',
|
||||
'child' => \App\GoogleDriveFile::getSidebarFile(),
|
||||
],
|
||||
//'Fichiers' => [
|
||||
// 'route' => null,
|
||||
// 'icon' => 'folder',
|
||||
// 'perm' => 'file_see',
|
||||
// 'child' => \App\GoogleDriveFile::getSidebarFile(),
|
||||
//],
|
||||
'Configuration' => [
|
||||
'route' => null,
|
||||
'icon' => 'menu_book',
|
||||
@@ -127,12 +127,12 @@ $sidebar = [
|
||||
'perm' => 'config_edit_job',
|
||||
'child' => null
|
||||
],
|
||||
'Fichier' => [
|
||||
'route' => 'admin.config.files',
|
||||
'icon' => 'fas fa-folder',
|
||||
'perm' => 'config_edit_files',
|
||||
'child' => null
|
||||
],
|
||||
//'Fichier' => [
|
||||
// 'route' => 'admin.config.files',
|
||||
// 'icon' => 'fas fa-folder',
|
||||
// 'perm' => 'config_edit_files',
|
||||
// 'child' => null
|
||||
//],
|
||||
'Apparence' => [
|
||||
'route' => 'admin.config.customisation',
|
||||
'icon' => 'fas fa-palette',
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
@if(\Auth::user()->p('schedule_edit') == 1)
|
||||
<a class="btn btn-primary btn-fab btn-fab-mini btn-round" href="/admin/schedule/edit/{{$event->id}}" data-toggle="tooltip" data-placement="bottom" title="Modifier"><i class="material-icons">edit</i></a>
|
||||
@endif
|
||||
<a class="btn btn-primary btn-fab btn-fab-mini btn-round" href="/admin/schedule/pdf/event/{{$event->id}}" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Imprimer"><i class="material-icons">print</i></a>
|
||||
{{-- <a class="btn btn-primary btn-fab btn-fab-mini btn-round" href="/admin/schedule/pdf/event/{{$event->id}}" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Imprimer"><i class="material-icons">print</i></a>--}}
|
||||
@if(\Auth::user()->p('schedule_delete') == 1)
|
||||
<button class="btn btn-danger btn-fab btn-fab-mini btn-round" data-toggle="tooltip" data-placement="bottom" title="Supprimer" onclick="deleteEvent({{$event->id}})"><i class="material-icons">close</i></button>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user