mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 09:25:45 +08:00
Initial commit
This commit is contained in:
commit
ee50200fe7
353 changed files with 78977 additions and 0 deletions
37
functions/kirki/controls/views/number.php
Normal file
37
functions/kirki/controls/views/number.php
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
/**
|
||||
* Customizer controls underscore.js template.
|
||||
*
|
||||
* @package Kirki
|
||||
* @subpackage Controls
|
||||
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 3.0.27
|
||||
*/
|
||||
|
||||
?>
|
||||
<#
|
||||
data = _.defaults( data, {
|
||||
label: '',
|
||||
description: '',
|
||||
inputAttrs: '',
|
||||
value: '',
|
||||
'data-id': ''
|
||||
} );
|
||||
#>
|
||||
|
||||
<div class="kirki-input-container" data-id="{{ data['data-id'] }}">
|
||||
<label>
|
||||
<# if ( data.label ) { #>
|
||||
<span class="customize-control-title">{{{ data.label }}}</span>
|
||||
<# } #>
|
||||
<# if ( data.description ) { #>
|
||||
<span class="description customize-control-description">{{{ data.description }}}</span>
|
||||
<# } #>
|
||||
<div class="customize-control-content">
|
||||
<input {{{ data.inputAttrs }}} type="text" value="{{ data.value }}" data-id="{{ data['data-id'] }}"/>
|
||||
<div class="quantity button minus">-</div>
|
||||
<div class="quantity button plus">+</div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue