PluginProbe
WebTotem Security / 3.0.1
WebTotem Security v3.0.1
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 / templates / map_chart.html.twig

map_chart.html.twig in WebTotem Security 3.0.1, at includes/templates/map_chart.html.twig

33 lines 943 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {% if attacks_map and attacks_map != 'false' %}
2 <div class="wtotem_map-block__map">
3 <svg id="firewallMap" class="firewall_map" height="305" width="100%"></svg>
4 </div>
5 <div class="firewall">
6 <canvas id="firewall" class="firewall_bar" width="100%"></canvas>
7 </div>
8
9 <script>
10 {% autoescape false %}
11 var attacks_map = {{ attacks_map }};
12 {% endautoescape %}
13
14 var world_map_json = '{{ world_map_json }}';
15
16 if(typeof attacksMap !== 'undefined'){
17 if(typeof attacks_map == "object"){
18 attacksMap();
19 }
20 }
21 </script>
22
23 {% else %}
24 <!-- No data block -->
25 <section class="wtotem_reports-no-data" style="height:300px" >
26 <h2 class="h2 visually-hidden">{{ 'No data'|trans }}</h2>
27 <p class="wtotem_reports-no-data__text">
28 {{ 'Has no action ready yet'|trans }}
29 </p>
30 </section>
31 {% endif %}
32
33