2023-11-23 08:47:00 +01:00
|
|
|
<?php echo template::formOpen('courseUsersAddForm'); ?>
|
2023-10-04 22:04:18 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('courseUserAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2023-11-21 19:42:46 +01:00
|
|
|
'href' => helper::baseUrl() . 'course/users/' . $this->getUrl(2),
|
2023-10-04 22:04:18 +02:00
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-02-10 19:23:18 +01:00
|
|
|
<div class="col1 offset8">
|
2023-11-25 15:10:10 +01:00
|
|
|
<?php echo template::button('courseUserAddSelectAll', [
|
2024-04-10 18:41:39 +02:00
|
|
|
'value' => template::ico('square-check'),
|
2024-02-10 19:23:18 +01:00
|
|
|
'help' => 'Tout sélectionner'
|
2023-11-25 15:10:10 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('courseUserAddSelectNone', [
|
2024-04-10 18:41:39 +02:00
|
|
|
'value' => template::ico('square-check-empty'),
|
2024-02-10 19:23:18 +01:00
|
|
|
'help' => 'Tout désélectionner'
|
2023-11-25 15:10:10 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2024-02-10 19:23:18 +01:00
|
|
|
<div class="col1">
|
2023-11-23 08:47:00 +01:00
|
|
|
<?php echo template::submit('courseUsersAddSubmit', [
|
2024-02-10 19:23:18 +01:00
|
|
|
'value' => '',
|
|
|
|
'ico' => 'plus',
|
2023-11-21 19:42:46 +01:00
|
|
|
]); ?>
|
2023-10-04 22:04:18 +02:00
|
|
|
</div>
|
2023-11-25 15:10:10 +01:00
|
|
|
</div>
|
2023-11-21 12:46:19 +01:00
|
|
|
<div class="row" id="Bfrtip">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('courseFilterGroup', $module::$courseGroups, [
|
|
|
|
'label' => 'Groupes / Profils',
|
|
|
|
'selected' => isset($_POST['courseFilterGroup']) ? $_POST['courseFilterGroup'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('courseFilterFirstName', $module::$alphabet, [
|
|
|
|
'label' => 'Prénom commence par',
|
|
|
|
'selected' => isset($_POST['courseFilterFirstName']) ? $_POST['courseFilterFirstName'] : 'all',
|
|
|
|
]); ?>
|
2023-10-04 22:04:18 +02:00
|
|
|
</div>
|
2023-11-21 12:46:19 +01:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('courseFilterLastName', $module::$alphabet, [
|
|
|
|
'label' => 'Nom commence par',
|
|
|
|
'selected' => isset($_POST['courseFilterLastName']) ? $_POST['courseFilterLastName'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php if ($module::$courseUsers): ?>
|
2023-11-30 14:29:38 +01:00
|
|
|
<?php echo template::table([1, 2, 3, 3, 3], $module::$courseUsers, ['', 'Id', 'Prénom', 'Nom', 'Étiquettes'], ['id' => 'dataTables']); ?>
|
2023-11-21 12:46:19 +01:00
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucun inscrit'); ?>
|
2023-11-21 19:42:46 +01:00
|
|
|
<?php endif; ?>
|
|
|
|
<?php echo template::formClose(); ?>
|