PluginProbe
WebTotem Security / 2.4.5
WebTotem Security v2.4.5
3.0.2 3.0.1 3.0.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.1 2.2.2 2.2.3 All 110 releases
wt-security / includes / templates / cpu_chart.html.twig

cpu_chart.html.twig in WebTotem Security 2.4.5, at includes/templates/cpu_chart.html.twig

30 lines 860 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {% if chart %}
2 <div class="wtotem_chart__diagram">
3 <div id="cpu-chart" class="line-chart" data-days="{{ days }}">
4 <div id="tooltipCpu" class="line-chart__tooltip">
5 <span id="countCpu"></span>
6 </div>
7 </div>
8 </div>
9
10 <script>
11 {% autoescape false %}
12 var cpu_chart = {{ chart }};
13 {% endautoescape %}
14
15 if(typeof drawCpuChart !== 'undefined'){
16 if(typeof cpu_chart == "object"){
17 drawCpuChart(cpu_chart);
18 }
19 }
20 </script>
21 {% else %}
22 <!-- No data block -->
23 <section class="wtotem_reports-no-data" style="height:300px" >
24 <h2 class="h2 visually-hidden">{{ 'No data'|trans }}</h2>
25 <p class="wtotem_reports-no-data__text">
26 {{ 'No data'|trans }}
27 </p>
28 </section>
29 {% endif %}
30