diff --git a/templates/servers/detail.twig b/templates/servers/detail.twig index ffd74c8..6a40e3f 100755 --- a/templates/servers/detail.twig +++ b/templates/servers/detail.twig @@ -108,7 +108,7 @@
{% for metricName, metricData in metrics %} - {% if metricName!="top_cpu_proc" && metricName!="top_ram_proc" %} + {% if metricName!="top_cpu_proc" and metricName!="top_ram_proc" %}
@@ -466,7 +466,7 @@ document.addEventListener('DOMContentLoaded', function() { // Графики метрик {% for metricName, metricData in metrics %} -{% if metricName!="top_cpu_proc" && metricName!="top_ram_proc" %} +{% if metricName!="top_cpu_proc" and metricName!="top_ram_proc" %} const ctx{{ metricName|replace({'-': '_', '.': '_'}) }} = document.getElementById('chart-{{ metricName }}').getContext('2d'); // Подготовка данных для графика