PluginProbe
WebTotem Security / 2.3.14
WebTotem Security v2.3.14
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 2.2.4 All 109 releases
wt-security / includes / components / _chart_cpu_ajax.php

_chart_cpu_ajax.php in WebTotem Security 2.3.14, at includes/components/_chart_cpu_ajax.php

25 lines 710 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if($arguments["chart"] && $arguments["chart"] != 'null'):?>
2 <div class="wtotem_chart__diagram">
3 <div id="cpu-chart" class="line-chart" data-days="<?= $arguments["days"] ?>">
4 <div id="tooltipCpu" class="line-chart__tooltip">
5 <span id="countCpu"></span>
6 </div>
7 </div>
8 </div>
9
10
11 <script>
12 drawCpuChart(<?=$arguments["chart"]?>);
13 </script>
14
15 <?php else:?>
16
17 <!-- No data block -->
18 <section class="wtotem_reports-no-data" style="height:300px" >
19 <h2 class="visually-hidden"><?= wtsec_locale("no_data") ?></h2>
20 <p class="wtotem_reports-no-data__text">
21 <?= wtsec_locale("has_no_action_ready_yet") ?>
22 </p>
23 </section>
24
25 <?php endif; ?>