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 / error.html.twig

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

43 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <script>
2 jQuery(document).ready(function ($) {
3 jQuery('.open-popup').on('click', function (e) {
4 jQuery.post(
5 ajaxurl,
6 {
7 action: 'wtotem_ajax',
8 ajax_action: 'popup',
9 popup_action: jQuery(this).data('action'),
10 wtotem_page_nonce: '{{ page_nonce }}',
11 },
12 function (data) {
13
14 if(data.success){
15 jQuery('.wtotem_body').append(data.content);
16 }
17 }
18 );
19 });
20 });
21 </script>
22
23 <div class="wtotem_not-working__card message-card wtotem-mb-15">
24 <h2 class="wtotem_not-working__title message-card__title">{{ 'Data access error'|trans }}</h2>
25 <img class="wtotem_not-working__img" src="{{ images_path }}people-with-glass.svg" width="183" height="156" alt="People with loupe" />
26
27 <p class="wtotem_not-working__text">
28 {{ message }}
29 </p>
30 {% if is_cabinet_link %}
31 <a class="wtotem_button wtotem_control__btn wtotem-mb-15" href="{{ cabinet_link }}" target="_blank">
32 {{ 'Go to the cabinet'|trans }}
33 </a>
34 {% endif %}
35 {% if is_bnt %}
36 <div class="wtotem_button wtotem_control__btn open-popup wtotem-mb-15" data-action="reinstall_agents">
37 <img src="{{ images_path }}reload.svg" alt=""> <span>{{ 'Reinstall agents'|trans }}</span>
38 </div>
39 <div class="wtotem_button wtotem_control__btn open-popup" data-action="logout">
40 {{ 'API-key change'|trans }}
41 </div>
42 {% endif %}
43 </div>