plus joli

This commit is contained in:
Enzo CHARMETTAN 2024-06-19 14:54:36 +02:00
parent 2a094b08aa
commit 9664beb70a
2 changed files with 8 additions and 4 deletions
codeigniter
application/views
assets

@ -24,9 +24,7 @@
<?php endif; ?>
</div>
<?php if(isset($is_search) && $is_search): ?>
<p>Nombre de résultats : <?php echo $num_results; ?></p>
<?php endif; ?>
<section class="list">
@ -52,8 +50,10 @@ foreach ($artistAlbums as $artistName => $albums) {
echo "</header>";
echo "<ul>";
foreach ($albums as $album) {
echo "<li>" . anchor("music/view/{$album['albumId']}", $album['albumName']) . " - " . $album['year'] . "</li>";
echo anchor("music/view/{$album['albumId']}", $album['albumName']) . " - " . $album['year'] ;
echo "<br>";
echo "<button class='ajout-artistes' onclick=\"location.href='" . site_url("playlist/choix_playlist/{$album['albumId']}") . "'\">Ajouter</button>";
echo "<br>";
}
echo "</ul>";
echo "</article></div>";

@ -266,3 +266,7 @@ margin-left: 50px;
.musics-album {
margin-bottom: 0;
}
.error_msg{
color: red;
}