feat(ucp): v2.6.0 provisionnement XML Acrobits GroundWire par poste

This commit is contained in:
sorcier committed 2026-11-12 02:04:47 +01:00
1 parent 135a6267db
commit 28efb2d6bc
10 files changed
+359 -30

No files matched your search

+38
View File
@@ -351,6 +351,44 @@ function renderExtensionsGrid() {
</button>
</div>
</form>
${(Number(ext.groundwire_enabled) === 1 && ext.groundwire_deeplink_url && ext.groundwire_xml_url) ? `
<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="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"
class="hover:text-indigo-600 transition underline decoration-slate-300 underline-offset-2">
iOS
</a>
<span class="text-slate-300">•</span>
<a href="https://play.google.com/store/apps/details?id=cz.acrobits.softphone.aliengroundwire"
target="_blank" rel="noopener noreferrer"
class="hover:text-indigo-600 transition underline decoration-slate-300 underline-offset-2">
Android
</a>
</div>
</div>
<div class="flex flex-wrap items-center gap-2">
<a href="${escapeHtml(ext.groundwire_deeplink_url)}"
class="inline-flex items-center justify-center gap-1.5 px-3 py-1.5 rounded-xl bg-indigo-50 hover:bg-indigo-100 text-indigo-700 border border-indigo-200 text-xs font-semibold transition flex-1 sm:flex-initial">
<span>⚡</span>
<span>Configurer dans Groundwire</span>
</a>
<a href="${escapeHtml(ext.groundwire_xml_url)}"
download="groundwire-${escapeHtml(ext.extension)}.xml"
class="inline-flex items-center justify-center gap-1.5 px-3 py-1.5 rounded-xl bg-white hover:bg-slate-100 text-slate-700 border border-slate-200 text-xs font-medium transition">
<span>⬇</span>
<span>Télécharger le XML</span>
</a>
</div>
</div>
</div>
` : ''}
</div>
`;
}).join('');