| @@ -3,15 +3,10 @@ | ||
| 3 | 3 | * Page Name: HTML |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | use WPCoder\Dashboard\Field; |
| 7 | -use WPCoder\Dashboard\Option; | |
| 8 | 7 | |
| 9 | 8 | defined( 'ABSPATH' ) || exit; |
| 10 | - | |
| 11 | -$default = Field::getDefault(); | |
| 12 | -$opt = include( 'options/html-code.php' ); | |
| 13 | - | |
| 14 | 9 | ?> |
| 15 | 10 | |
| 16 | 11 | <h4> |
| 17 | 12 | <span class="codericon codericon-filetype-html"></span> |
| @@ -18,26 +13,12 @@ | ||
| 18 | 13 | <?php |
| 19 | 14 | esc_html_e( 'HTML Code', 'wpcoder' ); ?> |
| 20 | 15 | </h4> |
| 21 | 16 | |
| 22 | - <fieldset> | |
| 23 | - <legend><?php esc_html_e( 'Settings', 'wpcoder' ); ?></legend> | |
| 24 | - <?php Option::init( [ | |
| 25 | - $opt['minified'], | |
| 26 | - ] ); ?> | |
| 27 | - | |
| 28 | - </fieldset> | |
| 29 | - | |
| 30 | - <fieldset> | |
| 31 | - <div class="wowp-field"> | |
| 32 | - <ol id="htmlNavigationMenu" class="wowp-php-nav-menu"></ol> | |
| 33 | - <button class="button-editor button" id="htmlnav">Add NAV Comment</button> | |
| 34 | - </div> | |
| 35 | - <div class="wowp-field add-img-btn _m-is-auto"> | |
| 36 | - <button class="button button-primary button-add-img">Add Image</button> | |
| 37 | - </div> | |
| 38 | - </fieldset> | |
| 39 | - | |
| 17 | + <div class="wowp-field is-full wowp-code-nav"> | |
| 18 | + <ol id="htmlNavigationMenu" class="wowp-php-nav-menu"></ol> | |
| 19 | + <span class="button-editor" id="htmlnav">Add NAV Comment</span> | |
| 20 | + </div> | |
| 40 | 21 | |
| 41 | 22 | <?php Field::textarea( 'html_code' ); ?> |
| 42 | 23 | |
| 43 | 24 | <div class="wowp-notification -info"> |