mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Debut BD Cours
This commit is contained in:
75
resources/views/admin/ocom/index.blade.php
Normal file
75
resources/views/admin/ocom/index.blade.php
Normal file
@@ -0,0 +1,75 @@
|
||||
@extends('layouts.admin.main')
|
||||
|
||||
@section('content')
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header card-header-primary">
|
||||
<h4 class="card-title">Liste des cours</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="content">
|
||||
<p>Liste des cours dans la base de données</p>
|
||||
<table class="table table-striped table-no-bordered table-hover dataTable dtr-inline" id="table" style="width:100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 4.5rem">Status</th>
|
||||
<th style="width: 4.5rem">OREN</th>
|
||||
<th style="width: 4.5rem">OCOM</th>
|
||||
<th style="width: 7rem">Nb Periode</th>
|
||||
<th>Objectif de rendement</th>
|
||||
<th>Objectif de compétence</th>
|
||||
<th style="width: 6rem"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($ocoms as $ocom)
|
||||
<tr class="cursor" onclick="navigate({{$ocom->id}})">
|
||||
<td class="text-center">
|
||||
@if($ocom->course_id != "")
|
||||
<div data-toggle="tooltip" data-placement="right" title="Le cours a été donné">
|
||||
<i class="fas fa-check-circle fa-2x text-success"></i>
|
||||
</div>
|
||||
@else
|
||||
<div data-toggle="tooltip" data-placement="right" title="Le cours n'a jamais été donné">
|
||||
<i class="fas fa-times-circle fa-2x text-warning"></i>
|
||||
</div>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{$ocom->oren}}</td>
|
||||
<td>{{$ocom->ocom}}</td>
|
||||
<td>{{$ocom->nbPeriode}}</td>
|
||||
<td>{{$ocom->objectif_rendement}}</td>
|
||||
<td>{{$ocom->objectif_competence}}</td>
|
||||
<td>
|
||||
<button class="btn btn-primary btn-fab btn-fab-mini btn-round">
|
||||
<i class="material-icons">edit</i>
|
||||
</button>
|
||||
<button class="btn btn-danger btn-fab btn-fab-mini btn-round">
|
||||
<i class="material-icons">delete</i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('breadcrumb')
|
||||
<a class="navbar-brand">Base de données des cours</a>
|
||||
@endsection
|
||||
|
||||
@section('custom_scripts')
|
||||
<script>
|
||||
$('.tooltip').tooltip('enable')
|
||||
$(document).ready(function() {
|
||||
$('#table').DataTable({
|
||||
"lengthMenu": [[25, 50, -1], [25, 50, "All"]],
|
||||
"ordering" : true,
|
||||
});
|
||||
} );
|
||||
</script>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user