Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
Phase 32 (doctrine 169): - Cron */10min batch-enrich-async.sh installe auto-enrichement queue - 4 dernieres pages PRIO enrichies: deepseek-hub, universal-integration-hub, qa-hub, wevia-ops-hub - Total cumul session: 39 pages UX doctrine 60 Phase 33 (doctrine 170-173): - Playwright audit v3 operationnel (10 pages, 20 zooms captured) - all-ia-hub overlap detecte: 4 tr + 2 br elements superposes - Fix CSS surgical applique (doctrine 172 + 173): - Logout top-right z-index 10000 - Feedback bot-right 20px - Secondary aside shifted bottom 84px (zero chauvauchement) - GOLD backups crees avant chaque fix Handler cascade Cerebras->Ollama validate (cerebras-qwen-235b primary). Pattern nohup & background valide pour eviter 502 CX endpoint. NR 153/153 invariant.
192 lines
9.7 KiB
HTML
192 lines
9.7 KiB
HTML
<!DOCTYPE html><html lang="fr"><head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
|
<meta charset="UTF-8"><title>Universal Integration Hub — WEVIA EM</title><style>
|
|
*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,sans-serif;background:#0a0e1a;color:#e2e8f0;padding:20px}
|
|
.hd{background:linear-gradient(135deg,#0891b2,#164e63);padding:22px 28px;border-radius:12px;margin-bottom:20px}
|
|
.hd h1{color:white;font-size:26px}.hd .sub{color:rgba(255,255,255,.85);margin-top:6px;font-size:13px}
|
|
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:20px}
|
|
.sc{background:#111827;border:1px solid #1e293b;border-radius:10px;padding:14px;text-align:center;cursor:pointer;transition:all .2s}
|
|
.sc:hover{border-color:#06b6d4;transform:translateY(-2px)}
|
|
.sc.active{border-color:#06b6d4;background:#164e63}
|
|
.sc .n{font-size:28px;font-weight:800;color:#06b6d4;font-family:monospace}
|
|
.sc .l{font-size:11px;color:#94a3b8;margin-top:4px;text-transform:uppercase;letter-spacing:1px}
|
|
.search{margin-bottom:20px;display:flex;gap:10px}
|
|
.search input{flex:1;padding:12px;background:#111827;border:1px solid #1e293b;border-radius:8px;color:#e2e8f0;font-size:14px}
|
|
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
|
|
.card{background:#111827;border:1px solid #1e293b;border-radius:10px;padding:16px;transition:all .2s;cursor:pointer}
|
|
.card:hover{border-color:#06b6d4;transform:translateY(-2px);box-shadow:0 4px 20px rgba(8,145,178,.2)}
|
|
.card .name{font-size:16px;font-weight:700;color:#e2e8f0;margin-bottom:4px}
|
|
.card .cat{font-size:10px;color:#06b6d4;text-transform:uppercase;letter-spacing:1px}
|
|
.card .auth{display:inline-block;background:#1e293b;padding:2px 8px;border-radius:4px;font-size:10px;color:#94a3b8;margin-top:6px;margin-right:4px}
|
|
.card .badges{margin-top:8px}
|
|
.card .badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;margin-right:4px}
|
|
.b-rt{background:rgba(168,85,247,.2);color:#c084fc}
|
|
.b-wh{background:rgba(234,179,8,.2);color:#facc15}
|
|
.card .use{font-size:11px;color:#64748b;margin-top:8px}
|
|
.card a{color:#06b6d4;text-decoration:none;font-size:11px}
|
|
</style><!-- DOCTRINE-60-UX-ENRICH cerebras-qwen-235b 20260424-112636 --><style id="doctrine60-ux-universal-integration-hub">
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(ellipse at center, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 70%);
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.card, .btn, .kpi, .panel {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.enter-stagger {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.6; }
|
|
}
|
|
.pulse, .active, .live-indicator, .online {
|
|
animation: pulse 3s ease-in-out infinite;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.modal, .chat, .speech, .overlay {
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
</style>
|
|
</head><body>
|
|
<div class="hd"><h1>🔌 Universal Integration Hub</h1><div class="sub">WEVIA EM s'interface avec tout ERP · CRM · IA · Cloud · Hardware · API — 104 connecteurs</div></div>
|
|
<div class="stats" id="stats">Chargement...</div>
|
|
<div class="search"><input type="text" id="q" placeholder="Rechercher (sap, stripe, aws, iot...)" oninput="reload()"><select id="cat" onchange="reload()" style="padding:12px;background:#111827;border:1px solid #1e293b;border-radius:8px;color:#e2e8f0"><option value="">Toutes catégories</option></select></div>
|
|
<div class="grid" id="grid">Chargement...</div>
|
|
<script>
|
|
let currentCat=null;
|
|
async function loadStats(){
|
|
const d=await fetch('/api/em/universal-stats').then(r=>r.json());
|
|
const cats=d.by_category||[];
|
|
const sel=document.getElementById('cat');
|
|
sel.innerHTML='<option value="">Toutes ('+d.total+')</option>'+cats.map(c=>`<option value="${c.category}">${c.category} (${c.c})</option>`).join('');
|
|
document.getElementById('stats').innerHTML=`
|
|
<div class="sc" onclick="filterCat('')"><div class="n">${d.total||0}</div><div class="l">TOTAL</div></div>
|
|
${cats.map(c=>`<div class="sc" onclick="filterCat('${c.category}')"><div class="n">${c.c}</div><div class="l">${c.category}</div></div>`).join('')}
|
|
<div class="sc"><div class="n">${d.webhook_enabled||0}</div><div class="l">🔔 webhook</div></div>
|
|
<div class="sc"><div class="n">${d.realtime_enabled||0}</div><div class="l">⚡ realtime</div></div>
|
|
`;
|
|
}
|
|
function filterCat(c){currentCat=c;document.getElementById('cat').value=c;reload()}
|
|
async function reload(){
|
|
const q=document.getElementById('q').value;
|
|
const c=document.getElementById('cat').value;
|
|
const url=`/api/em/universal-connectors?${c?'category='+c:''}${q?'&q='+encodeURIComponent(q):''}`;
|
|
const d=await fetch(url).then(r=>r.json());
|
|
document.getElementById('grid').innerHTML=(d.connectors||[]).map(x=>`
|
|
<div class="card">
|
|
<div class="cat">${x.category}</div>
|
|
<div class="name">${x.connector_name}</div>
|
|
<span class="auth">${x.auth_type}</span>
|
|
<div class="badges">
|
|
${x.webhook_support?'<span class="badge b-wh">🔔 webhook</span>':''}
|
|
${x.realtime_support?'<span class="badge b-rt">⚡ realtime</span>':''}
|
|
</div>
|
|
<div class="use">${(x.use_cases||[]).slice(0,3).join(' · ')}</div>
|
|
${x.docs_url?`<a href="${x.docs_url}" target="_blank">📖 Docs →</a>`:''}
|
|
</div>
|
|
`).join('')||'<div style="color:#64748b">Aucun résultat</div>';
|
|
}
|
|
(async()=>{await loadStats();await reload()})();
|
|
</script>
|
|
<!-- === OPUS UNIVERSAL DRILL-DOWN v1 19avr — append-only, doctrine #14 === -->
|
|
<script>
|
|
(function(){
|
|
if (window.__opusUniversalDrill) return; window.__opusUniversalDrill = true;
|
|
var d = document;
|
|
var m = d.createElement('div');
|
|
m.id = 'opus-udrill';
|
|
m.style.cssText = 'position:fixed;inset:0;background:rgba(0,0,0,0.82);backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;z-index:99995;padding:20px;cursor:pointer';
|
|
var inner = d.createElement('div');
|
|
inner.id = 'opus-udrill-in';
|
|
inner.style.cssText = 'max-width:900px;width:100%;max-height:90vh;overflow:auto;background:#0b0d15;border:1px solid rgba(99,102,241,0.35);border-radius:14px;padding:28px;cursor:default;box-shadow:0 20px 60px rgba(0,0,0,0.6);color:#e2e8f0;font:14px/1.55 Inter,system-ui,sans-serif';
|
|
inner.addEventListener('click', function(e){ e.stopPropagation(); });
|
|
m.appendChild(inner);
|
|
m.addEventListener('click', function(){ m.style.display='none'; });
|
|
d.addEventListener('keydown', function(e){ if(e.key==='Escape') m.style.display='none'; });
|
|
(d.body || d.documentElement).appendChild(m);
|
|
|
|
function openCard(card) {
|
|
// Clone card content + show close btn + increase font-size
|
|
var html = '<div style="display:flex;justify-content:flex-end;margin-bottom:14px"><button id="opus-udrill-close" style="padding:6px 14px;background:#171b2a;border:1px solid rgba(99,102,241,0.25);color:#e2e8f0;border-radius:8px;cursor:pointer;font-size:12px">✕ Fermer (Esc)</button></div>';
|
|
html += '<div style="transform-origin:top left;font-size:1.05em">' + card.outerHTML + '</div>';
|
|
inner.innerHTML = html;
|
|
d.getElementById('opus-udrill-close').onclick = function(){ m.style.display='none'; };
|
|
m.style.display = 'flex';
|
|
}
|
|
|
|
function wire(root) {
|
|
var sels = '.card,[class*="card"],.kpi,[class*="kpi"],.stat,[class*="stat"],.tile,[class*="tile"],.metric,[class*="metric"],.widget,[class*="widget"]';
|
|
var cards = root.querySelectorAll(sels);
|
|
for (var i = 0; i < cards.length; i++) {
|
|
var c = cards[i];
|
|
if (c.__opusWired) continue;
|
|
if (c.closest('button, a, input, select, textarea, #opus-udrill')) continue;
|
|
var r = c.getBoundingClientRect();
|
|
if (r.width < 60 || r.height < 40) continue;
|
|
c.__opusWired = true;
|
|
c.style.cursor = 'pointer';
|
|
c.setAttribute('role','button');
|
|
c.setAttribute('tabindex','0');
|
|
c.addEventListener('click', function(ev){
|
|
// If a more-specific drill is already active (e.g. pp-card custom), let it handle
|
|
if (ev.target.closest('[data-pp-id]') && window.__opusDrillInit) return;
|
|
if (ev.target.closest('a,button,input,select')) return;
|
|
ev.preventDefault(); ev.stopPropagation();
|
|
openCard(this);
|
|
});
|
|
c.addEventListener('keydown', function(ev){ if(ev.key==='Enter'||ev.key===' '){ev.preventDefault();openCard(this);} });
|
|
}
|
|
}
|
|
|
|
// Initial + mutation observer
|
|
var initRun = function(){ wire(d.body || d.documentElement); };
|
|
if (d.readyState === 'loading') d.addEventListener('DOMContentLoaded', initRun);
|
|
else initRun();
|
|
var mo = new MutationObserver(function(muts){
|
|
var newCard = false;
|
|
for (var i=0;i<muts.length;i++) if (muts[i].addedNodes.length) { newCard = true; break; }
|
|
if (newCard) initRun();
|
|
});
|
|
mo.observe(d.body || d.documentElement, {childList:true, subtree:true});
|
|
})();
|
|
</script>
|
|
<!-- === OPUS UNIVERSAL DRILL-DOWN END === -->
|
|
|
|
<script src="/api/archi-meta-badge.js" defer></script>
|
|
|
|
<script src="/api/a11y-auto-enhancer.js" defer></script>
|
|
<!-- WTP_UDOCK_V1 (Opus 21-avr t34final) --><script src="/wtp-unified-dock.js" defer></script>
|
|
<script src="/opus-antioverlap-doctrine.js?v=1776776094" defer></script>
|
|
<!-- DOCTRINE-60-UX-JS --><script id="doctrine60-ux-js-universal-integration-hub">
|
|
const observer = new IntersectionObserver((entries) => {
|
|
entries.forEach((entry, index) => {
|
|
if (entry.isIntersecting) {
|
|
setTimeout(() => {
|
|
entry.target.classList.add('enter-stagger');
|
|
}, index * 80);
|
|
}
|
|
});
|
|
}, { threshold: 0.1 });
|
|
|
|
document.querySelectorAll('.card, .btn, .kpi, .panel').forEach(el => observer.observe(el));
|
|
|
|
</script>
|
|
</body></html>
|