| @@ -1,0 +1,34 @@ | ||
| 1 | +<?php | |
| 2 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 3 | + exit; | |
| 4 | +} | |
| 5 | +?> | |
| 6 | +<style> | |
| 7 | +.notificationx-disabled-javascript-notice { | |
| 8 | + font-size: 20px; | |
| 9 | + width: 700px; | |
| 10 | + border: 1px solid #ffcece; | |
| 11 | + padding: 30px; | |
| 12 | + background: #fff; | |
| 13 | +} | |
| 14 | +</style> | |
| 15 | +<hr class="wp-header-end"/> | |
| 16 | +<div class="wrap"> | |
| 17 | + <div class="notificationx-admin"> | |
| 18 | + <noscript> | |
| 19 | + <p class="notificationx-disabled-javascript-notice"> | |
| 20 | + <?php | |
| 21 | + echo wp_kses_post( | |
| 22 | + // translators: html tags | |
| 23 | + __( 'To work <strong><em>NotificationX</em></strong> properly you need to <strong>Enable JavaScript</strong> in your browser or make sure you have installed updated browser in your device.', 'notificationx' ) | |
| 24 | + ); | |
| 25 | + ?> | |
| 26 | + </p> | |
| 27 | + </noscript> | |
| 28 | + <div id="notificationx"> | |
| 29 | + <div style="display: flex;align-items: center;justify-content: center;height: 60vh;"> | |
| 30 | + <img src="<?php echo esc_url( self::ASSET_URL . 'images/logos/logo-preloader.gif' ); ?>" alt=""> | |
| 31 | + </div> | |
| 32 | + </div> | |
| 33 | + </div> | |
| 34 | +</div> | |