PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
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 +43 -7 1.5.23.3.1 View file →
@@ -1,15 +1,51 @@
1 1 <?php
2 -if (!defined('ABSPATH') && !defined('BITFORMS_ASSET_URI')) {
2 +// This file is included via require_once inside Admin_Bar::RootPage(); $logoUrl is in that method's local scope, not global namespace.
3 +if (!defined('ABSPATH')) {
3 4 exit;
4 5 }
6 +if (!defined('BITFORMS_ASSET_URI')) {
7 + exit;
8 +}
9 +
10 +$logoUrl = BITFORMS_ASSET_URI . '/logo-black.svg';
11 +
5 12 ?>
13 +
6 14 <noscript>You need to enable JavaScript to run this app.</noscript>
15 +<style>
16 +.__root-wrp {
17 + display: grid;
18 + place-content: center;
19 + height: 90vh;
20 + text-align: center;
21 + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
22 +}
23 +
24 +.__root-logo {
25 + margin-inline: auto;
26 + border-radius: 8px;
27 +}
28 +
29 +.__root-title {
30 + color: white;
31 +}
32 +
33 +.__root-subtitle {
34 + color: gray;
35 +}
36 +</style>
37 +
7 38 <div id="btcd-app">
8 - <div
9 - style="display: flex;flex-direction: column;justify-content: center;align-items: center;height: 90vh;font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">
10 - <img alt="bitform-logo" class="bit-logo" width="70" src="<?php echo BITFORMS_ASSET_URI; ?>/img/logo.svg">
11 - <h1>Welcome to Bit Form.</h1>
12 - <p>Modern Form builder and database management system for Wordpress</p>
39 + <div class="__root-wrp">
40 + <img alt="bitform-logo" class="__root-logo" width="40" src="<?php echo esc_url($logoUrl) ?>">
41 + <h1 class="__root-title">Welcome to Bit Form.</h1>
42 + <p class="__root-subtitle">Modern form solution in Wordpress</p>
13 43 </div>
14 44 </div>
15 -<script defer type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.8/xlsx.full.min.js"></script>
45 +<script>
46 +const {
47 + backgroundColor
48 +} = window.getComputedStyle(document.querySelector('#wpadminbar'))
49 +document.querySelector('#wpbody').style.backgroundColor = backgroundColor
50 +document.querySelector('#wpcontent').style.paddingLeft = 0
51 +</script>