+
No custom thresholds configured
+
Click "Add Custom Threshold" to create VM/LXC-specific settings
+
+ `;
+ } catch (error) {
+ console.error('Failed to load custom thresholds:', error);
+ customThresholdsList.innerHTML = `
+
+
Failed to load custom thresholds
+
+ `;
+ }
+ }
+
// Global functions that need to be accessible from HTML onclick handlers
window.toggleSystemAlert = function(alertId, enabled) {
console.log(`Toggling system alert ${alertId} to ${enabled ? 'enabled' : 'disabled'}`);