PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.15.3
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.15.3
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | views/view-root.php +31 -16 2.10.22.15.3 View file →
@@ -1,31 +1,46 @@
1 1 <?php if (!defined('ABSPATH') && !defined('BITFORMS_ASSET_URI')) {
2 2 exit;
3 -} ?>
3 +}
4 4
5 +$logoUrl = BITFORMS_ASSET_URI . '/logo.svg';
6 +
7 +?>
8 +
5 9 <noscript>You need to enable JavaScript to run this app.</noscript>
6 10 <style>
7 - .__root-wrp{
8 - display: grid;
9 - place-content:center;
10 - height: 90vh;
11 - text-align: center;
12 - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
13 - }
14 - .__root-logo{margin-inline: auto;}
15 - .__root-title{color:white;}
16 - .__root-subtitle{color:gray;}
11 +.__root-wrp {
12 + display: grid;
13 + place-content: center;
14 + height: 90vh;
15 + text-align: center;
16 + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
17 +}
18 +
19 +.__root-logo {
20 + margin-inline: auto;
21 +}
22 +
23 +.__root-title {
24 + color: white;
25 +}
26 +
27 +.__root-subtitle {
28 + color: gray;
29 +}
17 30 </style>
18 31
19 32 <div id="btcd-app">
20 33 <div class="__root-wrp">
21 - <img alt="bitform-logo" class="__root-logo" width="40" src="<?php echo BITFORMS_ASSET_URI; ?>/logo.svg">
34 + <img alt="bitform-logo" class="__root-logo" width="40" src="<?php echo esc_url($logoUrl) ?>">
22 35 <h1 class="__root-title">Welcome to Bit Form.</h1>
23 36 <p class="__root-subtitle">Modern form solution in Wordpress</p>
24 37 </div>
25 38 </div>
26 39 <script>
27 - const { backgroundColor } = window.getComputedStyle(document.querySelector('#wpadminbar'))
28 - document.querySelector('#wpbody').style.backgroundColor = backgroundColor
29 - document.querySelector('#wpcontent').style.paddingLeft = 0
40 +const {
41 + backgroundColor
42 +} = window.getComputedStyle(document.querySelector('#wpadminbar'))
43 +document.querySelector('#wpbody').style.backgroundColor = backgroundColor
44 +document.querySelector('#wpcontent').style.paddingLeft = 0
30 45 </script>
31 -<script defer type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.8/xlsx.full.min.js"></script>
46 +<script defer type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.8/xlsx.full.min.js"></script>