| 1 |
<?php |
| 2 |
/** |
| 3 |
* URL links |
| 4 |
* |
| 5 |
* @package Lasso URL links |
| 6 |
*/ |
| 7 |
|
| 8 |
use LassoLite\Classes\Enum; |
| 9 |
use LassoLite\Classes\Helper; |
| 10 |
|
| 11 |
$bulk_revert = $_GET['bulk-revert'] ?? ''; |
| 12 |
$page = $_GET['page'] ?? ''; |
| 13 |
?> |
| 14 |
|
| 15 |
<div class="row align-items-center"> |
| 16 |
<!-- TITLE --> |
| 17 |
<div class="col-lg mb-4 text-lg-left text-center"> |
| 18 |
<?php if ( Helper::add_prefix_page( Enum::PAGE_IMPORT ) === $page ): ?> |
| 19 |
<h1 class="m-0 mr-2 d-inline-block align-middle">Import</h1> |
| 20 |
|
| 21 |
<a href="https://support.getlasso.co/en/articles/4005802-how-to-import-link-from-another-plugin" target="_blank" class="btn btn-sm learn-btn"> |
| 22 |
<i class="far fa-info-circle"></i> Learn |
| 23 |
</a> |
| 24 |
<?php endif; ?> |
| 25 |
|
| 26 |
<button id="btn-bulk-import" class="btn btn-sm"> |
| 27 |
Bulk Import |
| 28 |
</button> |
| 29 |
|
| 30 |
<?php if ( ! empty( $bulk_revert ) ) { ?> |
| 31 |
<button class="btn btn-sm red-bg" data-toggle="modal" data-target="#revert-all-confirm"> |
| 32 |
Bulk Revert |
| 33 |
</button> |
| 34 |
<?php } ?> |
| 35 |
</div> |
| 36 |
|
| 37 |
<div class="col-lg text-center large mb-4"> |
| 38 |
<select name="filter_plugin" id="filter-plugin" class="form-control"> |
| 39 |
<option value="">All Plugins</option> |
| 40 |
</select> |
| 41 |
</div> |
| 42 |
|
| 43 |
<!-- IMPORT SEARCH --> |
| 44 |
<div class="col-lg-4 mb-4"> |
| 45 |
<form role="search" method="get" id="links-filter" autocomplete="off"> |
| 46 |
<div id="search-links"> |
| 47 |
<input type="search" id="link-search-input" name="link-search-input" class="form-control" placeholder="Search URLs to Import"> |
| 48 |
</div> |
| 49 |
</form> |
| 50 |
</div> |
| 51 |
|
| 52 |
</div> |
| 53 |
|