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_ajax.php

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

28 lines 937 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" data-days="<?= $arguments["days"] ?>" id="wtotem_chart_diagram">
3 <div id="line-chart" class="line-chart">
4 <div id="tooltipAttacks" class="line-chart__tooltip">
5 <span id="countAttacks"></span>
6 </div>
7 <div id="tooltipBlocked" class="line-chart__tooltip line-chart__tooltip--reverse">
8 <span id="countBlocked"></span>
9 </div>
10 </div>
11 </div>
12
13 <div class="wtotem_chart__line"></div>
14
15 <script>
16 drawLineChart(<?=$arguments["chart"]?>);
17 </script>
18 <?php else:?>
19
20 <!-- No data block -->
21 <section class="wtotem_reports-no-data" style="height:300px" >
22 <h2 class="visually-hidden"><?= wtsec_locale("no_data") ?></h2>
23 <p class="wtotem_reports-no-data__text">
24 <?= wtsec_locale("has_no_action_ready_yet") ?>
25 </p>
26 </section>
27
28 <?php endif; ?>