APmanageur Wi-Fi V1.0
This commit is contained in:
1 parent
6ab15cecec
commit
999061a19d
1 file changed
-25
-25
@@ -9103,31 +9103,6 @@ ${vpnBadgeTopo}
|
|||||||
const firstSeenHtml = escapeHtml(d.first_seen || '—');
|
const firstSeenHtml = escapeHtml(d.first_seen || '—');
|
||||||
|
|
||||||
return `<tr>
|
return `<tr>
|
||||||
<td>
|
|
||||||
<div class="client">
|
|
||||||
<div class="avatar" style="font-size:16px;cursor:pointer;position:relative" title="${t('modal_device_type_click', 'Cliquer pour changer le type d’appareil')}" onclick="openDeviceTypeModal('${escapeHtml(d.mac)}')">
|
|
||||||
${icon}
|
|
||||||
<span style="position:absolute;bottom:-3px;right:-3px;font-size:9px;background:var(--panel);border:1px solid var(--line);border-radius:50%;width:14px;height:14px;display:flex;align-items:center;justify-content:center;line-height:1">✏️</span>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div style="display:flex;align-items:center;gap:6px;flex-wrap:wrap">
|
|
||||||
<strong>${nameHtml}</strong>
|
|
||||||
${vpnBadge}
|
|
||||||
</div>
|
|
||||||
<div class="muted" style="font-size:11px;margin-top:2px">
|
|
||||||
<span style="cursor:pointer;color:var(--blue);text-decoration:underline dashed;text-underline-offset:2px" onclick="openDeviceTypeModal('${escapeHtml(d.mac)}')" title="${t('modal_device_type_title', 'Modifier le type d’appareil')}">${escapeHtml(devTypeLabel)}</span> • ${d.connected ? t('status_online_live', 'En direct') : t('stored_in_db', 'Mémorisé en BDD')}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td><code>${macHtml}</code></td>
|
|
||||||
<td>${ipDisplay}</td>
|
|
||||||
<td>${statusPill}</td>
|
|
||||||
<td>${limitsHtml}</td>
|
|
||||||
<td><span style="font-size:13px">${lastSeenHtml}</span></td>
|
|
||||||
<td><span class="muted" style="font-size:12px">${firstSeenHtml}</span></td>
|
|
||||||
<td style="text-align:right">
|
|
||||||
<div style="display:inline-flex;gap:4px;align-items:center;justify-content:flex-end">
|
|
||||||
<button class="secondary" type="button" style="padding:4px 9px;font-size:12px;display:inline-flex;align-items:center;gap:3px" onclick="openDeviceLimitsModal('${escapeHtml(d.mac)}')" title="${t('modal_limits_title_attr', 'Définir un quota et limiter la bande passante')}">⚖️ <span style="font-size:10px">${t('th_quota', 'Quota')}</span></button>
|
<button class="secondary" type="button" style="padding:4px 9px;font-size:12px;display:inline-flex;align-items:center;gap:3px" onclick="openDeviceLimitsModal('${escapeHtml(d.mac)}')" title="${t('modal_limits_title_attr', 'Définir un quota et limiter la bande passante')}">⚖️ <span style="font-size:10px">${t('th_quota', 'Quota')}</span></button>
|
||||||
<button class="secondary" type="button" style="padding:4px 9px;font-size:12px" onclick="openDeviceTypeModal('${escapeHtml(d.mac)}')" title="${t('modal_device_type_attr', 'Modifier le type d’appareil (Smartphone, Tablette, PC, TV...)')}">🏷️</button>
|
<button class="secondary" type="button" style="padding:4px 9px;font-size:12px" onclick="openDeviceTypeModal('${escapeHtml(d.mac)}')" title="${t('modal_device_type_attr', 'Modifier le type d’appareil (Smartphone, Tablette, PC, TV...)')}">🏷️</button>
|
||||||
<button class="secondary" type="button" style="padding:4px 9px;font-size:12px" onclick="renameDevice('${escapeHtml(d.mac)}')" title="${t('rename_device_attr', 'Renommer cet appareil')}">✏️</button>
|
<button class="secondary" type="button" style="padding:4px 9px;font-size:12px" onclick="renameDevice('${escapeHtml(d.mac)}')" title="${t('rename_device_attr', 'Renommer cet appareil')}">✏️</button>
|
||||||
|
|||||||
Reference in new issue
Block a user