| 1 |
<?php if (!defined('ABSPATH') && !defined('BITFORMS_ASSET_URI')) { exit; } ?> |
| 2 |
|
| 3 |
<noscript>You need to enable JavaScript to run this app.</noscript> |
| 4 |
<div id="btcd-app"> |
| 5 |
<div |
| 6 |
style="display: flex;flex-direction: column;justify-content: center;align-items: center;height: 90vh;font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;"> |
| 7 |
<img alt="bitform-logo" class="bit-logo" width="70" src="<?php echo BITFORMS_ASSET_URI; ?>/img/logo.svg"> |
| 8 |
<h1>Welcome to Bit Form.</h1> |
| 9 |
<p>Modern Form builder and database management system for Wordpress</p> |
| 10 |
</div> |
| 11 |
</div> |
| 12 |
<script defer type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.8/xlsx.full.min.js"></script> |
| 13 |
|
| 14 |
<?php if(defined('BIT_DEV') && BIT_DEV){ ?> |
| 15 |
<script type="module"> |
| 16 |
import RefreshRuntime from "<?php echo BIT_DEV; ?>/@react-refresh" |
| 17 |
RefreshRuntime.injectIntoGlobalHook(window) |
| 18 |
window.$RefreshReg$ = () => { } |
| 19 |
window.$RefreshSig$ = () => (type) => type |
| 20 |
window.__vite_plugin_react_preamble_installed__ = true |
| 21 |
</script> |
| 22 |
<script type="module" src="<?php echo BIT_DEV; ?>/@vite/client"></script> |
| 23 |
<script type="module" src="<?php echo BIT_DEV; ?>/index.jsx"></script> |
| 24 |
<?php } ?> |