Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<span>
<?php echo __( 'A placeholder will be displayed in the editor for posts that have no image set.', 'thrive-cb' ); ?>
</span>

View File

@@ -0,0 +1,22 @@
<div class="control-grid mb-10 custom-fields-state" data-state="static">
<label class="label"><?php echo __( 'Source', 'thrive-cb' ) ?></label>
<select class="v-source change input" data-fn="selectSource">
</select>
</div>
<div class="custom-fields-state" data-state="static">
<div class="v-settings" id="a-settings-custom" data-view="custom"></div>
<div class="v-settings" style="display:none" id="a-settings-soundcloud" data-view="soundcloud"><?php tcb_template( 'actions/audio-providers/soundcloud' ) ?></div>
<div class="v-settings" style="display:none" id="a-settings-spotify" data-view="spotify"><?php tcb_template( 'actions/audio-providers/spotify' ) ?></div>
</div>
<div class="tve-advanced-controls mt-10">
<div class="dropdown-header" data-prop="advanced">
<span>
<?php echo __( 'Advanced', 'thrive-cb' ); ?>
</span>
</div>
<div class="dropdown-content clear-top">
<div class="a-checkbox-settings" id="a-checkbox-settings-custom" data-setting="custom" style="display:none"><?php tcb_template( 'actions/audio-providers/custom-extra' ) ?></div>
<div class="a-checkbox-settings" id="a-checkbox-settings-soundcloud" data-setting="soundcloud" style="display:none"><?php tcb_template( 'actions/audio-providers/soundcloud-extra' ) ?></div>
</div>
</div>

View File

@@ -0,0 +1,19 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 2/9/2018
* Time: 2:48 PM
*/
?>
<label><?php echo __( 'Select Background Effect', 'thrive-cb' ) ?></label>
<div class="drop-panel-control tcb-background-effect-select tve-control"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="opacity"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="grayscale"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="brightness"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="sepia"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="contrast"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="invert"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="saturate"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="blur"></div>
<div class="drop-panel-control tcb-background-effect-slider tve-control" data-key="hue-rotate"></div>

View File

@@ -0,0 +1,43 @@
<div class="image-picker-wrapper"></div>
<div class="control-grid">
<div>
<label><?php echo __( 'Image display', 'thrive-cb' ) ?></label>
<select id="bg-image-prop" class="change" data-fn="prop">
<option value="size:auto"><?php echo __( 'Default', 'thrive-cb' ) ?></option>
<option value="size:cover"><?php echo __( 'Cover', 'thrive-cb' ) ?></option>
<option value="size:contain"><?php echo __( 'Contain', 'thrive-cb' ) ?></option>
<option value="size:percentage"><?php echo __( 'Percentage', 'thrive-cb' ) ?></option>
</select>
</div>
<div class="tve-scale-fit">
<div class="bg-image-position-area tcb-disabled">
<div class="bg-image-control click" data-fn="set_position" data-value="0%:0%" style="position: absolute; top:-3px; left: -3px;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="50%:0%" style="position: absolute; top:-4px; left: 45%;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="100%:0%" style="position: absolute; top:-3px; right: -3px;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="0%:50%" style="position: absolute; top:45%; left: -4px;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="50%:50%" style="position: absolute; top:45%; left: 45%;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="100%:50%" style="position: absolute; top:45%; right: -4px;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="0%:100%" style="position: absolute; bottom: -3px; left: -3px;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="50%:100%" style="position: absolute; bottom: -4px; left: 45%;"></div>
<div class="bg-image-control click" data-fn="set_position" data-value="100%:100%" style="position: absolute; bottom:-3px; right: -3px;"></div>
</div>
</div>
</div>
<div class="control-grid tve-background-image-repeat tcb-hidden">
<div>
<label><?php echo __( 'Repeat', 'thrive-cb' ) ?></label>
<select id="bg-image-repeat-prop" class="change" data-fn="prop">
<option value="repeat:no-repeat"><?php echo __( 'No repeat', 'thrive-cb' ) ?></option>
<option value="repeat:repeat-y"><?php echo __( 'Repeat vertically', 'thrive-cb' ) ?></option>
<option value="repeat:repeat-x"><?php echo __( 'Repeat horizontally', 'thrive-cb' ) ?></option>
<option value="repeat:repeat"><?php echo __( 'Repeat both', 'thrive-cb' ) ?></option>
</select>
</div>
</div>
<div class="tve-image-size-percentages">
<div class="drop-panel-control tve-image-width tve-control"></div>
<div class="drop-panel-control tve-image-height tve-control"></div>
</div>
<div class="control-grid p-0 tve-static-background-image-control">
<label class="tcb-checkbox"><input type="checkbox" class="change" id="bg-static" data-fn="static" value="1"><span><?php echo __( 'Static background image', 'thrive-cb' ) ?></span></label>
</div>

View File

@@ -0,0 +1,16 @@
<div class="tve-drag-image-wrapper">
<div class="tve-drag-image tve-drag-image-overlay"></div>
<div class="tve-drag-image tve-drag-image-handle" data-key="default">
<?php tcb_icon( 'arrows-alt-regular' ) ?>
<span><?php echo __( 'Drag to Reposition', 'thrive-cb' ) ?></span>
</div>
<div class="tve-drag-image tve-drag-image-handle" data-key="height">
<?php tcb_icon( 'arrows-alt-v-regular' ) ?>
<span><?php echo __( 'Move Up or Down to Reposition', 'thrive-cb' ) ?></span>
</div>
<div class="tve-drag-image tve-drag-image-handle" data-key="width">
<?php tcb_icon( 'arrows-alt-h-regular' ) ?>
<span><?php echo __( 'Move Left or Right to Reposition', 'thrive-cb' ) ?></span>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<div class="tve-border-toggle-color"></div>
<div class="flex-mid pb-10 space-between">
<div class="flex-mid boxes pr-15">
<div class="border-boxes">
<div class="tve-border-side click top" data-fn="borderSide" data-value="top"></div>
<div class="tve-border-side click left" data-fn="borderSide" data-value="left"></div>
<div class="tve-border-side click right" data-fn="borderSide" data-value="right"></div>
<div class="tve-border-side click bottom" data-fn="borderSide" data-value="bottom"></div>
<div class="tve-border-side default center click" data-fn="borderSide" data-value=""></div>
</div>
</div>
<div class="tve-border-settings">
<div class="flex pb-10 space-between">
<div class="tcb-color-toggle-element tve-border-color hide-input mr-10"></div>
<div class="tcb-color-toggle-element tve-border-gradient hide-input mr-10"></div>
<div class="tve-border-width no-space input-small"></div>
</div>
<div class="tve-border-style no-space"></div>
</div>
</div>

View File

@@ -0,0 +1,28 @@
<div class="<#=this.get_css_class()#>button-group-holder control-grid no-space tve-group-<#= (this.model.config.name || '').replace(/ /g,'-') #>">
<# if(this.model.config.name) { #><span class="button-group-name label grey-text">
<#= this.model.config.name #>
<# if ( this.model.config.instructions ) { #>
<span class="click" data-type="<#=this.model.config.instructions.type#>" data-url="<#=this.model.config.instructions.url#>" data-link="<#=this.model.config.instructions.link#>" data-fn="openInstructionsLightbox"><#= TVE.icon( this.model.config.instructions.type + "-instructions" ) #></span>
<# } #>
<# if ( this.model.config.info ) { #>
<span class="click tcb-vertical-info" data-paneltlt-hover data-fn="openTooltip" <#= this.model.config.icontooltip ? 'data-tooltip="' + this.model.config.icontooltip + '"' : ''#> <#= this.model.config.iconside ? 'data-side="' + this.model.config.iconside + '"' : ''#>><?php tcb_icon( 'info-circle-solid' ); ?></span>
<# } #>
</span>
<# } #>
<div class="items-<#=this.model.config.buttons.length#> input tve-btn-group">
<# _.each(this.get_buttons(), function(button) { #>
<div class="tve-btn click <#= button.default? 'active default':'' #> <#= button.text=='' || !button.text ?'':'btn-text' #>"
<#= button.tooltip ? ' data-tooltip="' + button.tooltip + '"' : ''#> <#= button.tooltip_side ? ' data-side="' + button.tooltip_side + '"' : ''#>
<# button.data && _.each(button.data, function(v,k) { #> data-<#= k #>="<#= v #>" <# }); #>
data-fn="_click"
data-value="<#= button.value #>"<#= button.hidden ? ' style="display:none"' : '' #>>
<#= button.icon?TVE.icon(button.icon, 'svg', false, button.icon_cls || ''):'' #>
<#= button.text #>
</div>
<# }); #>
</div>
</div>
<div class="control-grid full-width">
<div style="display: none" class="fill tcb-text-right control-summary padding-top-5 w-100"></div>
<div style="display: none" class="info-text"><#=this.model.config.info_text || ''#></div>
</div>

View File

@@ -0,0 +1,14 @@
<div class="button-group-holder control-grid">
<# if ( this.data.label ) { #>
<div class="group-label label"><#=this.data.label#>:</div>
<# } #>
<div class="tve-btn-group input <#=this.data.group_class || 'grey'#>">
<# _.each( this.data.buttons, function( btn, key ) { #>
<div class="btn-inline tve-btn click <#=btn.class || ''#>" data-fn="tab_click" data-panel="<#=key#>" data-tooltip="<#=btn.title#>" data-side="<#=this.get('data.tooltip_side', 'bottom')#>">
<#=this.icon( btn )#>
</div>
<# }, this ); #>
</div>
</div>

View File

@@ -0,0 +1,9 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 1/11/2018
* Time: 10:35 AM
*/
?>
<button class="click tve-button-toggle <#= this.model.config.class #>" data-fn="_click"><#= this.model.config.label #></button>

View File

@@ -0,0 +1,7 @@
<div class="button-item mb-5" data-name="<#= template.name #>">
<div class="tve-select-item tve-select-item-cloud click" data-value="<#= template.cls #>" data-fn="select">
<div class="tve-cloud-button">
<img src="<#= template.thumb #>" loading="lazy" width="<#= template.thumb_size.w #>" height="<#= template.thumb_size.h #>">
</div>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="button-item">
<div class="tve-select-item click" data-value="<#= template.cls #>" data-fn="select">
<div class="thrv_wrapper thrv-button <#= template.cls #>">
<a href="javascript:void(0);" class="tcb-button-link">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text <#= template.cls #>-prtext"><?php echo __( 'Button', 'thrive-cb' ); ?></span></span>
</a>
</div>
<p><#= template.name #></p>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="button-item">
<div class="tve-select-item click" data-value="<#=key #>" data-fn="select">
<div class="thrv-button">
<a href="#" class="tcb-button-link <#=key #>">
<p class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text"><?php echo __( 'Button', 'thrive-cb' ) ?></span></p>
</a>
</div>
<p><#=label #></p>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="button-category-label full-width"><?php echo strtoupper( __( 'Saved Templates', 'thrive-cb' ) ); ?></div>
<style><#=media_css #></style>
<# _.each( items, function ( template, k ) { #>
<div class="button-item template-button-item">
<div class="tve-select-item click" data-value="tcb-saved-button-template-<#=template['id'] #>" data-fn="select">
<#=template['content'].replace('href', 'data-href').replace('tcb-button-icon', 'tcb-button-icon tcb-hidden') #>
<p><#=template.label#></p>
</div>
</div>
<# }); #>

View File

@@ -0,0 +1,8 @@
<div class="panel-text">
<#= this.model.config.label #>
</div>
<div class="row middle-xs">
<# _.each(this.model.config.items, function(label, key) { #>
<#= this.render_item( key, label ) #>
<# }, this); #>
</div>

View File

@@ -0,0 +1,13 @@
<# if ( ! this.model.config.hide_name && this.model.config.name) { #>
<div class="grey-text">
<#= this.model.config.name #>
</div>
<# } #>
<label class="tcb-checkbox">
<input class="tve-checkbox change" type="checkbox" data-fn="check" <#= this.model.config.name? 'data-name="' + this.model.config.name + '"':'' #> value="<#= this.model.config.value ? this.model.config.value : 1 #>"
<#= this.model.config.checked || this.model.config.default ? 'checked' : '' #> >
<span class="grey-text"><#= this.model.config.label #></span>
<# if ( this.model.config.tooltip ) { #>
<p class="click m-0" data-tooltip="<#- this.model.config.tooltip #>" data-side="<#- this.model.config.tooltip_side #>"><?php tcb_icon( 'info-circle-solid' ); ?></p>
<# } #>
</label>

View File

@@ -0,0 +1,6 @@
<label class="tcb-checkbox">
<input class="tve-checkbox change" name="<#= item.get('name') #>" type="checkbox" data-fn="check" value="<#= item.value ? item.value : 1 #>">
<span>
<#= item.get('label') #>
</span>
</label>

View File

@@ -0,0 +1,23 @@
<# if ( this.model.config.flat || ( this.model.config.options && this.model.config.options.flat ) ) { #>
<div class="color-picker-control"><input type="text" class="color-picker"></div>
<# } else { #>
<div class="color-picker-control control-grid<#=this.getExtraClass()#>">
<# if(this.model.config.label || this.model.config.label_icon ) { #>
<div class="color-picker-label label">
<#= this.model.config.label_icon ? TVE.icon( this.model.config.label_icon ) : this.model.config.label #>
<# if ( this.model.config.info ) { #>
<span class="click tve-color-info"> <?php tcb_icon( 'info-circle-solid' ); ?></span>
<# } #>
</div>
<# } #>
<div class="color-picker-input control-grid input p-0">
<div class="input">
<input type="text" class="color-picker">
<div class="color-input-container">
<input type="text" class="color-input" disabled placeholder="None">
</div>
</div>
</div>
</div>
<# } #>

View File

@@ -0,0 +1,9 @@
<div class="tcb-relative tcb-flex pt-20 <#=wrapper_class #>">
<span class="sp-transparent click variable-square-control" data-fn="dom_edit_css_variable" data-var="<#= css_variable #>" data-index="<#= index #>">
<span class="tcb-icon-inline variable-square-control" style="background-size:auto;background-image:<#= bg #>"></span>
</span>
<span class="click variable-name" data-fn="dom_edit_css_variable"><#= name #></span>
<# if(show_locate_control){ #>
<?php tcb_icon( 'crosshairs-solid', false, 'sidebar', 'click', array( 'data-fn' => 'locate_variable' ) ); ?>
<# } #>
</div>

View File

@@ -0,0 +1,16 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 5/14/2018
* Time: 4:23 PM
*/
?>
<div class="tve-cf-item" data-css="<#= wrapper_css #>">
<div class="thrv-cf-input-wrapper" data-type="<#= item_type #>">
<label data-css="<#= label_css #>"><#= label #></label>
<div class="tve-cf-input" data-css="<#= input_css #>">
<input placeholder="First Name" type="text" name="first_name">
</div>
</div>
</div>

View File

@@ -0,0 +1,72 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 5/8/2018
* Time: 8:50 AM
*/
$captcha_api = Thrive_Dash_List_Manager::credentials( 'recaptcha' );
?>
<div class="control-grid">
<div class="label">
<?php echo __( 'Field Type', 'thrive-cb' ); ?>
</div>
<div class="input">
<select class="change tcb-cf-item-type" data-fn="change_setting" data-setting="type"></select>
</div>
</div>
<div class="tcb-edit-item-category" id="text">
<div class="control-grid">
<div class="label">
<?php echo __( 'Label', 'thrive-cb' ); ?>
</div>
<div class="input">
<input type="text" class="change input tcb-cf-item-label" data-fn="change_setting" data-fn-input="change_setting" data-setting="label"/>
</div>
</div>
<div class="control-grid">
<div class="label">
<?php echo __( 'Placeholder', 'thrive-cb' ); ?>
</div>
<div class="input">
<input type="text" class="change input tcb-cf-item-placeholder" data-fn="change_setting" data-fn-input="change_setting" data-setting="placeholder"/>
</div>
</div>
<div class="control-grid no-space">
<div class="label">
<label class="tcb-checkbox"><input type="checkbox" class="change tcb-cf-item-required" data-fn="change_setting" data-setting="required"/><span><?php echo __( 'Required', 'thrive-cb' ) ?></span></label>
</div>
</div>
</div>
<div class="tcb-edit-item-category" id="recaptcha">
<?php if ( ! empty( $captcha_api ) ) : ?>
<div class="control-grid">
<div class="label">
<?php echo __( 'Size', 'thrive-cb' ); ?>
</div>
<div class="input">
<select class="change tcb-cf-item-recaptcha_size" data-fn="change_setting" data-setting="recaptcha_size">
<option value="normal"><?php echo __( 'Normal', 'thrive-cb' ); ?></option>
<option value="compact"><?php echo __( 'Compact', 'thrive-cb' ); ?></option>
</select>
</div>
</div>
<div class="control-grid">
<div class="label">
<?php echo __( 'Style', 'thrive-cb' ); ?>
</div>
<div class="input">
<select class="change tcb-cf-item-recaptcha_style" data-fn="change_setting" data-setting="recaptcha_style">
<option value="light"><?php echo __( 'Light', 'thrive-cb' ); ?></option>
<option value="dark"><?php echo __( 'Dark', 'thrive-cb' ); ?></option>
</select>
</div>
</div>
<?php else : ?>
<div class="control-grid">
<div class="blue-text"><?php tcb_icon( 'info' ); ?></div>
<span><?php echo sprintf( __( 'You cant add a Recaptcha field because you dont have a Google API connection available. For more info %s .', 'thrive-cb' ), '<a style="color: #6cafec !important;" target="_blank" href="' . admin_url( 'admin.php?page=tve_dash_api_connect' ) . '">click here</a>' ); ?></span>
</div>
<?php endif; ?>
</div>

View File

@@ -0,0 +1,17 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 6/5/2018
* Time: 11:27 AM
*/
$captcha_api = Thrive_Dash_List_Manager::credentials( 'recaptcha' );
if ( ! empty( $captcha_api ) ) :
?>
<div class="tve-cf-item">
<div class="thrv-cf-input-wrapper" data-type="g-recaptcha-response">
<div class="g-recaptcha tve-captcha-container" data-site-key="<?php echo $captcha_api['site_key']; ?>" data-theme="<#= theme #>" data-type="image" data-size="<#= size #>"></div>
</div>
</div>
<?php endif; ?>

View File

@@ -0,0 +1,8 @@
<div class="row middle-xs">
<div class="col-xs-12 tcb-text-center">
<button class="blue button-link click mt-15 mb-15" data-fn="open_modal">
<?php tcb_icon( 'envelope' ); ?>
<?php echo __( 'Email & after submit setup', 'thrive-cb' ); ?>
</button>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<span>
<?php echo __( 'See Background Style Panel for more advanced background image settings', 'thrive-cb' ); ?>
</span>

View File

@@ -0,0 +1,3 @@
<div class="tooltip-text">
<?php echo __( "The vertical position control isn't available when the overflow is set to: auto, hidden or scroll.", 'thrive-cb' ); ?>
</div>

View File

@@ -0,0 +1,14 @@
<div class="control-grid">
<div class="label flex-mid pr-15">
<div class="corner-boxes">
<div class="tve-corner tve-border-side click top-left" data-fn="corner" data-value="top-left"></div>
<div class="tve-corner tve-border-side click top-right" data-fn="corner" data-value="top-right"></div>
<div class="tve-corner tve-border-side click bottom-right" data-fn="corner" data-value="bottom-right"></div>
<div class="tve-corner tve-border-side click bottom-left" data-fn="corner" data-value="bottom-left"></div>
<div class="tve-corner tve-border-side click default center" data-fn="corner" data-value=""></div>
</div>
</div>
<div class="corner-radius input">
<div class="tve-corner-value no-space input-small"></div>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<div class="tve-select-item click tcb-text-center" data-fn="select" data-value="<#=key #>">
<div class="tcb_countdown_timer_style_wrapper">
<#= TVE.icon( value.preview ) #>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<div class="custom-fields-options mt-5 full-width">
<label><?php echo __( 'Custom Source', 'thrive-cb' ); ?></label>
<select data-fn="selectCustomField" class="change"></select>
</div>
<div class="tve-advanced-controls custom-fields-more-options full-width">
<div class="dropdown-header" data-prop="advanced">
<span>
<?php echo __( 'More Options', 'thrive-cb' ); ?>
</span>
</div>
<div class="dropdown-content pt-0">
<label><?php echo __( 'If not available', 'thrive-cb' ); ?></label>
<select class="custom-fields-placeholder-options change mb-5" data-fn="selectPlaceholder">
<option value="hide"><?php echo __( 'Hide element', 'thrive-cb' ); ?></option>
<option value="replace"><?php echo __( 'Show Default', 'thrive-cb' ); ?></option>
</select>
<div class="custom-fields-placeholder-input">
<label><?php echo __( 'Default', 'thrive-cb' ); ?></label>
<div class="image-picker-input"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<div class="tve-custom-fields-tabs"></div>
<div class="tve-advanced-controls custom-fields-state p-10 mb-5" data-state="dynamic">
<div class="mb-10 dynamic-fields-options">
<label><?php echo __( 'Dynamic source', 'thrive-cb' ); ?></label>
<select data-fn="selectDynamicField" class="change"></select>
</div>
<div class="custom-fields-options">
<label><?php echo __( 'Custom source', 'thrive-cb' ); ?></label>
<select data-fn="selectCustomField" class="change"></select>
</div>
<div class="custom-fields-extra-options">
<div class="rating-options">
<label><?php echo __( 'Max rating', 'thrive-cb' ); ?></label>
<select class="rating-max change" data-fn="changeRatingMax"></select>
</div>
</div>
</div>
<div class="tve-advanced-controls custom-fields-more-options mb-10" hidden style="margin-top: -5px">
<div class="dropdown-header" data-prop="advanced">
<span>
<?php echo __( 'More options', 'thrive-cb' ); ?>
</span>
</div>
<div class="dropdown-content pt-0">
<label><?php echo __( 'If not available', 'thrive-cb' ); ?><span class="acf-image-placeholder-tooltip click tve-cb-img-info ml-5" data-fn="openTooltip"><?php tcb_icon( 'info-circle-solid' ); ?></span></label>
<select class="custom-fields-placeholder-options change mb-5" data-fn="selectPlaceholder">
<option value="hide"><?php echo __( 'Hide element', 'thrive-cb' ); ?></option>
<option value="replace"><?php echo __( 'Show default', 'thrive-cb' ); ?></option>
</select>
<div class="custom-fields-placeholder-input">
<label><?php echo __( 'Default', 'thrive-cb' ); ?></label>
<input type="number" class="tve-input input change width-input has-um" data-fn-input="onNumberInput">
<div class="audio-picker-input"></div>
<div class="responsivevideo-picker-input"></div>
<div class="image-picker-input"></div>
<input type="text" class="tve-input input change width-input has-um" data-fn-input="onTextInput">
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<div class="custom-fields-options mt-5 full-width">
<label><?php echo __( 'Custom source', 'thrive-cb' ); ?></label>
<select data-fn="selectCustomField" class="change"></select>
</div>
<div class="tve-advanced-controls custom-fields-more-options full-width">
<div class="dropdown-header" data-prop="advanced">
<span>
<?php echo __( 'More options', 'thrive-cb' ); ?>
</span>
</div>
<div class="dropdown-content pt-0">
<label><?php echo __( 'If not available', 'thrive-cb' ); ?></label>
<select class="custom-fields-placeholder-options change mb-5" data-fn="selectPlaceholder">
<option value="hide"><?php echo __( 'Hide element', 'thrive-cb' ); ?></option>
<option value="replace"><?php echo __( 'Show default', 'thrive-cb' ); ?></option>
</select>
<div class="custom-fields-placeholder-input">
<label><?php echo __( 'Default', 'thrive-cb' ); ?></label>
<div class="image-picker-input"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<div class="tve-custom-fields-data-options flex space-between wrap">
<span class="label"><#= this.model.config.label #></span>
<div class="tve-cf-tabs"></div>
<div class="tve-cf-notice info-text"></div>
<div class="tve-cf-boxes">
<div data-tab="static" style="display: none;"></div>
<div class="mb-10" data-tab="dynamic">
<div class="tve-cf-type"></div>
<div class="tve-cf-data"></div>
<div class="tve-cf-value"></div>
<div class="tve-cf-default-value"></div>
<div class="tcb-flex space-between tcb-dynamic-data-buttons">
<div id="apply-dynamic" class="tve-button click" data-fn="setDynamicData"><?php echo __( 'Insert', 'thrive-cb' ); ?></div>
<div id="remove-dynamic" class="tve-button tve-remove click has-dynamic" data-fn="removeDynamicData"><?php echo __( 'Remove', 'thrive-cb' ); ?></div>
<div id="modify-dynamic" class="tve-button click has-dynamic" data-fn="setDynamicData"><?php echo __( 'Update', 'thrive-cb' ); ?></div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<?php
/**
* Created by PhpStorm.
* User: User
* Date: 5/23/2018
* Time: 2:25 PM
*/
?>
<div class="tcb-flex space-between pb-10">
<div class="label"><?php echo esc_html__( 'Insert / edit hyperlink', 'thrive-cb' ); ?></div>
</div>
<div class="control-grid no-space full-width pb-5">
<input type="text" class="tcb-menu-item-text change target input" data-fn-change="changed" data-fn-input="labelChanged" value="" autocomplete="off">
</div>
<div class="tcb-button-link-container">
<div class="btn-link mt-10"></div>
</div>
<div class="tcb-menu-display-container mt-10">
<hr>
<div class="tcb-menu-display mt-5"></div>
</div>

View File

@@ -0,0 +1,49 @@
<div class="tve-modal-content instance-options menu-options step1">
<span class="tcb-modal-title"><?php echo __( 'What type of menu would you like to build?', 'thrive-cb' ); ?></span>
<div class="flex-mid space-between tcb-modal-content">
<a href="#" class="menu-type p-10 click<#=this.model.get('type')==='regular' ? ' selected' : ''#>" data-fn="selectOption" data-attr="type" data-value="regular">
<span><?php echo __( 'Standard Dropdown Menu', 'thrive-cb' ); ?></span>
<img src="<?php echo tve_editor_css( 'images/custom-menu-thumbs/standard.jpg' ) ?>" alt="">
</a>
<a href="#" class="menu-type p-10 click<#=this.model.get('type')==='mega' ? ' selected' : ''#>" data-fn="selectOption" data-attr="type" data-value="mega">
<span><?php echo __( 'Simple Mega Menu', 'thrive-cb' ); ?></span>
<img src="<?php echo tve_editor_css( 'images/custom-menu-thumbs/megamenu.png' ) ?>" alt="">
</a>
</div>
<div class="flex-end flex tcb-modal-footer goto-2" style="visibility: hidden">
<button type="button" class="tve-button medium green click white-text" data-fn="step2">
<#=this.hasWordpressMenus() ? <?php echo json_encode( __( 'Continue', 'thrive-cb' ) ); ?> : <?php echo json_encode( __( 'Select Template', 'thrive-cb' ) ); ?>#>
</button>
</div>
</div>
<div class="tve-modal-content instance-options menu-options step2" style="display: none">
<span class="tcb-modal-title"><?php echo __( 'What menu source would you like to use?', 'thrive-cb' ); ?></span>
<div class="flex-mid space-around tcb-modal-content">
<a href="#" class="item option click<#=this.model.get('source')==='custom' ? ' selected' : ''#>" data-fn="selectOption" data-attr="source" data-value="custom">
<?php tcb_icon( 'plus-circle-regular' ) ?>
<p class="mt-20"><?php echo __( 'Create a Custom Menu', 'thrive-cb' ); ?></p>
</a>
<a href="#" class="item option click<#=this.model.get('source')==='wp' ? ' selected' : ''#>" data-fn="selectOption" data-attr="source" data-value="wp">
<?php tcb_icon( 'wordpress-brands' ) ?>
<p class="mt-20"><?php echo __( 'Use a WordPress Menu', 'thrive-cb' ); ?></p>
</a>
</div>
<div class="flex-mid space-between tcb-modal-footer">
<button type="button" class="tve-button medium grey white-text click" data-fn="step1">
<?php echo __( 'Back', 'thrive-cb' ); ?>
</button>
<div class="wp" style="display: none">
<select class="change choose-menu" data-fn="selectOption" data-attr="menu_id">
<option disabled selected><?php echo __( 'Choose a WordPress Menu', 'thrive-cb' ); ?></option>
<#_.each(this.menus, function(item){#>
<option value="<#=item.value#>"
<#=item.value==this.model.get('menu_id') ? ' selected' : ''#>><#=item.name#></option>
<#}, this)#>
</select>
</div>
<button type="button" class="tve-button medium green click white-text goto-3" data-fn="done" style="display: none">
<?php echo __( 'Select Template', 'thrive-cb' ); ?>
</button>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<div class="panel-text">
<#= this.model.config.label #>
</div>
<style class="preview-style" type="text/css"></style>
<div class="tve-style-options p-0 mt-0">
<div class="flex-mid p-5 tcb-text-center no-templates" style="flex: 0 0 100%; display: none"><?php echo __( 'This menu has no item styles. You have to choose a menu template to populate this list - each menu template comes with a default set of styled menu items.', 'thrive-cb' ); ?></div>
<# _.each(this.model.config.items, function(set, setIndex) { #>
<div class="flex-mid p-5 style-set set-<#=set.id#>" style="flex: 0 0 100%"><#=set.name#></div>
<div class="flex-mid wrap style-set set-<#=set.id#>">
<# _.each( set.styles, function( item, index ) { #>
<# if ( item ) { #>
<div class="tve-select-item split ha wa click menu-item p-5 mb-0" data-value="<#=setIndex + '::' + index #>" data-fn="select">
<ul class="menu-preview">
<li class="li-<#=index#>"><a href="javascript:void(0)"><span class="tve-disabled-text-inner"><#=item.name#></span></a></li>
</ul>
</div>
<# } #>
<#}, this ) #>
</div>
<# }, this); #>
</div>

View File

@@ -0,0 +1,12 @@
<div class="control-grid">
<div class="label">
<#= this.model.config.label #>
</div>
<div class="input tve-datepicker-wrapper">
<input type="text" class="tve-input-control tve-datepicker-input change" data-fn="changed" <#= this.model.extra_attrs #> />
<div class="thrv-datepicker-icon click" data-fn="date_trigger_click">
<?php tcb_icon( 'calendar-range' ); ?>
</div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<div class="control-grid">
<div class="decoration-boxes">
<div class="tve-decoration-side click top" data-fn="decorationSide" data-value="top"></div>
<div class="tve-decoration-side click left" data-fn="decorationSide" data-value="left"></div>
<div class="tve-decoration-side click right" data-fn="decorationSide" data-value="right"></div>
<div class="tve-decoration-side click default bottom" data-fn="decorationSide" data-value="bottom"></div>
<div class="tve-decoration-side disabled center" data-value=""></div>
</div>
<div class="decoration-type input">
<select class="tve-select change tcb-base-divider-control mt-10" data-fn="chooseType">
<option value="none"><?php echo __( 'None', 'thrive-cb' ) ?></option>
<option value="slanted"><?php echo __( 'Slanted edge', 'thrive-cb' ) ?></option>
<option value="pointer"><?php echo __( 'Pointer', 'thrive-cb' ) ?></option>
<option value="divider"><?php echo __( 'Divider', 'thrive-cb' ) ?></option>
<option value="fancy_divider"><?php echo __( 'Fancy divider', 'thrive-cb' ) ?></option>
</select>
</div>
</div>
<div class="tve-control tve-sub-control tcb-template-control" style="display:none"></div>
<div class="tve-control tve-sub-control tve-slanted-control" style="display:none"></div>
<div class="tve-control tve-sub-control tve-pointer-control" style="display:none"></div>
<div class="tve-control tve-sub-control tve-divider-control" style="display:none"></div>
<div class="tve-control tve-sub-control tve-fancydivider-control" style="display:none"></div>

View File

@@ -0,0 +1,37 @@
<div class="row">
<div class="col-xs-6">
<div class="group-label grey-text">
<?php echo __( 'Style', 'thrive-cb' ) ?>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="button-group-holder">
<div class="tve-btn-group">
<div class="btn-inline tve-btn icon-medium click padded tve-divider-zigzag" data-fn="setStyle" data-style="zigzag" title="Zig Zag">
<svg class="tcb-icon tcb-icon-open-lightbox">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-S1"></use>
</svg>
</div>
<div class="btn-inline tve-btn click icon-medium padded tve-divider-curves" data-fn="setStyle" data-style="curves" title="Curves">
<svg class="tcb-icon tcb-icon-open-lightbox">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-S2"></use>
</svg>
</div>
</div>
</div>
</div>
</div>
<div class="tve-divider-sliders">
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-divider-width"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-divider-height"></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,15 @@
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-pointer-width"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-pointer-height"></div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-pointer-inverted-angle mt-10"></div>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-slanted-angle"></div>
<div class="tve-control tve-inverted-angle mt-10"></div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 5/3/2018
* Time: 7:27 AM
*/
?>
<div class="row">
<div class="col-xs-12 grey-text mt-10">
<div class="tve-control tve-shape-svg-height"></div>
</div>
<div class="col-xs-12 grey-text mt-10">
<div class="tve-control tve-shape-svg-change-dir"></div>
</div>
<div class="col-xs-12 grey-text mt-10">
<div class="tve-control tve-shape-svg-bring-front"></div>
</div>
<div class="col-xs-12 mt-10">
<div class="tve-control tve-shape-svg-color"></div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<div class="row">
<div class="col-xs-12">
<div class="tve-control tve-shape-svg-height"></div>
</div>
<div class="col-xs-12 grey-text mt-10">
<div class="tve-control tve-shape-svg-change-dir"></div>
</div>
<div class="col-xs-12 grey-text mt-10">
<div class="tve-control tve-shape-svg-invert"></div>
</div>
<div class="col-xs-12 grey-text mt-10">
<div class="tve-control tve-shape-svg-bring-front"></div>
</div>
<div class="col-xs-12 mt-10">
<div class="tve-control tve-shape-svg-color"></div>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<div class="tve-select-item tve-select-picker click" data-fn="select" data-value="<#=key #>">
<div class="tcb_divider_style_wrapper">
<p class="tcb_divider_style tve_sep <#=key #>"><#=label #></p>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="drop-panel panel-light">
<div class="popup-content">
</div>
<div class="action-buttons control-grid">
<div data-fn="onCancel" class="click tve-button drop-panel-action btn-cancel"><?php echo __( 'Cancel', 'thrive-cb' ) ?></div>
<div data-fn="onApply" class="click tve-button drop-panel-action btn-apply"><?php echo __( 'Apply', 'thrive-cb' ) ?></div>
</div>
<div class="tcb-panel-arrow"></div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="drop-panel panel-light">
<div class="popup-content">
</div>
<div class="action-buttons control-grid">
<div data-fn="onCancel" class="click tve-button drop-panel-action btn-cancel"><?php echo __( 'Cancel', 'thrive-cb' ) ?></div>
<div data-fn="onApply" class="click tve-button drop-panel-action btn-apply"><?php echo __( 'Apply', 'thrive-cb' ) ?></div>
</div>
<div class="tcb-panel-arrow"></div>
</div>

View File

@@ -0,0 +1,30 @@
<div class="tcb-background-video-controls">
<div class="tve-dynamic-source-tabs"></div>
<!-- todo move what's below me -->
<div class="tve-advanced-controls custom-fields-state p-10" data-state="dynamic">
<div class="custom-fields-options">
<label><?php echo __( 'Custom source', 'thrive-cb' ); ?></label>
<select data-fn="selectCustomField" class="change"></select>
</div>
</div>
<div class="tve-advanced-controls custom-fields-more-options" hidden style="margin-top: -5px">
<div class="dropdown-header" data-prop="advanced">
<span>
<?php echo __( 'More options', 'thrive-cb' ); ?>
</span>
</div>
<div class="dropdown-content pt-0">
<label><?php echo __( 'If not available', 'thrive-cb' ); ?></label>
<select class="custom-fields-placeholder-options change mb-5" data-fn="selectPlaceholder">
<option value="hide"><?php echo __( 'Hide element', 'thrive-cb' ); ?></option>
<option value="replace"><?php echo __( 'Show default', 'thrive-cb' ); ?></option>
</select>
<div class="custom-fields-placeholder-input">
<label><?php echo __( 'Default', 'thrive-cb' ); ?></label>
<div class="responsivevideo-picker-input"></div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="tcb-dynamic-color-container">
<span>
<?php echo __( 'If not available, use this default color:', 'thrive-cb' ); ?>
</span>
<span class="tcb-default-dynamic-color">
<span class="sp-transparent click" style="margin-right: 6px;float: right;background-size: 0px;" data-fn="edit_default_color" data-default-dynamic="<#=dynamicVar#>">
<span class="tcb-icon-inline" style="background-color: <#= color #>;background-size:4px"></span>
</span>
</span>
</div>

View File

@@ -0,0 +1,3 @@
<div class="tcb-dynamic-color-container">
<div class="tcb-default-dynamic-color"></div>
</div>

View File

@@ -0,0 +1,126 @@
<?php
/**
* Font Manager TAr Control
*
* @package Thrive Content Builder
* @subpackage Backbone Controls
*/
$font_library_link = \Thrive_Dashboard\Font_Library\Admin::get_url();
?>
<label class="block full-width">
<?php echo __( 'Source', 'thrive-cb' ); ?>
<select class="tve-font-select change" data-fn="sourceChange">
<# _.each(this.fonts, function(v,k) { #>
<option value="<#= k #>">
<#= v.label #>
</option>
<# }) #>
<option value="inherit"></option>
</select>
</label>
<div class="mt-10 info-text orange" style="display: none;">
<span><?php echo sprintf( __( 'You have disabled Google Fonts on your website. Click <a style="display: inline;" target="_blank" href="%s">here</a> to enable Google Fonts.', 'thrive-cb' ), add_query_arg( 'page', 'tve_dash_general_settings_section', admin_url( 'admin.php' ) ) ); ?></span>
</div>
<#_.each( this.fonts, function( v, section ) { #>
<# if ( section === 'google' ) { #>
<div class="font-section" data-section="google">
<div class="tcb-switch">
<label class="control-grid pt-10">
<span>
<?php echo __( 'Show recommended fonts only', 'thrive-cb' ); ?>
</span>
<input type="checkbox" class="tve-google-font-recommeneded change tve-checkbox" data-fn="googleRecommended">
<span class="tcb-lever"></span>
</label>
</div>
<div class="control-grid">
<label>
<?php echo __( 'Font', 'thrive-cb' ); ?>
</label>
<div class="fill">
<input class="tve-google-font-select">
<select class="tve-select-google-font-select change" data-fn="googleSelectRecommended"></select>
</div>
</div>
<div class="control-grid">
<label><?php echo __( 'Regular', 'thrive-cb' ); ?></label>
<select class="tve-google-weigh-select change" data-fn="change" data-font="google"></select>
</div>
<div class="control-grid has-bold">
<label>
<?php echo __( 'Bold', 'thrive-cb' ); ?>
</label>
<select class="tve-google-bold-select change" data-fn="change" data-font="google"></select>
</div>
<hr>
<div class="has-italic">
<label class="tcb-checkbox">
<input type="checkbox" class="change tve-checkbox google-italic" data-fn="toggleItalic">
<span><?php echo sprintf( __( 'Also include the %sItalic%s version', 'thrive-cb' ), '<em>', '</em>' ); ?></span>
</label>
<div class="clear"></div>
<div class="font-if-italic pb-10">
<span class="info-text"><?php echo __( 'Including the Italic styles may result in slower loading', 'thrive-cb' ) ?></span>
</div>
</div>
<div class="control-grid pb-5">
<label>
<?php echo __( 'Charset', 'thrive-cb' ); ?>
</label>
<select class="tve-google-subsets-select change" data-fn="change" data-font="google"></select>
</div>
</div>
<# } else if ( section === 'library' ) { #>
<div class="font-section" data-section="<#= section #>">
<label class="block control-grid full-width pt-5">
<?php echo __( 'Font Library', 'thrive-cb' ); ?>
<select class="font-select change" data-fn="fontChange" data-font="<#= section #>">
<option value="" disabled selected><?php echo __( 'Select Font', 'thrive-cb' ); ?></option>
<# _.each( this.fonts[ section ].fonts, function( font, index ) { #>
<option value="<#= index #>">
<#= font.name #>
</option>
<# } ) #>
</select>
</label>
<div class="control-grid">
<label><?php echo __( 'Regular', 'thrive-cb' ); ?></label>
<select class="tve-library-weigh-select change" data-fn="change" data-font="library"></select>
</div>
<div class="control-grid has-bold">
<label>
<?php echo __( 'Bold', 'thrive-cb' ); ?>
</label>
<select class="tve-library-bold-select change" data-fn="change" data-font="library"></select>
</div>
<hr>
<a
href="<?php echo esc_url( $font_library_link ); ?>"
class="tcb-button-link tve-button btn-cancel full-width tcb-text-uppercase font-library-trigger"
target="_blank"
>
<?php echo __( 'Manage Font Library', 'thrive-cb' ); ?>
</a>
<p class="info-text grey-text mt-10 tcb-hidden">
<?php echo __( 'Please reload this page to update the fonts in the editor.', 'thrive-cb' ); ?>
</p>
</div>
<# } else { #>
<div class="font-section" data-section="<#= section #>">
<label class="block full-width pt-5">
<?php echo __( 'Font', 'thrive-cb' ); ?>
<select class="font-select change" data-fn="fontChange" data-font="<#= section #>">
<# if ( section.includes('custom') ) { #><option selected><?php echo ''; ?></option><# } #>
<# _.each(this.fonts[section].fonts, function(v,k) { #>
<option value="<#= k #>">
<#= v.family #>
</option>
<# }) #>
</select>
</label>
</div>
<# } #>
<# }, this ) #>
<div class="font-section" data-section="inherit"></div>

View File

@@ -0,0 +1,23 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 10/8/2018
* Time: 5:42 PM
*/
/**
* Used in:
* editor/js/main/views/controls/global/style-panel.js
*/
?>
<div class="thrv_wrapper thrv-button <#= cls #>">
<a href="javascript:void(0);" class="tcb-button-link">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text <#= cls #>-prtext">
<?php echo __( 'Button', 'thrive-cb' ); ?></span>
</span>
</a>
</div>
<# if(text.length > 0){ #>
<p><#= text #></p>
<# } #>

View File

@@ -0,0 +1,22 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/13/2018
* Time: 4:23 PM
*/
/**
* Used in:
* editor/js/main/views/controls/global/style-picker.js
* editor/js/main/views/controls/global/style-panel.js
*/
?>
<div class="thrv_wrapper thrv_contentbox_shortcode thrv-content-box <#= cls #>">
<div class="tve-content-box-background <#= cls #>-bg"></div>
<div class="tve-cb <#= cls #>-cb"></div>
</div>
<# if(text.length > 0){ #>
<p><#= text #></p>
<# } #>

View File

@@ -0,0 +1,3 @@
<a href="javascript:void(0)" class="click save-as-global-style" data-fn="open_panel" data-side="top" data-tooltip="<?php echo __( 'Save as Global Style', 'thrive-cb' ); ?>">
<?php tcb_icon('global-style'); ?>
</a>

View File

@@ -0,0 +1,18 @@
<?php
/**
* Created by PhpStorm.
* User: ovidiu
* Date: 9/30/2018
* Time: 4:26 PM
*/
?>
<div class="row middle-xs">
<div class="col-xs-12">
<span id="global-style-desc"></span>&nbsp;<a href="https://thrivethemes.com/tkb_item/how-to-use-the-shared-styles-feature/" target="_blank"><?php tcb_icon( 'info' ); ?></a>
</div>
<style id="global-style-preview-css"></style>
<div id="global-style-preview-html" class="global-style-preview col-xs-12"></div>
<div class="col-xs-12">
<input type="text" id="global-style-name"/>
</div>
</div>

View File

@@ -0,0 +1,23 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/11/2018
* Time: 2:02 PM
*/
/**
* Used in:
* editor/js/main/views/controls/global/style-picker.js
* editor/js/main/views/controls/global/style-panel.js
*/
?>
<div class="thrv_wrapper thrv-page-section <#= cls #>">
<div class="tve-page-section-out <#= cls #>-out"></div>
<div class="tve-page-section-in <#= cls #>-in tve_empty_dropzone"></div>
</div>
<# if(text.length > 0){ #>
<p><#= text #></p>
<# } #>

View File

@@ -0,0 +1,11 @@
<label><?php echo __( 'Select pattern', 'thrive-cb' ) ?></label>
<div class="gray-box control-grid">
<# _.each( this.patterns, function( item, i ) {#>
<div class="pattern-item click" data-fn="select" data-index="<#=i#>">
<div class="inner">
<#= TVE.icon(item.icon) #>
</div>
</div>
<# } ) #>
</div>
<div class="color1 mt-10"></div>

View File

@@ -0,0 +1,30 @@
<div class="gradient-picker">
<div class="light-box">
<div class="control-grid">
<label class="fill">
<?php echo __( 'Orientation', 'thrive-cb' ) ?>
</label>
<div class="fill">
<select class="gradient-style change" data-fn="gradient_type">
<option value="linear-gradient"><?php echo __( 'Linear', 'thrive-cb' ); ?></option>
<option value="radial-gradient"><?php echo __( 'Radial', 'thrive-cb' ); ?></option>
</select>
</div>
</div>
<div class="control-grid gradient-orientation">
<label class="fill"><?php echo __( 'Angle', 'thrive-cb' ) ?></label>
<div class="tve-gradient-angle fill"></div>
</div>
<div class="control-grid">
<div class="tve-gradient-settings">
<canvas class="gradient-picker-preview"></canvas>
<div class="gradient-picker-points"></div>
</div>
<div class="ml-10 tcb-reset-gradient-icon" data-tooltip="<?php echo __( 'Reset Gradient', 'thrive-cb' ); ?>">
<span class="click tcb-right" data-fn="reset"><?php tcb_icon( 'undo-regular' ); ?></span>
</div>
</div>
</div>
</div>
<div class="gradient-color-picker"></div>

View File

@@ -0,0 +1,10 @@
<!--why isn't pl-50/ml-50 working?-->
<div class="control-grid tve-knob-wrapper pl-40 ml-10">
<div class="tve-knob small"></div>
<div class="slider-input fixed-65">
<span class="input-um degree">&deg;</span>
<input type="text" class="tve-input input change width-input <#= this.model.config.um.length === 1 ? 'has-um':'' #>" data-fn="onChange" data-fn-input="onInput"
value="<#= this.model.config.default #>">
</div>
</div>

View File

@@ -0,0 +1,13 @@
<# if ( model.get( 'icon' ) ) { #>
<span class="click" data-fn="trigger_click"><#= model.get('icon') #></span>
<# } #>
<span class="click switch-label" data-fn="trigger_click"><#= model.get('device') #></span>
<div class="tcb-switch">
<label>
<# if ( model.get('switch_label') ) { #>
<span class="tcb-device-switch-label"><?php echo __( 'Visible', 'thrive-cb' ); ?></span>
<# } #>
<input class="change" data-fn="clicked" type="checkbox" checked>
<span class="tcb-lever"></span>
</label>
</div>

View File

@@ -0,0 +1,3 @@
<div class="tve-icon-style flex-center" data-value="<#=key #>">
<div class="tve-icon-data flex-center"><#= icon || '' #></div>
</div>

View File

@@ -0,0 +1,64 @@
<div class="panel-text">
<#= this.model.config.label #>
</div>
<div class="<#=this.box_class()#>">
<div class="tve-clear-style flex-center m-10 click" data-fn="clearStyle">
<?php tcb_icon( 'times-regular' ) ?>
<span><?php echo __( 'Clear style', 'thrive-cb' ); ?></span>
</div>
<div class="tve-icon-style-wrapper">
<div class="tve-icon-header flex-center space-evenly">
<span><?php echo __( 'Circle', 'thrive-cb' ); ?></span>
<span><?php echo __( 'Rounded', 'thrive-cb' ); ?></span>
<span><?php echo __( 'Square', 'thrive-cb' ); ?></span>
</div>
<div class="tve-icon-label flex-center m-10" data-type="outlined">
<hr>
<span class="mr-10 ml-10"><?php echo __( 'Outlined', 'thrive-cb' ); ?></span>
<hr>
</div>
<div class="tve-icon-style-section">
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="circle_outlined">
<div class="tve-icon-data"></div>
</div>
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="rounded_outlined">
<div class="tve-icon-data"></div>
</div>
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="square_outlined">
<div class="tve-icon-data"></div>
</div>
</div>
<div class="tve-icon-label flex-center m-10" data-type="shaded">
<hr>
<span class="mr-10 ml-10"><?php echo __( 'Shaded', 'thrive-cb' ); ?></span>
<hr>
</div>
<div class="tve-icon-style-section">
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="circle_shaded">
<div class="tve-icon-data"></div>
</div>
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="rounded_shaded">
<div class="tve-icon-data"></div>
</div>
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="square_shaded">
<div class="tve-icon-data"></div>
</div>
</div>
<div class="tve-icon-label flex-center m-10" data-type="inverted">
<hr>
<span class="mr-10 ml-10"><?php echo __( 'Inverted', 'thrive-cb' ); ?></span>
<hr>
</div>
<div class="tve-icon-style-section mb-10">
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="circle_inverted">
<div class="tve-icon-data"></div>
</div>
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="rounded_inverted">
<div class="tve-icon-data"></div>
</div>
<div class="tve-select-item click tve-icon-style p-5 m-0" data-fn="select" data-value="square_inverted">
<div class="tve-icon-data"></div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,28 @@
<#= this.model.config.label #>
<div >
<input class="tve-input" type="text" >
<button type="button" class="tve-button click" data-fn-click="openOptions"><#= this.model.config.button_label #></button>
</div>
<div class="tve-style-options" style="display: none;">
<span class="tve-style-close click" data-fn-click="closeOptions">x</span>
<div class="tve-icons-settings">
<div class="row">
<div class="col-xs-6 tve-position">
</div>
<div class="col-xs-6 tve-background">
</div>
</div>
</div>
<div class="tve-icons">
<div class="tve-filter">
<input class="tve-quick-search" type="text" value="" >
</div>
<# _.each(this.model.config.options.items, function(option) { #>
<div class="tve-select-item click" data-value="<#= option.identifier #>" data-fn-click="selectItem"><#= option.label #></div>
<# }); #>
</div>
<button type="button" class="tve-button click" data-fn-click="onInput"><?php echo __( 'Apply', 'thrive-cb' ); ?></button>
</div>

View File

@@ -0,0 +1,10 @@
<div class="tcb-label mb-10">
<?php echo __( 'Select image', 'thrive-cb' ); ?>
</div>
<div class="control-grid full-width">
<a class="image-picker click" href="javascript:void(0)" data-fn="open">
<span class="preview"><?php tcb_icon( 'image-solid' ); ?></span>
<span class="text"><#= this.model.config.label #></span>
<?php tcb_icon( 'exchange-regular' ); ?>
</a>
</div>

View File

@@ -0,0 +1,13 @@
<div class="tve-image-resize">
<div class="tve-image-control-wrapper">
<div class="tve-image-resize-control tve-corner-resize tve-drag-top-left" data-cursor="nwse-resize" data-reverse="1"></div>
<div class="tve-image-resize-control tve-central-resize tve-drag-top-center" data-cursor="ns-resize" data-reverse="1"></div>
<div class="tve-image-resize-control tve-corner-resize tve-drag-top-right" data-cursor="nesw-resize"></div>
<div class="tve-image-resize-control tve-corner-resize tve-drag-bottom-right" data-cursor="nwse-resize"></div>
<div class="tve-image-resize-control tve-central-resize tve-drag-bottom-center" data-cursor="ns-resize"></div>
<div class="tve-image-resize-control tve-corner-resize tve-drag-bottom-left" data-cursor="nesw-resize" data-reverse="1"></div>
<div class="tve-drag-helper tve-image-drag-middle-horiz tcb-permanently-hidden"></div>
<div class="tve-drag-helper tve-image-drag-middle-vert tcb-permanently-hidden"></div>
<div class="tve-drag-image tve-draggable" draggable="true"></div>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<div class="tve-select-item split click" data-value="<#=key #>" data-fn="select">
<div class="tcb-text-center">
<div class="img_style" id="<#=key#>">
<div class="img_style_image"></div>
</div>
</div>
<div class="tcb-text-center">
<p class="m-0"><#=label #></p>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<input title="<#=this.get_config( 'name' )#>" maxlength="<#=this.get_config( 'maxlength', '' ) #>" class="tve-input with-hint change input <#= this.input_class() #>"
value="<#= this.get_config( 'default' ) #>" data-fn-change="validate_and_change" data-fn-input="input" type="text">
<span class="hint text-11"><#=this.get_config( 'name', '' ).charAt(0)#></span>

View File

@@ -0,0 +1,6 @@
<div class="label"><#= label #></div>
<div class="input w-190"><input class="change" data-fn="_changed" type="text" value="<#= value #>"/></div>
<div class="fixed-25">
<a title="<#= remove_title #>" class="click" data-fn="_remove" href="javascript:void(0)"><#= TVE.icon( 'times-regular' ) #></a>
</div>

View File

@@ -0,0 +1,7 @@
<div class="text-12 pt-5 pb-10"><#= model.get('top_text') #></div>
<div class="tcb-input-multiple-holder input-list"></div>
<div class="mt-5 pb-5 tcb-text-right">
<button class="blue tve-button click" data-fn="add_input_row">
<#= model.get('add_button_text') #>
</button>
</div>

View File

@@ -0,0 +1,18 @@
<div class="input-control control-grid <#= this.model.config.name?this.model.config.name+'-input':'' #> <#= this.model.config.size? this.model.config.size:'' #>">
<div class="label">
<span class="input-label label"><#= this.model.config.name || this.model.config.label #></span>
<# if ( this.model.config.info ) { #>
<span class="click tve-input-info" data-fn="openTooltip"><?php tcb_icon( 'info-circle-solid' ); ?></span>
<# } #>
</div>
<div class="input tcb-relative">
<span class="input-um <#= this.input_class() #>"><#= this.model.config.um ? this.model.config.um:'' #></span>
<div data-dir="top" class="mid handle reverse <#= this.input_class() #>">
<div class="up click" data-fn="up"></div>
<div class="down click" data-fn="down"></div>
</div>
<input<#=this.model.config.maxlength ? ' maxlength="' + this.model.config.maxlength + '"' : '' #> class="tve-input change input <#= this.input_class()
#> <#= this.model.config.um ? 'has-um':'' #>" value="<#= this.model.config.default #>" data-fn-change="validate_and_change" data-fn-input="onInput"
type="text">
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div class="control-grid tve-knob-wrapper">
<div class="label"><#= this.model.config.label || this.el.dataset.name#></div>
<div class="tve-knob"></div>
<div class="slider-input">
<span class="input-um degree">&deg;</span>
<input type="text" class="tve-input input change width-input has-um" data-fn="onChange" data-fn-input="onInput" value="<#= this.model.config.default #>">
</div>
</div>

View File

@@ -0,0 +1,11 @@
<div class="control-grid mb-10 <#=this.getExtraClass()#>">
<# if ( this.model.config.label ) { #>
<div class="label"><#= this.get_config('label') #></div>
<# } #>
<div class="w-90">
<input type="text" class="tve-input-control input change" data-fn-input="onInput" placeholder="<#= this.get_config('placeholder', '') #>" data-fn="changed" <#= this.get_config('extra_attrs', '') #>/>
</div>
<a href="javascript:void(0);" class="click" data-fn="previewMessage" <#= this.model.config.icontooltip ? 'data-tooltip="' + this.model.config.icontooltip + '"' : ''#> <#= this.model.config.iconside ? 'data-side="' + this.model.config.iconside + '"' : ''#>>
<?php tcb_icon( 'eye-light' ); ?>
</a>
</div>

View File

@@ -0,0 +1,13 @@
<div class="control-grid<#=this.getExtraClass()#>">
<# if ( this.model.config.label ) { #>
<div class="label">
<#= this.get_config('label') #>
<# if ( this.model.config.tooltip ) { #>
<span class="click" data-tooltip="<#- this.model.config.tooltip #>" data-side="<#- this.model.config.tooltip_side #>"><?php tcb_icon( 'info-circle-solid' ); ?></span>
<# } #>
</div>
<# } #>
<div class="input">
<input type="text" class="tve-input-control input change" data-fn-input="onInput" placeholder="<#= this.get_config('placeholder', '') #>" data-fn="changed" <#= this.get_config('extra_attrs', '') #>/>
</div>
</div>

View File

@@ -0,0 +1,66 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<div class="layout-options action-group">
<div class="dropdown-header" data-prop="docked">
<span>
<?php echo __( 'Layout & Position', 'thrive-cb' ); ?>
</span>
<i></i>
</div>
<div class="dropdown-content">
<div class="tve-control" data-view="MarginAndPadding"></div>
<hr>
<div class="mb-10">
<div class="tve-control full-width-hidden no-space" data-prop="width" data-label="<?php echo __( 'Width', 'thrive-cb' ); ?>"></div>
<div class="tve-control" data-prop="height" data-label="<?php echo __( 'Height', 'thrive-cb' ); ?>"></div>
</div>
<div class="full-width-hidden mb-10">
<div class="tve-control tve-alignment-control no-space" data-view="Alignment"></div>
<div class="tve-control no-space mt-10" data-view="Display"></div>
</div>
<div class="tve-advanced-controls">
<div class="dropdown-header" data-prop="advanced">
<span>
<?php echo __( 'Advanced', 'thrive-cb' ); ?>
</span>
</div>
<div class="dropdown-content pt-0">
<div class="layout-adv fluid-input no-space">
<div class="tve-control float full-width-hidden" data-view="Float"></div>
<div class="tve-control z-index" data-view="zIndex"></div>
</div>
<div class="info-text orange"><?php echo __( 'Z-Index only works for elements with "Relative" or "Absolute" positioning', 'thrive-cb' ); ?></div>
<div class="tve-control full-width no-space mt-10 pt-10 layout-position-toggle" data-view="Position">
<div class="layout-position">
<div class="position-auto"></div>
<div class="position-relative tve-control"></div>
<div class="position-absolute tve-control"></div>
</div>
</div>
<div class="tve-control full-width no-space mt-10 pt-10 layout-overflow-toggle" data-view="Overflow">
<div class="layout-overflow">
<div class="overflow-auto"></div>
<div class="overflow-visible tve-control"></div>
<div class="overflow-hidden tve-control"></div>
<div class="overflow-scroll tve-control"></div>
</div>
</div>
<div class="tve-control layout-scroll-style" data-view="ScrollStyle"></div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,10 @@
<span class="input-um click" tabindex="2">px</span>
<input type="text" class="tve-input input change width-input has-um" data-fn="change_value" data-fn-input="on_input">
<div class="um-wrapper">
<span class="tve-input-um mousedown active" data-fn="change_uom" data-value="px">px</span>
<span class="tve-input-um mousedown" data-fn="change_uom" data-value="%">%</span>
<span class="tve-input-um mousedown" data-fn="change_uom" data-value="vw">vw</span>
<span class="tve-input-um mousedown" data-fn="change_uom" data-value="vh">vh</span>
</div>
<a href="javascript:void(0)" class="input-clear click" data-fn="clear_value" data-width="fluid"
data-tooltip="<?php echo __( 'Change Size to Auto', 'thrive-cb' ); ?>"><?php tcb_icon( 'times-light' ); ?></a>

View File

@@ -0,0 +1,29 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="button-group-holder">
<div class="tve-btn-group">
<span class="position click tve-btn" data-fn="positionChange" data-value="top|left"><#= TVE.icon('pos_top_left') #></span>
<span class="position click tve-btn" data-fn="positionChange" data-value="top|right"><#= TVE.icon('pos_top_right') #></span>
<span class="position click tve-btn" data-fn="positionChange" data-value="bottom|right"><#= TVE.icon('pos_bot_right') #></span>
<span class="position click tve-btn" data-fn="positionChange" data-value="bottom|left"><#= TVE.icon('pos_bot_left') #></span>
</div>
</div>
<div class="toggle-position">
<div class="vertical">
<div class="tve-control input-small"></div>
</div>
<div class="horizontal pl-5">
<div class="tve-control input-small"></div>
</div>
</div>

View File

@@ -0,0 +1,13 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="horizontal ctrl no-space input-small" data-style="left" data-label="<?php echo __( 'Horizontal', 'thrive-cb' ); ?>"></div>
<div class="vertical ctrl no-space input-small" data-style="top" data-label="<?php echo __( 'Vertical', 'thrive-cb' ); ?>"></div>

View File

@@ -0,0 +1,17 @@
<div class="pb-6 layout-width">
<label><#=this.label#></label>
<div class="control-grid no-space">
<div class="tve-control tabs mr-10 border"></div>
<div class="inputs">
<div class="slider-input has-clear">
<?php include plugin_dir_path( __FILE__ ) . 'input.phtml'; ?>
</div>
<div class="slider-input has-clear">
<?php include plugin_dir_path( __FILE__ ) . 'input.phtml'; ?>
</div>
<div class="slider-input has-clear">
<?php include plugin_dir_path( __FILE__ ) . 'input.phtml'; ?>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<div class="connected-apis"></div>

View File

@@ -0,0 +1,9 @@
<div class="drop-panel panel-light">
<div class="tve-tooltip-close"><span class="click" data-fn="onCancel"><?php tcb_icon( 'exit' ) ?></span></div>
<div class="popup-content"></div>
<div class="action-buttons control-grid">
<div data-fn="onCancel" class="click tve-button drop-panel-action btn-cancel"><?php echo __( 'Cancel', 'thrive-cb' ) ?></div>
<div data-fn="onApply" class="click tve-button drop-panel-action btn-apply tve-disabled"><?php echo __( 'Apply', 'thrive-cb' ) ?></div>
</div>
<div class="tcb-panel-arrow"></div>
</div>

View File

@@ -0,0 +1,8 @@
<div class="control-grid <#= api_key #> wrap">
<div class="label full-width"><#= api_name #></div>
<div class="input fill mt-5">
<select class="change" data-api-key="<#= api_key #>" data-fn="mappingField">
<option value=""><?php echo __( 'Select field', 'thrive-cb' ); ?></option>
</select>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<div class="tcb-no-f-mapping-box">
<select>
<?php echo __( 'Unavailable', 'thrive-cb' ); ?>
</select>
<span data-paneltlt-hover class="tve-cb-img-info ml-5 tcb-unavailable-tooltip"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</div>

View File

@@ -0,0 +1,3 @@
<div class="tcb-no-zapier-mapping-box">
<span data-paneltlt-hover class="tve-cb-img-info ml-5 tcb-unavailable-tooltip"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</div>

View File

@@ -0,0 +1,12 @@
<div class="tve-select-item control-grid tve-checkbox-picker click" data-value="<#=key #>" data-fn="select">
<div class="tve-state-default">
<span class="tve-checkmark"></span>
<span class="label"><#=label #></span>
</div>
<div class="tve-state-selected">
<span class="tve-checkmark">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>
</span>
<span class="label"><?php echo __( 'Selected', 'thrive-cb' ); ?></span>
</div>
</div>

View File

@@ -0,0 +1,25 @@
<div class="mt-10 connection-row">
<div class="api-image" data-api="<#= this.model.get('key')#>" style="background-image: url('<#= this.model.logo() #>');"></div>
<span class="api-name"><#= TVE.ucFirst(this.model.get('name')) #></span>
<div class="api-actions">
<# if ( ! this.model.get('preventEdit') ) { #>
<a type="button" class="button-link mr-10 click" data-fn="editApi" data-api="<#= this.model.get('key') #>">
<span>
<?php tcb_icon( 'pen-regular' ); ?>
</span>
</a>
<# } #>
<# if ( ! this.model.get('preventDelete') ) { #>
<a type="button" class="button-link click" data-fn="disconnectApi" data-api="<#= this.model.get('key') #>">
<span>
<?php tcb_icon( 'ban-solid' ); ?>
</span>
</a>
<# } else { #>
<span data-tooltip="<#= this.model.preventDeleteMessage || '<?php esc_attr_e( 'WordPress account is mandatory for registration forms because this connection is required for the account creation', 'thrive-cb' ); ?>' #>" data-position="bottom" class="tvd-tooltipped"><?php tcb_icon( 'info-circle-solid' ); ?></span>
<# } #>
</div>
</div>
<# if ( this.model.get('connectionData').has_error ) { #>
<div class="mt-5 mb-5 info-text red"><#= this.model.get('connectionData').error_html #></div>
<# } #>

View File

@@ -0,0 +1,43 @@
<hr class="mt-10">
<div class="control-grid full-width switch">
<label><?php esc_html_e( 'Send uploaded file(s) to', 'thrive-cb' ); ?></label>
<# if ( _.isEmpty( apis ) ) { #>
<div class="info-text orange mt-0">
<p class="mt-0 mb-5"><strong><?php esc_html_e( 'No file hosting integrations enabled', 'thrive-cb' ); ?></strong></p>
<?php $link = sprintf( '<a href="%s" class="blue-text" style="display: inline" target="_blank">%s</a>', admin_url( 'admin.php?page=tve_dash_api_connect' ), __( 'API connections dashboard', 'thrive-cb' ) ); ?>
<?php echo sprintf( __( 'Connect to file hosting services like Dropbox or Google Drive through the %s', 'thrive-cb' ), $link ); ?>
</div>
<# } else { #>
<div class="tcb-relative">
<select id="file-service" class="settings settings-file" data-field="api">
<option selected disabled></option>
<# _.each( apis, function( api, key ) { #>
<option value="<#-key#>" data-image="<#=api.logo#>"
<#= key === settings.api ? ' selected' : '' #>><#-api.name#></option>
<#} ) #>
</select>
<span class="lg-api-select-arrow select2-arrow"><?php tcb_icon( 'a_down' ); ?></span>
</div>
<# } #>
</div>
<# if ( !_.isEmpty( apis ) ) { #>
<div class="file-api-options<#= !settings.api ? ' tcb-hide' : ''#>"">
<div class="control-grid full-width align-stretch folder-url"<#= settings.api === 'dropbox' ? ' style="display: none"' : '' #>>
<label>
<?php esc_html_e( 'Folder URL', 'thrive-cb' ); ?>
<span data-paneltlt-hover class="tve-cb-img-info ml-5 tcb-right" data-template="controls/lead-generation/tooltips/file-folder"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</label>
<input type="text" class="settings settings-file" data-field="folder" value="<#- settings.folder #>">
</div>
<div id="file-upload-dropbox-chooser" class="dropbox-chooser control-grid full-width"<#= settings.api !== 'dropbox' ? ' style="display: none"' : '' #>>
<label><?php esc_html_e( 'Destination folder', 'thrive-cb' ); ?></label>
</div>
<div class="control-grid mb-0 full-width align-stretch">
<label>
<?php esc_html_e( 'Filename', 'thrive-cb' ); ?>
<span data-paneltlt-hover class="tve-cb-img-info ml-5 tcb-right" data-template="controls/lead-generation/tooltips/file-name"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</label>
<input type="text" class="settings settings-file" data-field="name" value="<#- settings.name #>" placeholder="<?php esc_attr_e( 'Specify filename. E.g. CV_Upload', 'thrive-cb' ); ?>">
</div>
</div>
<# } #>

View File

@@ -0,0 +1,115 @@
<div class="tve-lg-field-data">
<div class="control-grid tve-lg-field-type">
<div class="label">
<?php echo __( 'Field type', 'thrive-cb' ); ?>
</div>
<div class="input">
<select class="change tve-lg-field-type-select" data-fn="changeType"></select>
</div>
</div>
<div class="tcb-edit-item-category">
<div class="control-grid tve-lg-name">
<div class="label">
<span class="input-label label"><?php echo __( 'Name', 'thrive-cb' ); ?></span>
<span class="click tve-field-name-info" data-fn="openFieldNameTooltip" data-paneltlt-hover><?php tcb_icon( 'info-circle-solid' ); ?></span>
</div>
<div class="input">
<input type="text" class="change input tve-lg-field-name" data-fn="changeFieldName"/>
</div>
</div>
<div class="control-grid tve-lg-name-error p-5 mb-5">
</div>
<div class="control-grid tve-lg-placeholder">
<div class="label">
<?php echo __( 'Placeholder', 'thrive-cb' ); ?>
</div>
<div class="input">
<input type="text" class="change input tve-lg-field-placeholder" data-fn="changePlaceholder"/>
</div>
</div>
<div class="number-toggle control-number"></div>
<div class="date-toggle control-date"></div>
<div class="control-grid switch">
<div class="fill">
<span class="switch-label"><?php echo __( 'Required', 'thrive-cb' ) ?></span>
</div>
<div class="tcb-switch tcb-text-right">
<label>
<input type="checkbox" class="change tve-lg-field-required" data-fn="changeRequired"/>
<span class="tcb-lever"></span>
</label>
</div>
</div>
<div class="control-grid switch settings-label">
<div class="fill">
<span><?php echo __( 'Show label', 'thrive-cb' ) ?></span>
</div>
<div class="tcb-switch tcb-text-right">
<label>
<input type="checkbox" class="change tve-lg-field-label" data-fn="changeLabel"/>
<span class="tcb-lever"></span>
</label>
</div>
</div>
<div class="control-grid tve-lg-value">
<div class="label">
<?php echo __( 'Value', 'thrive-cb' ); ?>
</div>
<div class="input">
<input type="text" class="input tve-lg-field-gdpr-value" />
</div>
</div>
<div class="control-toggle control-consent"></div>
</div>
<div class="country-toggle control-country hr-top pt-10"></div>
<div class="tcb-edit-country" style="display: none;">
<div class="control-grid switch tve-lg-country--state">
<div class="fill">
<span><?php echo __( 'Country state', 'thrive-cb' ) ?></span>
</div>
<div class="tcb-switch tcb-text-right">
<label>
<input type="checkbox" class="change" data-fn="addStateField" />
<span class="tcb-lever"></span>
</label>
</div>
</div>
<div class="control-grid tve-lg-country--id" style="display: none;">
<div class="label">
<?php echo __( 'Country ID', 'thrive-cb' ); ?>
</div>
<div class="input">
<input type="text" class="change input" data-fn="" />
</div>
</div>
</div>
<div class="state-toggle control-state"></div>
<div class="custom-field-settings"></div>
<div class="tcb-field-mapping wrap">
<div class="tcb-field-mapping-controls control-grid hr-top pt-10">
<p class="tcb-f-mapping-title">
<?php echo __( 'Custom fields', 'thrive-cb' ); ?>
</p>
<a href="#" class="click" data-fn="refreshFields">
<span>
<?php tcb_icon( 'redo-regular' ) ?>
</span>
<span>
<?php echo __( 'Refresh list', 'thrive-cb' ); ?>
</span>
</a>
</div>
<div id="tcb-apis-fields-mapping" class="mt-0 pt-10"></div>
</div>
<p id="tcb-field-mapping-unsupported" class="mt-0 hr-top pt-10">
<?php echo __( 'Custom fields (unavailable)', 'thrive-cb' ); ?>
<span data-paneltlt-hover class="tve-cb-img-info ml-5 tcb-unav-field-mapping-tooltip"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</p>
</div>
<div class="info-text grey-text sep-bottom pb-5 consent-info" style="display:none;">
<span>
<?php echo __( 'The old format of GDPR checkbox can not be edited, please remove it and re-add it', 'thrive-cb' ); ?>
</span>
</div>

View File

@@ -0,0 +1,22 @@
<div class="control-grid">
<div class="label"><?php echo __( 'Label', 'thrive-cb' ); ?></div>
<div class="input">
<input type="text" class="change input" data-fn="changeLabel" value="<#= this.model.get('label') #>">
</div>
</div>
<div class="control-grid">
<div class="label">
<label class="tcb-checkbox">
<input type="checkbox" <#= this.model.get('labelAsValue')?' checked' : ''#> class="change" data-fn="changeLabelAsValue"/>
<span><?php echo __( 'Use label as value', 'thrive-cb' ) ?></span>
</label>
</div>
</div>
<div class="control-grid tve-lg-option-value-input <#= this.model.get('labelAsValue')? 'tcb-hide':'' #>">
<div class="label"><?php echo __( 'Value', 'thrive-cb' ); ?></div>
<div class="input">
<input type="text" class="change input" data-fn="changeValue" value="<#= this.model.get('value') #>">
</div>
</div>
<div class="control-grid tve-edit-option-default-switch">
</div>

View File

@@ -0,0 +1,17 @@
<?php if ( function_exists( 'wp_mail_smtp' ) ) : ?>
<div class="control-grid full-width pb-0">
<span>
<a class="blue-text" href="https://www.wpbeginner.com/plugins/how-to-set-up-wp-mail-smtp-with-any-host-ultimate-guide/" target="_blank"><?php echo __( 'WP Mail SMTP is set as the default service', 'thrive-cb' ) ?></a>
<?php echo __( 'to ensure better deliverability than the WordPress mailer. You can select any other service like SendGrid, Brevo, etc.', 'thrive-cb' ); ?>
</span>
<a class="blue-text" href="//help.thrivethemes.com/en/collections/2541842-general#api-connections" target="_blank"><?php echo __( 'Learn more', 'thrive-cb' ) ?></a>
</div>
<?php else : ?>
<div class="control-grid full-width pb-0">
<span>
<?php echo __( 'You can optionally choose to integrate with an email delivery service such as PostMark or SendGrid for increased deliverability. Otherwise emails will be sent directly from your server.', 'thrive-cb' ); ?>
</span>
<a class="blue-text" href="//thrivethemes.com/tkb_item/integrating-with-an-email-delivery-service-when-setting-up-an-email-connection/" target="_blank"><?php echo __( 'Learn more about this.', 'thrive-cb' ) ?></a>
</div>
<?php endif; ?>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<p class="m-0">
<?php echo __( 'Autofill will expect a date and time format value and this field will not be populated properly if a string of any other value is provided.', 'thrive-cb' ); ?>
</p>
</div>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<p class="m-0">
<?php echo __( 'An instructional text can be shown next to the label. You can Edit the instructions text by selecting it.', 'thrive-cb' ); ?>
</p>
</div>

View File

@@ -0,0 +1,8 @@
<div class="control-grid full-width pb-0">
<p class="mb-10 mt-0">
<?php echo __( 'You can optionally add a field name to help you identify what the field is for. This can be useful if you have multiple fields and you\'re sending the collected data via email. The field name that you\'ve set would show in the email as opposed to something generic like "Text 1".', 'thrive-cb' ) ?>
</p>
<p class="m-0">
<?php echo __( 'Field names are optional, don\'t affect the submission of data to autoresponders and are entirely for your benefit as a user.', 'thrive-cb' ); ?>
</p>
</div>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<p class="m-0">
<?php echo __( 'Autofill will expect a number value and this field will not be populated if a string value is provided.', 'thrive-cb' ); ?>
</p>
</div>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<p class="m-0">
<?php echo __( 'An instructional text can be shown next to the label. You can Edit the instructions text by selecting it.', 'thrive-cb' ); ?>
</p>
</div>

View File

@@ -0,0 +1,21 @@
<label>
<?php esc_html_e( 'Allowed file types', 'thrive-cb' ); ?>
<span data-paneltlt-hover class="tcb-live-tooltip ml-5" data-template="controls/lead-generation/tooltips/allowed-types"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</label>
<div class="tcb-grid halves mb-10">
<# _.each( this.model.groups, function(data, key) { #>
<div class="click file-type-group p-5 group-<#-key#>" data-value="<#-key#>" data-fn="onClick">
<#= TVE.icon( data.icon ) #>
<span class="name ml-5"><#- data.name #></span>
</div>
<# } ); #>
</div>
<div class="control-grid full-width custom-container">
<label>
<?php esc_html_e( 'Allow the following file extensions', 'thrive-cb' ); ?>
<span data-paneltlt-hover class="tcb-live-tooltip ml-5" data-template="controls/lead-generation/tooltips/custom-file-types"><?php tcb_icon( 'info-circle-solid' ); ?></span>
</label>
<input type="text" class="change custom-types" data-fn="customChanged">
<div class="inline-message m-warning pb-0 pt-5 err-invalid" style="display: none; font-size: .85em"><?php esc_html_e( 'For security reasons, the following extensions will not be accepted: ', 'thrive-cb' ); ?><span class="invalid-ext-list"></span></div>
</div>
<div class="inline-message m-error p-0 mb-10 err-missing" style="display: none"><?php esc_html_e( 'At least one file type is required', 'thrive-cb' ); ?></div>

View File

@@ -0,0 +1,33 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<div class="tve-avatar-picker-element thrv_wrapper tve_lg_input_container"
data-button-type="icon"
data-button-position="bottom"
data-icon-position="top-right"
data-gravatar="1"
data-google="1"
data-facebook="1"
data-default-avatar="<?php echo tve_editor_url( 'editor/css/images/avatar.svg' ) ?>">
<div class="tve-avatar-picker-image" style="background-image:url(<?php echo tve_editor_url( 'editor/css/images/avatar.svg' ) ?>)">
<input type="hidden" name="avatar-picker">
</div>
<button class="tve-avatar-edit-button" data-action="open-modal" data-modal-type="avatar-picker" type="button">
<span class="tve-avatar-edit-icon">
<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg">
<path d="M12.01 1.813c.296.296.445.652.445 1.066 0 .414-.149.77-.446 1.066l-8.25 8.25-2.742.305a.535.535 0 0 1-.422-.188.57.57 0 0 1-.14-.445l.304-2.672L9.01.945A1.455 1.455 0 0 1 10.076.5c.414 0 .77.148 1.066.445l.867.868zm-8.766 9.304 6.14-6.14L7.978 3.57l-6.14 6.14-.188 1.595 1.594-.188zm7.968-7.969a.37.37 0 0 0 0-.539l-.867-.867a.37.37 0 0 0-.539 0L8.775 2.773 10.18 4.18l1.031-1.032z" fill-rule="nonzero"/>
</svg>
</span>
<span class="tve-avatar-edit-text thrv-inline-text">
<?php echo __( 'Manage image', 'thrive-cb' ); ?>
</span>
</button>
</div>

View File

@@ -0,0 +1,44 @@
<div class="tve_lg_input_container tcb-plain-text tve-new-checkbox tve_lg_checkbox tve-draggable tve-droppable" draggable="true" data-columns="4">
<div class="tve-checkbox-grid">
<div class="tve_lg_checkbox_wrapper tve-updated-dom tcb-local-vars-root" data-value="default">
<div class="thrive-colors-palette-config" style="display: none !important">__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"30800":{"name":"Main Accent","parent":-1},"f2bba":{"name":"Main Light 10","parent":"30800"},"trewq":{"name":"Main Light 30","parent":"30800"},"frty6":{"name":"Main Light 45","parent":"30800"},"flktr":{"name":"Main Light 80","parent":"30800"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]},"original":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]}}]}__CONFIG_colors_palette__</div>
<input type="checkbox" name="checkbox" data-label-value="true" value="Option A"/>
<label>
<span class="tve-checkmark">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>
</span>
<span class="tve-input-option-text tcb-plain-text">Option A</span>
</label>
</div>
<div class="tve_lg_checkbox_wrapper tve-updated-dom tcb-local-vars-root" data-value="default">
<div class="thrive-colors-palette-config" style="display: none !important">__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"30800":{"name":"Main Accent","parent":-1},"f2bba":{"name":"Main Light 10","parent":"30800"},"trewq":{"name":"Main Light 30","parent":"30800"},"frty6":{"name":"Main Light 45","parent":"30800"},"flktr":{"name":"Main Light 80","parent":"30800"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]},"original":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]}}]}__CONFIG_colors_palette__</div>
<input type="checkbox" name="checkbox" data-label-value="true" value="Option B"/>
<label>
<span class="tve-checkmark">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>
</span>
<span class="tve-input-option-text tcb-plain-text">Option B</span>
</label>
</div>
<div class="tve_lg_checkbox_wrapper tve-updated-dom tcb-local-vars-root" data-value="default">
<div class="thrive-colors-palette-config" style="display: none !important">__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"30800":{"name":"Main Accent","parent":-1},"f2bba":{"name":"Main Light 10","parent":"30800"},"trewq":{"name":"Main Light 30","parent":"30800"},"frty6":{"name":"Main Light 45","parent":"30800"},"flktr":{"name":"Main Light 80","parent":"30800"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]},"original":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]}}]}__CONFIG_colors_palette__</div>
<input type="checkbox" name="checkbox" data-label-value="true" value="Option C"/>
<label>
<span class="tve-checkmark">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>
</span>
<span class="tve-input-option-text tcb-plain-text">Option C</span>
</label>
</div>
<div class="tve_lg_checkbox_wrapper tve-updated-dom tcb-local-vars-root" data-value="default">
<div class="thrive-colors-palette-config" style="display: none !important">__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"30800":{"name":"Main Accent","parent":-1},"f2bba":{"name":"Main Light 10","parent":"30800"},"trewq":{"name":"Main Light 30","parent":"30800"},"frty6":{"name":"Main Light 45","parent":"30800"},"flktr":{"name":"Main Light 80","parent":"30800"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]},"original":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]}}]}__CONFIG_colors_palette__</div>
<input type="checkbox" name="checkbox" data-label-value="true" value="Option D"/>
<label>
<span class="tve-checkmark">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>
</span>
<span class="tve-input-option-text tcb-plain-text">Option D</span>
</label>
</div>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<p class="m-0">
<?php echo __( 'Autofill will expect a country name. If a match is not found, the field will not be populated.', 'thrive-cb' ); ?>
</p>
</div>

View File

@@ -0,0 +1,5 @@
<div class="control-grid full-width pb-0">
<span>
<?php echo __( 'If there is only one option, the dropdown can be hidden from the form.', 'thrive-cb' ); ?>
</span>
</div>

View File

@@ -0,0 +1,11 @@
<div class="tve_lg_input_container tcb-plain-text tve_lg_dropdown tve-new-dropdown tcb-local-vars-root tve_lg_country" data-show-placeholder="1" data-style="default" data-icon="style_1">
<div class="thrive-colors-palette-config" style="display: none !important">__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"30800":{"name":"Main Accent","parent":-1},"f2bba":{"name":"Main Light 10","parent":"30800"},"f83d7":{"name":"Main Light 25","parent":"30800"},"trewq":{"name":"Main Light 30","parent":"30800"},"3d798":{"name":"Main Light 40","parent":"30800"},"poiuy":{"name":"Main Light 60","parent":"30800"},"418a6":{"name":"Main light 12","parent":"30800"},"a941t":{"name":"Main light 05","parent":"30800"},"1ad9d":{"name":"Main Variation 3","parent":"30800"},"2dbcc":{"name":"Main ariation 4","parent":"30800"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"f83d7":{"val":"rgba(59, 136, 253, 0.25)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.25}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"3d798":{"val":"rgba(59, 136, 253, 0.4)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.4}},"poiuy":{"val":"rgba(59, 136, 253, 0.6)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.6}},"418a6":{"val":"rgba(59, 136, 253, 0.12)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.12}},"a941t":{"val":"rgba(59, 136, 253, 0.05)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.05}},"1ad9d":{"val":"rgba(46, 204, 113, 0.1)","hsl_parent_dependency":{"h":145,"s":0.63,"l":0.49,"a":0.1}},"2dbcc":{"val":"rgb(124, 188, 123)","hsl_parent_dependency":{"h":119,"s":0.33,"l":0.61}}},"gradients":[]},"original":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"f83d7":{"val":"rgba(59, 136, 253, 0.25)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.25}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"3d798":{"val":"rgba(59, 136, 253, 0.4)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.4}},"poiuy":{"val":"rgba(59, 136, 253, 0.6)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.6}},"418a6":{"val":"rgba(59, 136, 253, 0.12)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.12}},"a941t":{"val":"rgba(59, 136, 253, 0.05)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.05}},"1ad9d":{"val":"rgba(46, 204, 113, 0.1)","hsl_parent_dependency":{"h":145,"s":0.63,"l":0.49,"a":0.1}},"2dbcc":{"val":"rgb(124, 188, 123)","hsl_parent_dependency":{"h":119,"s":0.33,"l":0.61}}},"gradients":[]}}]}__CONFIG_colors_palette__</div>
<input type="text" placeholder="<?php echo esc_attr( __('Select Country', 'thrive-cb' ) ); ?>" data-show-state="1" style="position: absolute; opacity: 0;" autocomplete="off" />
<a class="tve-lg-dropdown-trigger tcb-plain-text" tabindex="-1">
<span class="tve-disabled-text-inner"></span>
<span class="tve-item-dropdown-trigger">
<svg xmlns="http://www.w3.org/2000/svg" class="tve-dropdown-icon-up" viewBox="0 0 320 512"><path d="M151.5 347.8L3.5 201c-4.7-4.7-4.7-12.3 0-17l19.8-19.8c4.7-4.7 12.3-4.7 17 0L160 282.7l119.7-118.5c4.7-4.7 12.3-4.7 17 0l19.8 19.8c4.7 4.7 4.7 12.3 0 17l-148 146.8c-4.7 4.7-12.3 4.7-17 0z"></path></svg>
</span>
</a>
<ul class="tve-lg-dropdown-list tve-lg-country-list"></ul>
</div>

View File

@@ -0,0 +1,12 @@
<div class="tve_lg_regular_input tve_lg_input tve_lg_input_container tve_lg_date tve-lg-show-counter tcb-plain-text tcb-lg-date">
<input
name="date-field"
type="text"
class="tcb-plain-text lg-date-picker"
readonly="readonly"
data-picker-type="date"
data-display-type="modal"
data-date-format="m-d-Y"
data-is-futuristic-date="0"
data-time-interval-type="first-interval" /></div>
</div>

View File

@@ -0,0 +1,19 @@
<div class="tve_lg_input_container tve_lg_file tcb-selector-no_clone thrv-content-box tve-draggable tve-droppable" draggable="true" data-file-setup="<#-JSON.stringify( fileSetup )#>">
<div class="tve-content-box-background"></div>
<div class="tve-cb">
<input type="file" name="file">
<div data-style-d="circle_inverted" class="thrv_wrapper tcb-default-upload-icon thrv_icon tve-draggable tve-droppable tcb-selector-no_save tcb-icon-display tcb-local-vars-root">
<svg class="tcb-icon" viewBox="0 0 24 24" data-id="icon-file-upload-solid" data-name="">
<path d="M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"></path>
</svg>
</div>
<div class="thrv_wrapper thrv_text_element tcb-default-upload-text">
<div class="tcb-plain-text" style="text-align: center;">Drag and drop files here<br>or</div>
</div>
<div class="thrv_wrapper tcb-file-upload-btn thrv-button thrv-button-v2 tcb-local-vars-root tcb-selector-no_delete tcb-selector-no_save tcb-selector-no_clone">
<a href="javascript:void(0)" class="tcb-button-link tcb-plain-text tcb-file-upload-trigger">
<span class="tcb-button-texts"><span class="tcb-button-text thrv-inline-text"><?php esc_html_e( 'Select files', 'thrive-cb' ); ?></span></span>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,44 @@
<?php
/* used also for "Remember me" functionality for the login form */
$remember_me = isset( $data['remember_me'] ) ? $data['remember_me'] : false;
?>
<div class="tve_lg_input_container tve_lg_checkbox tve-new-checkbox tcb-lg-consent<?php echo $remember_me ? ' tcb-remember-me tcb-no-clone tcb-no-delete tcb-no-save' : ''; ?> tcb-excluded-from-group-item" data-columns="1">
<div class="tve-checkbox-grid">
<div class="tve_lg_checkbox_wrapper tcb-local-vars-root tve-updated-dom tcb-excluded-from-group-item" data-value="default">
<div class="thrive-colors-palette-config" style="display: none !important">__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"30800":{"name":"Main Accent","parent":-1},"f2bba":{"name":"Main Light 10","parent":"30800"},"trewq":{"name":"Main Light 30","parent":"30800"},"frty6":{"name":"Main Light 45","parent":"30800"},"flktr":{"name":"Main Light 80","parent":"30800"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"30800":{"val":"rgb(59, 136,
253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253, 0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253,
0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]},"original":{"colors":{"30800":{"val":"rgb(59, 136, 253)","hsl":{"h":216,"s":0.98,"l":0.61}},"f2bba":{"val":"rgba(59, 136, 253, 0.1)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.1}},"trewq":{"val":"rgba(59, 136, 253, 0.3)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.3}},"frty6":{"val":"rgba(59, 136, 253,
0.45)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.45}},"flktr":{"val":"rgba(59, 136, 253, 0.8)","hsl_parent_dependency":{"h":216,"s":0.98,"l":0.61,"a":0.8}}},"gradients":[]}}]}__CONFIG_colors_palette__
</div>
<?php if ( $remember_me ) : ?>
<input type="checkbox" name="remember_me" id="tcb-remember-me" class="checkbox-update">
<?php else : ?>
<input id="user-consent" type="checkbox" name="user_consent" class="user_consent" value="GDPR ACCEPTED"/>
<?php endif; ?>
<label for="<?php echo $remember_me ? 'tcb-remember-me' : 'user-consent'; ?>">
<span class="tve-checkmark">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>
</span>
<span class="tve-input-option-text tcb-plain-text tve-gdpr-text">
<?php if ( $remember_me ): ?>
<?php echo __( 'Remember me', 'thrive-cb' ); ?>
<?php else : ?>
<span>
<?php echo __( 'I consent to having my information processed in order to receive personalized marketing material via email or phone in accordance with the', 'thrive-cb' ); ?>
</span>
<span class="thrive-inline-shortcode" contenteditable="false">
<span class="thrive-shortcode-content" data-attr-id="6" data-extra_key="2" data-option-inline="1" data-shortcode="thrive_global_fields" data-shortcode-name="[Legal] Privacy policy">
<?php echo do_shortcode( "[thrive_global_fields id='6' inline='1']" ) ?>
</span>
</span>
<?php endif; ?>
</span>
</label>
<?php if ( ! $remember_me ) : ?>
<input type="hidden" name="consent_config" class="consent-config"/>
<?php endif; ?>
</div>
</div>
</div>
<?php unset( $remember_me ); ?>

View File

@@ -0,0 +1,3 @@
<div class="tve_lg_input_container tve_lg_input tve_lg_regular_input tve-draggable tve-droppable tcb-plain-text" draggable="true">
<input class="tcb-plain-text"/>
</div>

Some files were not shown because too many files have changed in this diff Show More