d
This commit is contained in:
parent
62b40b3b3b
commit
be966afcde
|
|
@ -47,13 +47,6 @@
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
|
||||||
<select class="form-select shadow-sm" id="statusFilter">
|
|
||||||
<option value=""><?= _("Tous les statuts") ?></option>
|
|
||||||
<option value="status-actif">🟢 <?= _("Actifs") ?></option>
|
|
||||||
<option value="status-archive">🟠 <?= _("Archivés") ?></option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-2 text-end">
|
<div class="col-md-2 text-end">
|
||||||
<button class="btn btn-outline-primary shadow-sm w-100" onclick="javascript:afficher_adherents_police();">
|
<button class="btn btn-outline-primary shadow-sm w-100" onclick="javascript:afficher_adherents_police();">
|
||||||
<i class="fas fa-sync-alt"></i>
|
<i class="fas fa-sync-alt"></i>
|
||||||
|
|
@ -70,7 +63,7 @@
|
||||||
<th class="text-center"><?= _("Collège") ?></th>
|
<th class="text-center"><?= _("Collège") ?></th>
|
||||||
<th class="text-center"><?= _("Période") ?></th>
|
<th class="text-center"><?= _("Période") ?></th>
|
||||||
<th class="text-center no-export"><?= _("Actions") ?></th>
|
<th class="text-center no-export"><?= _("Actions") ?></th>
|
||||||
<th class="d-none">StatusClass</th> </tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($adherents as $adherent):
|
<?php foreach ($adherents as $adherent):
|
||||||
|
|
@ -104,7 +97,6 @@
|
||||||
<i class="fas fa-user-edit text-primary"></i>
|
<i class="fas fa-user-edit text-primary"></i>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td class="d-none"><?= $statusClass ?></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
@ -135,11 +127,5 @@
|
||||||
$('#collegeFilter').on('change', function() {
|
$('#collegeFilter').on('change', function() {
|
||||||
table.column(2).search(this.value).draw();
|
table.column(2).search(this.value).draw();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Filtre par Statut (Colonne 5 - cachée)
|
|
||||||
$('#statusFilter').on('change', function() {
|
|
||||||
table.column(5).search(this.value).draw();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user