PluginProbe
WebTotem Security / 2.3.2
WebTotem Security v2.3.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 2.2.4 All 109 releases
wt-security / includes / layout.php

layout.php in WebTotem Security 2.3.2, at includes/layout.php

132 lines 6.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div>
2 <?php
3 $color_scheme = WTSEC_LIBRARY_App::_get('color_scheme');
4 $class = ($color_scheme == 'dark') ? 'wtotem_theme—dark' : 'wtotem_theme—light';
5 ?>
6
7 <script >
8 document.querySelector("body").classList.add("<?= $class ?>");
9 </script>
10 <div class="wt-loader-fixed wt-loader d-none" style="height: auto;">
11 <img src="<?=wtsec_getImagePath("spinner.svg")?>" alt="spinner">
12 <strong class="wt-text wt-text--uppercase wt-text--blue">Loading</strong>
13 </div>
14
15 <div class="wtotem_body">
16 <div class="wtotem_header wt_card">
17 <div class="wtotem_container">
18 <div class="wtotem_header__body">
19 <div class="wtotem_version">
20 <div class="wtotem_logo"></div>
21 <span class="wtotem_version__count">2.0</span>
22 </div>
23 <div class="wtotem_burger">
24 <span class="wtotem_burger__middle-line"></span>
25 </div>
26 <nav class="wtotem_nav">
27 <ul class="wtotem_nav__menu">
28 <div class="wtotem_control__checkbox" id="color_scheme_toggle">
29 <input type="checkbox" class="wtotem_control__input" id="control-checkbox" <?= ($color_scheme == 'dark') ? 'checked' : '' ?> />
30 <label for="control-checkbox" class="wtotem_control__label">
31 <span class="wtotem_control__switched-circle"></span>
32 </label>
33 </div>
34
35 <li class="wtotem_nav__item">
36 <a href="<?=wtsec_getUrl("dashboard")?>" class="wtotem_nav__link <?= wtsec_isActivePage("dashboard") ?>">
37 <?= wtsec_locale("dashboard") ?>
38 </a>
39 </li>
40 <li class="wtotem_nav__item">
41 <a href="<?=wtsec_getUrl("waf")?>" class="wtotem_nav__link <?= wtsec_isActivePage("waf") ?>">
42 <?= wtsec_locale("firewall") ?>
43 </a>
44 </li>
45 <li class="wtotem_nav__item">
46 <a href="<?=wtsec_getUrl("vc")?>" class="wtotem_nav__link <?= wtsec_isActivePage("vc") ?>">
47 <?= wtsec_locale("remote_antivirus") ?>
48 </a>
49 </li>
50 <li class="wtotem_nav__item">
51 <a href="<?=wtsec_getUrl("options")?>" class="wtotem_nav__link <?= wtsec_isActivePage("options") ?>">
52 <?= wtsec_locale("settings") ?>
53 </a>
54 </li>
55 <li class="wtotem_nav__item">
56 <a href="<?=wtsec_getUrl("reports")?>" class="wtotem_nav__link <?= wtsec_isActivePage("reports") ?>">
57 <?= wtsec_locale("reports") ?>
58 </a>
59 </li>
60 <li class="wtotem_nav__item">
61 <a href="<?=wtsec_getUrl("information")?>" class="wtotem_nav__link <?= wtsec_isActivePage("information") ?>">
62 <?= wtsec_locale("information") ?>
63 </a>
64 </li>
65 </ul>
66 </nav>
67 </div>
68 </div>
69 </div>
70 <div class="wtotem_content" style="padding:1px">
71 <div class="wtotem_container">
72 <?php WTSEC_LIBRARY_Session::notifications() ?>
73 </div>
74 </div>
75 <?php include $body;?>
76
77 <div class="wtotem_footer">
78 <div class="wtotem_container">
79 <div class="wtotem_footer__first">
80 <div class="wtotem_footer__caption">
81 <div class="wtotem_footer__logo"></div>
82 <p class="wtotem_footer__text">
83 <?= wtsec_locale("your_best_friend") ?>
84 </p>
85 </div>
86 </div>
87
88 <div class="wtotem_footer__line"></div>
89
90 <div class="wtotem_footer__bottom">
91 <div class="wtotem_footer__left">
92 <p class="wtotem_footer__text">
93 © 2017-2020 <?= wtsec_locale("all_right_reserved") ?>
94 </p>
95 <a target="_blank" href="https://apps.apple.com/us/app/webtotem/id1289069562" class="wtotem_footer__store">
96 <div class="wtotem_footer__app-store"></div>
97 </a>
98 <a target="_blank" href="https://play.google.com/store/apps/details?id=com.indepo.webtotem" class="wtotem_footer__store">
99 <div class="wtotem_footer__play-store"></div>
100 </a>
101 </div>
102 <div class="wtotem_footer__soc">
103 <a target="_blank" href="https://www.facebook.com/webtotem" class="wtotem_footer__soc-link">
104 <img src="<?=wtsec_getImagePath("fc.svg")?>" alt="Facebook icon" />
105 </a>
106 <a target="_blank" href="https://www.linkedin.com/company/wtotem/" class="wtotem_footer__soc-link">
107 <img src="<?=wtsec_getImagePath("lk.svg")?>" alt="Linkedin icon" />
108 </a>
109 <a target="_blank" href="https://www.youtube.com/channel/UCD-n_NIXTOmw4Nm-LcmW1XA/featured" class="wtotem_footer__soc-link">
110 <img src="<?=wtsec_getImagePath("youtube.svg")?>" alt="Youtube icon" />
111 </a>
112 </div>
113 <div class="wtotem_footer__payment">
114 <img class="wtotem_footer__card wtotem_footer__card_visa" src="<?=wtsec_getImagePath("visa.svg")?>" alt="Visa"/>
115 <img class="wtotem_footer__card wtotem_footer__card_master" src="<?=wtsec_getImagePath("master-card.svg")?>" alt="Master wt_card"/>
116 <img class="wtotem_footer__card wtotem_footer__card_payPal" src="<?=wtsec_getImagePath("paypal.svg")?>" alt="PayPal"/>
117 </div>
118 </div>
119 </div>
120 </div>
121 </div>
122 </div>
123 <style>
124 /* wp default styles override*/
125
126 #wpcontent{
127 padding:0!important;
128 }
129
130 /* wp default styles override*/
131 </style>
132