css pour playlist + php
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
<h5>Playlist List</h5>
|
||||
<?php
|
||||
|
||||
echo "<form action='" . base_url("index.php/playlist/MenuCreate/") . "' method='post'>";
|
||||
echo "<button type='Créer Playlist'>Create</button>";
|
||||
echo "<button type='submit' class='create-button'>Create</button>";
|
||||
echo "</form>";
|
||||
echo "<div class='playlist-container'>";
|
||||
|
||||
foreach($playlists as $playlist){
|
||||
echo "<div><article>";
|
||||
echo "<div class='playlist-item'>";
|
||||
echo "<header class='short-text'>";
|
||||
echo anchor("playlist/SongPlaylist/{$playlist->id}","{$playlist->name}");
|
||||
echo anchor("playlist/SongPlaylist/{$playlist->id}","<h3>{$playlist->name}</h3>");
|
||||
echo "<form action='" . base_url("index.php/playlist/delete/{$playlist->id}") . "' method='post'>";
|
||||
echo "<button type='Supprimer Playlist'>Delete</button>";
|
||||
echo "<button type='submit' class='delete-button'>Delete</button>";
|
||||
echo "</form>";
|
||||
echo "</header>";
|
||||
echo "</article></div>";
|
||||
// If you want to add an image, you can add it here
|
||||
echo "</div>";
|
||||
}
|
||||
echo "</div>";
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user