style(extensions,ucp): v2.6.1 retrait icone smartphone GroundWire et boutons d'action uniformes
This commit is contained in:
1 parent
28efb2d6bc
commit
789ea79cf2
4 files changed
+20
-11
No files matched your search
+16
-5
@@ -938,7 +938,7 @@ function renderExtensionsTable() {
|
||||
? `<span class="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-semibold bg-amber-500/15 text-amber-300 border border-amber-500/30" title="Boîte vocale active (${ext.ring_time || 20}s)">📟 Boîte</span>`
|
||||
: '';
|
||||
const gwBadge = Number(ext.groundwire_enabled) === 1
|
||||
? `<span class="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-semibold bg-cyan-500/15 text-cyan-300 border border-cyan-500/30" title="Provisionnement XML GroundWire activé dans l'UCP">📱 GroundWire</span>`
|
||||
? `<span class="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-semibold bg-cyan-500/15 text-cyan-300 border border-cyan-500/30" title="Provisionnement XML GroundWire activé dans l'UCP">GroundWire</span>`
|
||||
: '';
|
||||
|
||||
return `
|
||||
@@ -958,10 +958,21 @@ function renderExtensionsTable() {
|
||||
<td class="py-3.5 px-4">
|
||||
<code class="px-2 py-0.5 rounded bg-anthracite-950 border border-anthracite-700 text-xs font-mono text-slate-300">${escapeHtml(ext.secret)}</code>
|
||||
</td>
|
||||
<td class="py-3.5 px-4 text-right space-x-2 whitespace-nowrap">
|
||||
<button type="button" onclick="promptRebootExtension(${Number(ext.id)})" class="text-xs font-semibold text-amber-400 hover:text-amber-300 transition">Redémarrer</button>
|
||||
<button type="button" onclick="editExtension(${Number(ext.id)})" class="text-xs font-semibold text-indigo-300 hover:text-indigo-200 transition">Modifier</button>
|
||||
<button type="button" onclick="deleteExtension(${Number(ext.id)})" class="text-xs font-semibold text-red-400 hover:text-red-300 transition">Supprimer</button>
|
||||
<td class="py-3.5 px-4 text-right whitespace-nowrap">
|
||||
<div class="inline-flex items-center justify-end gap-1.5">
|
||||
<button type="button" onclick="promptRebootExtension(${Number(ext.id)})"
|
||||
class="px-2.5 py-1 rounded-lg bg-amber-500/10 hover:bg-amber-500/20 text-amber-300 hover:text-amber-200 border border-amber-500/30 text-xs font-semibold transition">
|
||||
Redémarrer
|
||||
</button>
|
||||
<button type="button" onclick="editExtension(${Number(ext.id)})"
|
||||
class="px-2.5 py-1 rounded-lg bg-anthracite-800 hover:bg-sky-600/20 text-slate-300 hover:text-sky-300 border border-anthracite-700 hover:border-sky-500/40 text-xs font-semibold transition">
|
||||
Modifier
|
||||
</button>
|
||||
<button type="button" onclick="deleteExtension(${Number(ext.id)})"
|
||||
class="px-2.5 py-1 rounded-lg bg-rose-500/10 hover:bg-rose-600 text-rose-300 hover:text-white border border-rose-500/30 text-xs font-semibold transition">
|
||||
Supprimer
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
`;
|
||||
|
||||
+1
-1
@@ -3268,7 +3268,7 @@ $isDevEnv = file_exists(__DIR__ . '/../.dev')
|
||||
class="mt-0.5 rounded bg-anthracite-900 border-anthracite-600 text-cyan-500 focus:ring-cyan-500">
|
||||
<div class="leading-snug">
|
||||
<div class="text-xs font-bold text-white flex items-center gap-2">
|
||||
<span>📱 GroundWire XML</span>
|
||||
<span>GroundWire XML</span>
|
||||
<span class="px-1.5 py-0.5 rounded text-[10px] font-semibold bg-cyan-500/15 text-cyan-300 border border-cyan-500/30">Softphone Mobile UCP</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 mt-0.5">
|
||||
|
||||
+1
-4
@@ -355,10 +355,7 @@ function renderExtensionsGrid() {
|
||||
<div class="pt-3 border-t border-slate-100">
|
||||
<div class="rounded-xl bg-slate-50/80 border border-slate-200/80 p-3 space-y-2.5">
|
||||
<div class="flex flex-wrap items-center justify-between gap-2">
|
||||
<div class="flex items-center gap-1.5 text-xs font-bold text-slate-700">
|
||||
<span>📱</span>
|
||||
<span>GroundWire Mobile</span>
|
||||
</div>
|
||||
<div class="text-xs font-bold text-slate-700">GroundWire Mobile</div>
|
||||
<div class="flex items-center gap-2 text-[11px] font-medium text-slate-500">
|
||||
<a href="https://apps.apple.com/fr/app/groundwire-voip-sip-softphone/id378503081"
|
||||
target="_blank" rel="noopener noreferrer"
|
||||
|
||||
+2
-1
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"version": "2.6.0",
|
||||
"version": "2.6.1",
|
||||
"codename": "Pulsar UCP",
|
||||
"release_date": "2026-11-12",
|
||||
"min_php_version": "8.2",
|
||||
"changelog": [
|
||||
"UI v2.6.1 : suppression de l'icône smartphone sur les éléments GroundWire et refonte des boutons d'action du tableau Postes (Redémarrer / Modifier / Supprimer)",
|
||||
"Nouveauté v2.6.0 : provisionnement dynamique XML Acrobits GroundWire par poste (option Admin « GroundWire XML », deep link mobile provlinkbs:, téléchargement XML signé HMAC sans session, liens App Store / Google Play dans l'UCP)",
|
||||
"UI v2.5.7 : journal d'appels UCP en cartes style iOS sur mobile (<768px) tout en conservant le tableau 6 colonnes sur ordinateur",
|
||||
"Correctif v2.5.6 : ergonomie mobile iPhone (en-tête compact + dégradé latéral discret sur la barre d'onglets UCP sans scrollbar visible)",
|
||||
|
||||
Reference in new issue
Block a user