PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.1.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.1.2
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 2.10.2 All 137 releases
bit-form / views / view-root.php

view-root.php in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 3.1.2, at views/view-root.php

51 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
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')) {
4 exit;
5 }
6 if (!defined('BITFORMS_ASSET_URI')) {
7 exit;
8 }
9
10 $logoUrl = BITFORMS_ASSET_URI . '/logo-black.svg';
11
12 ?>
13
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
38 <div id="btcd-app">
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>
43 </div>
44 </div>
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>