diff --git a/templates/index.html b/templates/index.html
index 81c8b3d..67579c5 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -794,7 +794,7 @@
-
+
` : ''}
`;
@@ -992,6 +992,17 @@
else { btnSvc.style.background = '#334155'; btnSvc.classList.remove('blink'); btnSvc.innerHTML = t('btnSvc'); }
}
+ let btnOta = document.getElementById(`btn-ota-${c.id}`);
+ if (btnOta) {
+ if (healthObj && healthObj.agent_update_available) {
+ btnOta.style.background = 'var(--danger)';
+ btnOta.style.animation = 'pulse-red 1.5s infinite';
+ } else {
+ btnOta.style.background = '#2563eb';
+ btnOta.style.animation = 'none';
+ }
+ }
+
if (isOnline) {
cardDiv.classList.add('online'); statusDiv.classList.remove('status-offline'); cardDiv.style.opacity = "1"; cardDiv.style.filter = "none";