| 1 |
<?php |
| 2 |
/** |
| 3 |
* Dashboard container. |
| 4 |
* |
| 5 |
* The screen is rendered by src/dashboard/ into this node. Everything it needs |
| 6 |
* is preloaded on `window.subscrptDashboard` by Admin\Dashboard::enqueue(). |
| 7 |
* |
| 8 |
* The fallback below is what a visitor sees if the bundle fails to load — a |
| 9 |
* blank page with no explanation is the worst outcome for a landing screen. |
| 10 |
* |
| 11 |
* @package SpringDevs\Subscription\Admin |
| 12 |
*/ |
| 13 |
|
| 14 |
defined( 'ABSPATH' ) || exit; |
| 15 |
?> |
| 16 |
|
| 17 |
<div class="wp-subscription-admin-content list-page"> |
| 18 |
<div id="subscrpt-dashboard" class="subscrpt-dashboard"> |
| 19 |
<noscript> |
| 20 |
<p><?php esc_html_e( 'The dashboard needs JavaScript. Use the menu on the left to reach your subscriptions.', 'subscription' ); ?></p> |
| 21 |
</noscript> |
| 22 |
</div> |
| 23 |
</div> |
| 24 |
|