| .. | .. |
|---|
| 1 | 1 | 'use strict'; |
|---|
| 2 | +const APP_VERSION = 'v4-20260222'; |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | // ============================================================ |
|---|
| 4 | | -// OPS Dashboard — Vanilla JS Application (v3) |
|---|
| 5 | +// OPS Dashboard — Vanilla JS Application (v4) |
|---|
| 5 | 6 | // ============================================================ |
|---|
| 6 | 7 | |
|---|
| 7 | 8 | // --------------------------------------------------------------------------- |
|---|
| .. | .. |
|---|
| 107 | 108 | allServices = data; |
|---|
| 108 | 109 | document.getElementById('login-overlay').style.display = 'none'; |
|---|
| 109 | 110 | document.getElementById('app').style.display = 'flex'; |
|---|
| 111 | + const vEl = document.getElementById('app-version'); if (vEl && typeof APP_VERSION !== 'undefined') vEl.textContent = APP_VERSION; |
|---|
| 110 | 112 | showPage('dashboard'); |
|---|
| 111 | 113 | startAutoRefresh(); |
|---|
| 112 | 114 | }) |
|---|
| .. | .. |
|---|
| 793 | 795 | allServices = data; |
|---|
| 794 | 796 | document.getElementById('login-overlay').style.display = 'none'; |
|---|
| 795 | 797 | document.getElementById('app').style.display = 'flex'; |
|---|
| 798 | + const vEl = document.getElementById('app-version'); if (vEl && typeof APP_VERSION !== 'undefined') vEl.textContent = APP_VERSION; |
|---|
| 796 | 799 | showPage('dashboard'); |
|---|
| 797 | 800 | startAutoRefresh(); |
|---|
| 798 | 801 | }) |
|---|