| 1 |
<?php |
| 2 |
/** |
| 3 |
* Display |
| 4 |
* |
| 5 |
* @package Wow_Pluign |
| 6 |
* @copyright Copyright (c) 2018, Dmytro Lobov |
| 7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 |
* @since 1.0 |
| 9 |
*/ |
| 10 |
if ( ! defined( 'ABSPATH' ) ) { |
| 11 |
exit; |
| 12 |
} |
| 13 |
include_once( 'options/display.php' ); |
| 14 |
|
| 15 |
?> |
| 16 |
<fieldset class="itembox"> |
| 17 |
<legend> |
| 18 |
<?php esc_attr_e( 'Show on devices', 'floating-button' ); ?> |
| 19 |
</legend> |
| 20 |
<div class="columns is-multiline"> |
| 21 |
|
| 22 |
<div class="column is-6"> |
| 23 |
<label class="checkbox label checkLabel"> |
| 24 |
<?php self::option( $include_more_screen ); ?><?php esc_attr_e( "Don't show on screens more", 'floating-button' ); ?><?php self::tooltip( $show_screen_help ); ?> |
| 25 |
</label> |
| 26 |
<div class="field has-addons"> |
| 27 |
<?php self::option( $screen_more ); ?> |
| 28 |
<div class="control"> |
| 29 |
<span class="addon">px</span> |
| 30 |
</div> |
| 31 |
</div> |
| 32 |
</div> |
| 33 |
|
| 34 |
<div class="column is-6"> |
| 35 |
<label class="checkbox label checkLabel"> |
| 36 |
<?php self::option( $include_mobile ); ?><?php esc_attr_e( "Don't show on screens less", 'floating-button' ); ?><?php self::tooltip( $include_mobile_help ); ?> |
| 37 |
</label> |
| 38 |
<div class="field has-addons"> |
| 39 |
<?php self::option( $screen ); ?> |
| 40 |
<div class="control"> |
| 41 |
<span class="addon">px</span> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
|
| 46 |
</div> |
| 47 |
</fieldset> |
| 48 |
|
| 49 |
<fieldset class="itembox"> |
| 50 |
<legend> |
| 51 |
<?php esc_attr_e( 'Font Awesome', 'floating-button' ); ?> |
| 52 |
</legend> |
| 53 |
<div class="columns is-multiline"> |
| 54 |
<div class="column is-4"> |
| 55 |
<label class="checkbox label"> |
| 56 |
<?php self::option( $disable_fontawesome ); ?><?php esc_attr_e( "Disable", 'floating-button' ); ?><?php self::tooltip( $disable_fontawesome_help ); ?> |
| 57 |
</label> |
| 58 |
</div> |
| 59 |
</div> |
| 60 |
</fieldset> |
| 61 |
|