| 1 |
<?php |
| 2 |
/* |
| 3 |
* Page Name: Main |
| 4 |
*/ |
| 5 |
|
| 6 |
use BubbleMenu\Admin\CreateFields; |
| 7 |
|
| 8 |
defined( 'ABSPATH' ) || exit; |
| 9 |
|
| 10 |
$page_opt = include( 'options/1.main.php' ); |
| 11 |
|
| 12 |
$field = new CreateFields( $options, $page_opt ); |
| 13 |
|
| 14 |
?> |
| 15 |
<details class="wpie-item menu-item" open> |
| 16 |
<summary class="wpie-item_heading"> |
| 17 |
<span class="wpie-item_heading_icon"></span> |
| 18 |
<span class="wpie-item_heading_label"></span> |
| 19 |
<span class="wpie-item_heading_type"></span> |
| 20 |
<span class="wpie-item_heading_sub"></span> |
| 21 |
</summary> |
| 22 |
<div class="wpie-item_content"> |
| 23 |
|
| 24 |
<div class="wpie-fieldset"> |
| 25 |
<div class="wpie-fields"> |
| 26 |
<?php $field->create( 'label' ); ?> |
| 27 |
<?php $field->create( 'label_on' ); ?> |
| 28 |
</div> |
| 29 |
</div> |
| 30 |
|
| 31 |
<div class="wpie-tabs-wrapper"> |
| 32 |
|
| 33 |
<div class="wpie-tabs-link"> |
| 34 |
<a class="wpie-tab__link is-active"><?php esc_html_e( 'Settings', 'bubble-menu' ); ?></a> |
| 35 |
<a class="wpie-tab__link"><?php esc_html_e( 'Icon', 'bubble-menu' ); ?></a> |
| 36 |
<a class="wpie-tab__link"><?php esc_html_e( 'Style', 'bubble-menu' ); ?></a> |
| 37 |
<a class="wpie-tab__link"><?php esc_html_e( 'Attributes', 'bubble-menu' ); ?></a> |
| 38 |
</div> |
| 39 |
|
| 40 |
<div class="wpie-tab-settings is-active"> |
| 41 |
<div class="wpie-fieldset"> |
| 42 |
<div class="wpie-fields"> |
| 43 |
<?php $field->create( 'position' ); ?> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
</div> |
| 47 |
|
| 48 |
<div class="wpie-tab-settings"> |
| 49 |
<div class="wpie-fieldset"> |
| 50 |
<div class="wpie-fields"> |
| 51 |
<?php $field->create( 'icon_type' ); ?> |
| 52 |
<?php $field->create( 'icon' ); ?> |
| 53 |
</div> |
| 54 |
</div> |
| 55 |
</div> |
| 56 |
|
| 57 |
<div class="wpie-tab-settings"> |
| 58 |
<div class="wpie-fieldset"> |
| 59 |
<div class="wpie-fields"> |
| 60 |
<?php $field->create( 'animation' ); ?> |
| 61 |
<?php $field->create( 'shapes' ); ?> |
| 62 |
<?php $field->create( 'size' ); ?> |
| 63 |
<?php $field->create( 'shadow' ); ?> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
<div class="wpie-fieldset"> |
| 67 |
<div class="wpie-legend"><?php esc_html_e('Item', 'bubble-menu');?></div> |
| 68 |
<div class="wpie-fields"> |
| 69 |
<?php $field->create( 'color' ); ?> |
| 70 |
<?php $field->create( 'background_color' ); ?> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
<div class="wpie-fieldset"> |
| 74 |
<div class="wpie-legend"><?php esc_html_e('Label', 'bubble-menu');?></div> |
| 75 |
<div class="wpie-fields"> |
| 76 |
<?php $field->create( 'label_position' ); ?> |
| 77 |
<?php $field->create( 'label_color' ); ?> |
| 78 |
<?php $field->create( 'label_background_color' ); ?> |
| 79 |
</div> |
| 80 |
</div> |
| 81 |
</div> |
| 82 |
|
| 83 |
<div class="wpie-tab-settings"> |
| 84 |
<div class="wpie-fieldset"> |
| 85 |
<div class="wpie-fields"> |
| 86 |
<?php $field->create( 'attribute_id' ); ?> |
| 87 |
<?php $field->create( 'attribute_class' ); ?> |
| 88 |
<?php $field->create( 'attribute_rel' ); ?> |
| 89 |
</div> |
| 90 |
</div> |
| 91 |
</div> |
| 92 |
|
| 93 |
</div> |
| 94 |
</div> |
| 95 |
</details> |
| 96 |
<?php |
| 97 |
|