Actualiser js/admin.js
This commit is contained in:
@@ -137,6 +137,7 @@ function getFilteredItems() {
|
||||
}
|
||||
|
||||
// ── RENDU DU TABLEAU (6 COLONNES) ──
|
||||
// ── RENDU DU TABLEAU (7 COLONNES ALIGNÉES) ──
|
||||
function renderAdminTable() {
|
||||
const tbody = document.getElementById('admin-table-body');
|
||||
if (!tbody) return;
|
||||
@@ -160,6 +161,9 @@ function renderAdminTable() {
|
||||
<td style="text-align:center;">
|
||||
<input type="checkbox" class="film-checkbox" value="${f.id}" ${isChecked} onclick="toggleSingleSelect('${f.id}', this)">
|
||||
</td>
|
||||
<td style="text-align:center;">
|
||||
${f.poster ? `<img src="${f.poster}" class="thumb" alt="Affiche">` : '<div class="thumb-ph"><i class="ti ti-photo"></i></div>'}
|
||||
</td>
|
||||
<td><strong>${f.title}</strong></td>
|
||||
<td>${f.year || '-'}</td>
|
||||
<td>${f.director || '-'}</td>
|
||||
|
||||
Reference in New Issue
Block a user