test changement css 3/?

This commit is contained in:
2024-06-05 08:29:15 +02:00
parent 2eacfd197d
commit b197a19e07
2 changed files with 45 additions and 21 deletions

View File

@@ -2,19 +2,31 @@
<html>
<head>
<title><?= $album->albumName ?> - Details</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css">
</head>
<body>
<h1><?= $album->albumName ?></h1>
<p><strong>Artist:</strong> <?= $album->artistName ?></p>
<p><strong>Genre:</strong> <?= $album->genreName ?></p>
<p><strong>Year:</strong> <?= $album->year ?></p>
<img src="data:image/jpeg;base64,<?= base64_encode($album->jpeg) ?>" alt="<?= $album->albumName ?> Cover">
<h2>Songs</h2>
<ul>
<?php foreach ($songs as $song): ?>
<li><?= anchor("music/view/{$song->trackId}", $song->trackName) ?></li>
<?php endforeach; ?>
</ul>
<section class="section">
<div class="container">
<h1 class="title"><?= $album->albumName ?></h1>
<div class="columns">
<div class="column is-one-third">
<figure class="image">
<img src="data:image/jpeg;base64,<?= base64_encode($album->jpeg) ?>" alt="<?= $album->albumName ?> Cover">
</figure>
</div>
<div class="column">
<p><strong>Artist:</strong> <?= $album->artistName ?></p>
<p><strong>Genre:</strong> <?= $album->genreName ?></p>
<p><strong>Year:</strong> <?= $album->year ?></p>
</div>
</div>
<h2 class="title is-4">Songs</h2>
<ul>
<?php foreach ($songs as $song): ?>
<li><?= anchor("music/view/{$song->trackId}", $song->trackName) ?></li>
<?php endforeach; ?>
</ul>
</div>
</section>
</body>
</html>