From 2a094b08aad9d98e35cd19ad87a0387dc832a8f7 Mon Sep 17 00:00:00 2001 From: keraudre <yann.keraudren@etu-upec.fr> Date: Wed, 19 Jun 2024 14:45:06 +0200 Subject: [PATCH] mise en forme de la page playlist contenant les musiques --- codeigniter/application/views/playlist_view.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/codeigniter/application/views/playlist_view.php b/codeigniter/application/views/playlist_view.php index 2aa8ec8..d774170 100644 --- a/codeigniter/application/views/playlist_view.php +++ b/codeigniter/application/views/playlist_view.php @@ -9,11 +9,10 @@ <!-- Section pour afficher les chansons de son playlist --> <?php if (!empty($songs)): ?> - <section class="current-songs"> - <h5>Chansons actuelles :</h5> - <ul> + <h5>Chansons actuelles :</h5> + <section class="list"> <?php foreach($songs as $song): ?> - <li class="play"> + <div><article> <?= $song->name; ?> <!-- Formulaire pour supprimer la chanson de la playlist --> <form action="<?= site_url('playlist/remove_song'); ?>" method="post" style="display:inline;"> @@ -21,9 +20,8 @@ <input type="hidden" name="songId" value="<?= $song->id; ?>"> <button type="submit">Supprimer</button> </form> - </li> + </article></div> <?php endforeach; ?> - </ul> </section> <?php endif; ?>