| 1 |
<?php |
| 2 |
/** |
| 3 |
* Import |
| 4 |
* |
| 5 |
* @package Import |
| 6 |
*/ |
| 7 |
|
| 8 |
use LassoLite\Classes\Config; |
| 9 |
use LassoLite\Classes\Helper; |
| 10 |
?> |
| 11 |
<?php Config::get_header(); ?> |
| 12 |
|
| 13 |
<!-- IMPORT --> |
| 14 |
<input id="total-posts" class="d-none" value="0" /> |
| 15 |
<section class="px-3 py-5"> |
| 16 |
<div class="lite-container min-height"> |
| 17 |
<?php require_once 'header.php'; ?> |
| 18 |
|
| 19 |
<!-- LINKS TO IMPORT --> |
| 20 |
<div class="white-bg rounded shadow"> |
| 21 |
<div class="px-4 pt-4 pb-2 font-weight-bold dark-gray d-lg-block"> |
| 22 |
<div class="row align-items-center"> |
| 23 |
<div class="col-4">Link Title</div> |
| 24 |
<div class="col">Import Target</div> |
| 25 |
<div class="col-1">Plugin</div> |
| 26 |
<div class="col-1 text-center"></div> |
| 27 |
<div class="col-1 text-center"></div> |
| 28 |
</div> |
| 29 |
</div> |
| 30 |
|
| 31 |
<div id="report-content"></div> |
| 32 |
</div> |
| 33 |
|
| 34 |
<!-- PAGINATION --> |
| 35 |
<div class="pagination row align-items-center no-gutters pb-3 pt-0"></div> |
| 36 |
</div> |
| 37 |
|
| 38 |
</section> |
| 39 |
|
| 40 |
<!-- MODALS --> |
| 41 |
<?php require_once SIMPLE_URLS_DIR . '/admin/views/modals/import-all-confirm.php'; ?> |
| 42 |
<?php require_once SIMPLE_URLS_DIR . '/admin/views/modals/revert-all-confirm.php'; ?> |
| 43 |
<?php require_once SIMPLE_URLS_DIR . '/admin/views/modals/import-confirm.php'; ?> |
| 44 |
<?php require_once SIMPLE_URLS_DIR . '/admin/views/modals/revert-confirm.php'; ?> |
| 45 |
<?php require_once SIMPLE_URLS_DIR . '/admin/views/modals/url-save.php'; ?> |
| 46 |
|
| 47 |
<?php |
| 48 |
$page = $_GET['page'] ?? ''; |
| 49 |
$template_variables = array( 'page' => $page ); |
| 50 |
Helper::include_with_variables( SIMPLE_URLS_DIR . '/admin/assets/js/import-js.php', $template_variables, false ); |
| 51 |
?> |
| 52 |
<?php echo Helper::wrapper_js_render( 'default-template-notification', Helper::get_path_views_folder() . '/notifications/default-template-jsrender.html' )?> |
| 53 |
|
| 54 |
<?php Config::get_footer(); ?> |
| 55 |
|