css playlist bientot fini
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>SpotiFly</title>
|
||||
<link rel="stylesheet" href="<?= base_url('assets/style.css') ?>">
|
||||
<link rel="stylesheet" href="<?= base_url('assets/CSS/style.css') ?>">
|
||||
<link rel="stylesheet" href="<?= base_url('assets/CSS/connexion.css') ?>">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
</header>
|
||||
</main>
|
||||
<script src="../assets/JS/bouton.js"></script>
|
||||
<script src=<?= base_url('/assets/JS/bouton.js') ?>></script>
|
||||
<button id="scrollTopBtn" onclick="scrollToTop()">
|
||||
<span>↑</span>
|
||||
</button>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
<div class="content">
|
||||
<div id="Page">
|
||||
<div class="content">
|
||||
<section id="about" class="box">
|
||||
<div class="box-content">
|
||||
<img src=<?= base_url('assets/img/musique.png') ?> alt="Description de l'image 2">
|
||||
<img src=<?= base_url('assets/img/alo.png') ?> alt="Description de l'image 2">
|
||||
<div class="text-content">
|
||||
<h2>Créer une nouvelle Playlist</h2>
|
||||
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post" class="playlist-form">
|
||||
@@ -14,7 +14,7 @@
|
||||
</section>
|
||||
<section id="product" class="box">
|
||||
<div class="box-img">
|
||||
<img src=<?= base_url('assets/img/musique1.png') ?> alt="Description de l'image 2">
|
||||
<img src=<?= base_url('assets/img/musique2.png') ?> alt="Description de l'image 2">
|
||||
<div class="text-content">
|
||||
<h2>Créer une playlist aléatoire</h2>
|
||||
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post" class="playlist-form">
|
||||
@@ -25,6 +25,8 @@
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="header"> </div>
|
||||
</form>
|
||||
@@ -43,4 +45,4 @@ foreach($playlists as $playlist){
|
||||
echo "</div>";
|
||||
}
|
||||
echo "</div>";
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
<section class="list">
|
||||
<?php
|
||||
$i = 0;
|
||||
foreach($songs as $song){
|
||||
/*foreach($songs as $song){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
$i = $i+1;
|
||||
$minutes = floor($song->duration/60);
|
||||
$secondes = $song->duration %60;
|
||||
echo "{$i} - {$song->name} : {$minutes} min {$secondes} sec";
|
||||
echo "{$i} - {$song->name} : {$minutes} min {$secondes} sec"; */
|
||||
foreach($songPlaylists as $songPlaylist){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
@@ -20,7 +20,7 @@ foreach($songPlaylists as $songPlaylist){
|
||||
echo "</header>";
|
||||
echo "</article></div>";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user