Add enterprise appliance experience Phase 1 foundation

This commit is contained in:
Jino Jose committed 2026-07-12 12:13:23 +05:30
1 parent b3eec34158
commit ebaa2e7219
69 files changed
+6832 -18

No files matched your search

+6
View File
@@ -245,6 +245,11 @@ function renderSummary(status) {
const dot = document.getElementById('hc-summary-dot');
const title = document.getElementById('hc-summary-title');
const sub = document.getElementById('hc-summary-sub');
if (window.CezenExperience) {
const mapped = status === 'ok' ? 'ready' : status === 'warning' ? 'degraded' : status === 'critical' ? 'failed' : 'unavailable';
title.className = 'hc-summary-title cx-state cx-state-' + mapped;
title.setAttribute('role', mapped === 'failed' ? 'alert' : 'status');
}
if (status === 'ok') {
dot.className = 'hc-summary-dot healthy';
title.textContent = 'Healthy — all systems normal';
@@ -284,6 +289,7 @@ loadHealth();
setInterval(loadHealth, 30000);
</script>
<script src="auth.js"></script>
<script src="experience.js?v=1"></script>
<script src="branding.js?v=3"></script>
</body>
</html>