octane-website/public/index.html

57 lines
2.3 KiB
HTML
Raw Normal View History

2026-07-08 11:05:21 +02:00
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Répertoire — Octane</title>
2026-07-08 14:24:23 +02:00
<script src="/js/theme-init.js"></script>
2026-07-08 11:05:21 +02:00
<link rel="stylesheet" href="/css/style.css">
2026-07-10 11:35:18 +02:00
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
2026-07-08 11:05:21 +02:00
</head>
<body>
<header class="app-header">
<nav id="main-nav"></nav>
</header>
<main>
<h1>Répertoire</h1>
<p class="page-subtitle">Les morceaux travaillés par le groupe, avec liens d'écoute et tutos par instrument.</p>
2026-07-08 11:05:21 +02:00
<div id="error"></div>
2026-07-08 14:46:48 +02:00
<div class="section-header">
<h2 style="margin:0">Morceaux travaillés</h2>
<button type="button" class="secondary" id="toggle-add-song">+ Ajouter un morceau</button>
</div>
<div class="panel" id="add-song-panel" style="display:none">
<form id="add-song-form" class="stacked-form">
2026-07-08 14:46:48 +02:00
<div class="autocomplete-wrapper">
<label>Titre
<input name="title" id="song-title-input" autocomplete="off" required>
</label>
<div class="autocomplete-dropdown" id="song-title-dropdown" style="display:none"></div>
</div>
<label>Artiste <input name="artist" id="song-artist-input" required></label>
2026-07-08 11:05:21 +02:00
<label>Notes <input name="notes"></label>
2026-07-08 14:46:48 +02:00
<label>Lien YouTube <input name="youtubeUrl" id="song-youtube-input" type="url" placeholder="https://youtube.com/watch?v=..."></label>
<label>Lien Spotify <input name="spotifyUrl" id="song-spotify-input" type="url" placeholder="https://open.spotify.com/track/..."></label>
<p class="note" id="song-links-status"></p>
<button type="submit">Ajouter au répertoire</button>
2026-07-08 11:05:21 +02:00
</form>
</div>
<div class="search-bar">
<span class="search-icon" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"></circle><path d="M21 21l-4.35-4.35"></path></svg></span>
<input type="search" id="song-search-input" placeholder="Rechercher un morceau ou un artiste...">
</div>
<div id="songs-list" class="card-grid"></div>
2026-07-08 11:05:21 +02:00
</main>
<script src="/js/api.js"></script>
<script src="/js/render.js"></script>
<script src="/js/nav.js"></script>
<script src="/js/autocomplete.js"></script>
2026-07-08 11:05:21 +02:00
<script src="/js/repertoire.js"></script>
</body>
</html>