1
0
mirror of synced 2025-12-28 00:23:25 +00:00

feat(login/register) blabla

This commit is contained in:
Valentin
2024-06-10 18:19:34 +02:00
parent f6570e074c
commit 10825d7598
17 changed files with 243 additions and 38 deletions

View File

@@ -1,6 +1,8 @@
<div class="row">
<?php
$stations = array_fill(1, 10, 'Station');
$stations = getStops($i);
$half = ceil(count($stations) / 2);
$chunks = array_chunk($stations, ceil(count($stations) / 2), true);
?>
@@ -17,12 +19,12 @@
<tbody>
<?php foreach ($chunk as $station): ?>
<tr>
<td><?php echo $station; ?></td>
<td class="text-end"><div class="btn btn-success">Ajouter</div></td>
<td><?php echo htmlspecialchars($station['fields']['nom_zda']); ?></td>
<td class="text-end"><button class="btn btn-success">Ajouter</button></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php endforeach; ?>
</div>
</div>