Add movie ID display and copy functionality

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-22 05:38:42 +00:00
co-authored by mathieumoran1
parent ea37bf95ef
commit 2025f0231c
2 changed files with 62 additions and 5 deletions
+10 -1
View File
@@ -418,6 +418,7 @@
<thead>
<tr>
<th style="width: 1%;">Sel.</th>
<th style="width: 1%;">ID</th>
<th>Titre</th>
<th style="width: 12%;">Player</th>
<th style="width: 20%;">Catégorie</th>
@@ -426,7 +427,7 @@
</tr>
</thead>
<tbody id="admin-movies-body">
<tr><td colspan="6" class="text-muted">Charge la liste…</td></tr>
<tr><td colspan="7" class="text-muted">Charge la liste…</td></tr>
</tbody>
</table>
</div>
@@ -679,6 +680,14 @@
<div class="modal-body">
<input type="hidden" id="edit_movie_id">
<div class="mb-3">
<div class="text-muted small mb-1">Movie ID</div>
<div class="d-flex gap-2 align-items-center">
<code class="flex-grow-1" id="edit_movie_id_label">—</code>
<button type="button" class="btn btn-outline-secondary btn-sm" id="copy-movie-id">Copier</button>
</div>
</div>
<div class="row g-3">
<div class="col-md-6">
<label for="edit_imdb_id" class="form-label">IMDB ID (ex: tt1234567)</label>