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,4 @@
<div class="click no-blur" data-fn-click="domAddBlock">
<div><?php tcb_icon( 'add', false, 'editor' ); ?></div>
<span><?php echo __( 'BLOCK', 'thrive-cb' ) ?></span>
</div>

View File

@@ -0,0 +1,5 @@
<div class="tcb-add-block-below no-outline">
<div>
<span><?php tcb_icon( 'add', false, 'editor' ); ?></span>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<div class="tcb-add-tab-container-wrap click no-blur" data-fn-click="addTab">
<?php tcb_icon( 'add', false, 'editor' ); ?>
</div>

View File

@@ -0,0 +1,33 @@
<#if(preview_none){#>
<div class="no-animation tcb-text-center"><?php echo __( 'None', 'thrive-cb' ) ?></div>
<#} else {#>
<div class="animation-item tcb-relative">
<div class="tcb-left">
<# if ( has_preview ) { #>
<i title="<?php esc_attr_e( 'Preview', 'thrive-db' ) ?>" class="click anim-preview" data-fn="preview" data-index="<#=i#>">
<?php tcb_icon( 'eye-regular' ) ?>
</i>
<# } else { #>
<span title="<?php esc_html_e( 'To preview this, use the Preview tool (it will open the page in a new tab)', 'thrive-cb' ) ?>" style="color: #6d7a86;">
<?php tcb_icon( 'eye-slash-regular2' ) ?>
</span>
<# } #>
</div>
<span class="tcb-truncate t-80 pl-20">
<#=trigger_text#>
</span>
<span class="col-sep tcb-absolute"></span>
<span class="col-sep tcb-absolute"></span>
<span class="tcb-icon-2w anim-arrow"><?php tcb_icon( 'long-arrow-right-light' ) ?></span>
<span class="tcb-truncate pl-5"><#=action_text#></span>
<div class="tcb-right">
<a href="javascript:void(0)" data-side="left" data-tooltip="<?php esc_attr_e( 'Edit', 'thrive-db' ) ?>" class="click" data-fn="edit" data-index="<#=i#>">
<?php tcb_icon( 'pen-light' ) ?>
</a>
<a href="javascript:void(0)" data-side="right" data-tooltip="<?php esc_attr_e( 'Remove', 'thrive-db' ) ?>" class="click" data-fn="remove" data-index="<#=i#>">
<?php tcb_icon( 'trash-light' ) ?>
</a>
</div>
</div>
</div>
<#}#>

View File

@@ -0,0 +1 @@
<li class="click" data-fn="click" data-index="<#= index #>"><#= index + 1#>. <#= item.get('title') #></li>

View File

@@ -0,0 +1,26 @@
<?php $is_ttb_active = tve_dash_is_ttb_active() ?>
<div class="<?php echo $is_ttb_active ? '' : 'inherit-typography' ?>" <?php echo $is_ttb_active ? '' : 'data-paneltlt-hover data-fn="openTooltip"' ?>>
<div class="tve-inherit-typography <?php echo $is_ttb_active ? '' : 'tcb-disabled' ?>"></div>
</div>
<div id="settings" class="tcb-relative <?php echo $is_ttb_active ? 'tcb-hidden' : '' ?>">
<div class="state-lp-settings state settings">
<hr>
<div class="list">
<a href="#" class="click s-setting" data-fn="toggleThemeCss" data-do="disable">
<span class="s-name"><?php echo esc_html__( 'Disable Theme CSS', 'thrive-cb' ); ?></span>
<?php echo tcb_icon( 'toggle-off-regular' ); ?>
</a>
<a href="#" class="click s-setting tcb-disabled" data-fn="toggleThemeCss" data-do="enable">
<span class="s-name"><?php echo esc_html__( 'Enable Theme CSS', 'thrive-cb' ); ?></span>
<?php echo tcb_icon( 'toggle-on-regular' ); ?>
</a>
</div>
</div>
</div>
<?php if ( tcb_editor()->is_landing_page() ) : ?>
<div class="p-texts center-text <?php echo tve_dash_is_ttb_active() ? 'typography-button' : '' ?>" <?php echo tve_dash_is_ttb_active() ? 'data-fn="openTooltip"' : '' ?>>
<button class="style-input lp-typography-button tve-button click " data-fn="f:main.sidebar_extra.settings.landingPageFonts">
<?php echo esc_html__( 'Edit landing page typography', 'thrive-cb' ); ?>
</button>
</div>
<?php endif; ?>

View File

@@ -0,0 +1,4 @@
<div class="tcb-flex flex-dir-column">
<div class="c-s-p-section-title mb-10"><?php echo __( 'Master Template Colors', 'thrive-cb' ); ?></div>
<div class="c-s-p-section-description"><?php echo __( 'Easily customize whole ranges of colors used in the current template', 'thrive-cb' ); ?></div>
</div>

View File

@@ -0,0 +1,4 @@
<div class="tcb-flex space-between mt-10 c-s-p-sep click" data-fn="dom_toggle_other_variables">
<div class="c-s-p-section-title"><?php echo __( 'Other Template Colors', 'thrive-cb' ); ?></div>
<span class="c-s-p-other-icon pr-10"><?php tcb_icon('a_down'); ?></span>
</div>

View File

@@ -0,0 +1,7 @@
<div class="tcb-flex flex-dir-column mt-10">
<div class="tcb-flex space-between tcb-relative">
<select id="c-s-p-palettes-select" class="change" data-fn="dom_change_palette"></select>
<span class="palettes-arrow"><?php tcb_icon('a_down'); ?></span>
<a href="javascript:void(0);" class="palettes-action-btn click" data-fn="domResetActivePalette" data-position="top" data-tooltip="<?php echo __( 'Reset Active Palette', 'thrive-cb' ); ?>"><?php tcb_icon('sync-regular'); ?></a>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<svg class="tcb-icon tcb-icon-central-style-panel tooltip-image-align">
<use xlink:href="#icon-central-style-panel"></use>
</svg>
<p class="tooltip-header tcb-tooltip text-green tooltip-text-align"><?php echo __( 'Quickly Style the General Look of this page.', 'thrive-cb' ); ?></p>
<p class="tooltip-text-typography"><?php echo __( 'With this style editor you can reuse elements and styles, control colors and typography
or inherit them from your active theme.', 'thrive-cb' ); ?></p>

After

Width:  |  Height:  |  Size: 500 B

View File

@@ -0,0 +1,26 @@
<div class="modal-item">
<div class="cloud-template-item<#=item.locked ? ' locked' : ''#>">
<div class="cloud-item <#=item.locked ? '' : ' click'#><#=selected ? ' active' : ''#>" data-id="<#= item.id || 0 #>" data-fn="dom_select" data-name="<#= item.name #>">
<div class="cb-template-wrapper">
<div class="cb-template-name">
<#=item.name #>
<?php tcb_icon( 'check-light' ) ?>
</div>
<div class="cb-template-thumbnail lazy-loading">
<# if ( item.locked ) { #>
<span class="locked-star">
<?php tcb_icon( 'star' ) ?>
</span>
<div class="template-locked-text
<#= (item.thumb_size.h * 281)/item.thumb_size.w < 150 ? 'button-only': '' #>
<#= (item.thumb_size.h * 281)/item.thumb_size.w < 63 ? 'small': '' #>">
<p><?php echo esc_html__( 'Available in the full version of Thrive Architect', 'thrive-cb' ); ?></p>
<a href="https://thrivethemes.com/architect/upgrade/?utm_campaign=tarc-upgrade&utm_medium=tarc-lite&utm_source=ttb-ui&utm_content=tarc-element&utm_term=ttb-customer" title="Thrive Architect" target="_blank"><?php echo esc_html__( 'Upgrade', 'thrive-cb' ); ?></a>
</div>
<# } #>
<img class="tve-lazy-img" src='<?php echo esc_url( tve_editor_css( 'images/loading-spinner.gif' ) ); ?>' data-src="<#= item.thumb #>" data-ratio="<#= parseFloat(parseInt(item.thumb_size ? item.thumb_size.h : 150) / parseInt(item.thumb_size ? item.thumb_size.w : 150)).toFixed(3) #>"/>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,19 @@
<div class="template-item <#=item.locked ? ' locked' : ''#>">
<div class="template-wrapper click<#=selected ? ' active' : ''#>" data-id="<#= item.id #>" data-fn="dom_select">
<div class="template-thumbnail" style="background-image: url('<#= item.thumb #>')">
<# if ( item.locked ) { #>
<span class="locked-star">
<?php tcb_icon( 'star' ) ?>
</span>
<div class="template-locked-text">
<p><?php echo __( 'Available in the full version of Thrive Architect', 'thrive-cb' ); ?></p>
<a href="https://thrivethemes.com/architect/upgrade/?utm_campaign=tarc-upgrade&utm_medium=tarc-lite&utm_source=ttb-ui&utm_content=tarc-element&utm_term=ttb-customer" title="Thrive Architect" target="_blank"><?php echo __( 'Upgrade', 'thrive-cb' ); ?></a>
</div>
<# } #>
</div>
<div class="template-name">
<#= item.name #>
</div>
<div class="selected"></div>
</div>
</div>

View File

@@ -0,0 +1,15 @@
<div class="conditional-display-wrapper">
<div class="current-display"><#= name #></div>
<div class="conditional-display-list" style="display:none"></div>
<div class="tcb-i-wrapper">
<div class="click tcb-i" data-fn="toggleDisplayDropdown"><#= dropdownIcon #></div>
<div class="click tcb-i" data-key="" data-fn="resetDisplay"><#= resetIcon #></div>
<div class="click tcb-i" data-key="" data-fn="toggleVisibility"><#= visibilityIcon #><#= hiddenIcon #></div>
<div class="click tcb-i" data-key="" data-fn="duplicateDisplay"><#= duplicateIcon #></div>
<div class="click tcb-i" data-key="" data-fn="openConditionsModal"><#= openModalIcon #></div>
</div>
</div>
<div class="click tcb-i conditional-display-small" data-fn="toggleSmallOptions"><#= smallOptionsIcon #></div>

View File

@@ -0,0 +1,51 @@
<div class="display-item click mouseenter <#= display.isActive()? 'active':'' #>" data-key="<#= display.getKey() #>" data-fn-click="activateDisplay" data-fn-mouseenter="hoverDisplay">
<?php tcb_icon( 'dots2' ); ?>
<div class="display-name-wrapper">
<span class="display-name" data-key="<#= display.getKey() #>"><#= display.name() #></span>
<# if(!display.isDefault()) { #>
<span class="display-index"><#= display.get( 'order' ) + 1 #>.</span>
<button class="click" data-fn="editDisplayName" data-key="<#= display.getKey() #>" data-side="top" data-tooltip="Edit"><?php tcb_icon( 'pen-light' ); ?></button>
<# } #>
</div>
<div class="display-actions-wrapper">
<# if(!display.isDefault()) { #>
<button class="click" data-fn="resetDisplay" data-key="<#= display.getKey() #>" data-side="top" data-tooltip="Reset"><?php tcb_icon( 'undo-regular' ); ?></button>
<# } #>
<# if(display.isDefault() && hasDisplays) { #>
<button class="click" data-fn="toggleVisibility" data-key="<#= display.getKey() #>" data-side="top" data-tooltip="Visibility">
<# if(display.isVisible()) { #>
<?php tcb_icon( 'eye-light' ); ?>
<# } else { #>
<?php tcb_icon( 'eye-light-slash' ); ?>
<# } #>
</button>
<# } #>
<button class="click" data-fn="duplicateDisplay" data-key="<#= display.getKey() #>" data-side="top" data-tooltip="Duplicate"><?php tcb_icon( 'duplicate' ); ?></button>
<# if(!display.isDefault()) { #>
<button class="click<#= display.hasConditions() ? '':' conditions-warning'#>"
data-fn="openConditionsModal"
data-key="<#= display.getKey() #>"
data-side="top" data-tooltip-config='{"warning":<#= display.hasConditions() ? 0:1#>}' data-tooltip="<#= display.hasConditions() ? 'Conditions':'Display conditions are not set'#>">
<?php tcb_icon( 'control-switch' ); ?>
</button>
<# } #>
<# if(!display.isDefault() && !display.isActive()) { #>
<button class="click additional-actions" data-fn="openActionsTooltip"><?php tcb_icon( 'three-dots' ); ?></button>
<# } #>
<div class="hidden additional-actions-tooltip">
<div class="click additional-action" data-fn="removeDisplay" data-key="<#= display.getKey() #>">
<?php tcb_icon( 'trash-light' );
echo esc_html__( 'Delete', 'thrive-cb' ); ?>
</div>
</div>
</div>
<# if(!display.isDefault() && !display.hasConditions()) { #>
<span class="no-conditions"><?php tcb_icon( 'warning' ); ?></span>
<# } #>
</div>

View File

@@ -0,0 +1 @@
<select id="tcb-condition-display-autocomplete"></select>

View File

@@ -0,0 +1,4 @@
<li class="select2-selection__choice">
<span class="select2-selection__choice__remove" role="presentation" data-value="<#= data.value #>">×</span>
<span class="select2-title"><#= data.label #></span>
</li>

View File

@@ -0,0 +1,4 @@
<select class="change" data-fn="selectChanged">
<option value="1"><?php echo esc_html__( 'True', 'thrive-cb' ) ?></option>
<option value="0"><?php echo esc_html__( 'False', 'thrive-cb' ) ?></option>
</select>

View File

@@ -0,0 +1 @@
<div class="tcb-condition-checkbox-list"></div>

View File

@@ -0,0 +1,4 @@
<div class="tcb-condition-date-time-container">
<div class="tcb-condition-date-time"></div>
<div class="tcb-condition-date-picker"></div>
</div>

View File

@@ -0,0 +1,2 @@
<input class="tcb-condition-input change" type="number" data-fn="inputChanged" min="<#= this.minInterval #>" max="<#= this.maxInterval #>">
<div class="tcb-interval-select tcb-conditional-display-select"></div>

View File

@@ -0,0 +1,4 @@
<input type="text" class="tcb-condition-datepicker-input change" data-fn="changeDate">
<div class="tcb-condition-datepicker-icon click" data-fn="openDatePicker">
<?php tcb_icon( 'calendar-range' ); ?>
</div>

View File

@@ -0,0 +1 @@
<div class="tcb-dropdown-container tcb-conditional-display-select"></div>

View File

@@ -0,0 +1 @@
<input class="tcb-condition-input change" data-fn="inputChanged" placeholder="<#= this.placeholderText #>">

View File

@@ -0,0 +1 @@
<input class="tcb-condition-input change" type="number" data-fn="inputChanged" step="1" min="<#= this.min #>" max="<#= this.max #>" >

View File

@@ -0,0 +1 @@
<div class="tcb-operator-select tcb-conditional-display-select"></div>

View File

@@ -0,0 +1 @@
<input class="tcb-condition-input input" data-fn="stringNameChanged" placeholder="variable name">

View File

@@ -0,0 +1,2 @@
<div class="tcb-condition-string-compare-select tcb-conditional-display-select"></div>
<input class="tcb-condition-input tcb-condition-string-value change" data-fn="stringValueChanged" placeholder="value">

View File

@@ -0,0 +1,2 @@
<input class="tcb-condition-input-hour input" type="number" data-fn="hourChanged" min="<#= this.minHours #>" max="<#= this.maxHours #>">
<input class="tcb-condition-input-minute input" type="number" data-fn="minuteChanged" min="<#= this.minMinutes #>" max="<#= this.maxMinutes #>">

View File

@@ -0,0 +1,3 @@
<a href="<?php echo admin_url( 'options-general.php' ) ?>" target="_blank" class="tcb-condition-input-timezone">
UTC+<?php echo get_option( 'gmt_offset' ) ?>
</a>

View File

@@ -0,0 +1,24 @@
<div class="tcb-conditional-display-title">
<span class="tcb-conditional-title-text"><?php echo esc_html__( 'Display conditions', 'thrive-cb' ); ?></span>
<span><?php echo esc_html__( 'for', 'thrive-cb' ); ?></span>
<span class="tcb-conditional-current-display"></span>
</div>
<div class="tcb-conditional-display-setting-select-container">
<div class="tcb-conditional-display-select"></div>
</div>
<div class="tcb-condition-set-list"></div>
<div class="tcb-condition-set-action-buttons" style="display:flex;flex-direction:row;">
<button class="tcb-condition-new-set click green-text" data-fn="addSet">
<?php tcb_icon( 'plus-regular' );
echo esc_html__( 'New condition set', 'thrive-cb' ); ?>
</button>
<button class="tcb-condition-select-existing-set green-text">
<?php tcb_icon( 'search-regular' );
echo esc_html__( 'Select an existing condition set', 'thrive-cb' ); ?>
<div class="tcb-condition-select-arrow"></div>
<div class="tcb-condition-set-select2-container"></div>
</button>
</div>

View File

@@ -0,0 +1 @@
<div class="tcb-entity-select tcb-conditional-display-select"></div>

View File

@@ -0,0 +1 @@
<div class="tcb-field-select tcb-conditional-display-select"></div>

View File

@@ -0,0 +1,19 @@
<p class="tcb-condition-connector-label"><#= this.index ? 'and': 'When' #></p>
<div class="tcb-condition-wrapper">
<div class="tcb-condition-entity tcb-condition-item"></div>
<div class="tcb-condition-field tcb-condition-item"></div>
<div class="tcb-condition-key tcb-condition-item"></div>
<div class="tcb-condition-compared-value tcb-condition-item"></div>
<div class="tcb-condition-comparator-extra-container hidden"></div>
<div class="tcb-condition-gray-overlay"></div>
</div>
<button class="tcb-condition-delete-rule click" data-fn="openRuleDeleteOverlay"><?php tcb_icon( 'trash-light' ); ?></button>
<div class="tcb-condition-delete-rule-overlay hidden">
<span><?php echo esc_html__( 'Are you sure you want to delete this rule?', 'thrive-cb' ); ?></span>
<div class="tcb-delete-actions">
<button class="click" data-fn="closeDeleteOverlay"><?php echo esc_html__( 'No, Cancel', 'thrive-cb' ); ?></button>
<button class="click" data-fn="deleteRule"><?php echo esc_html__( 'Yes, Delete', 'thrive-cb' ); ?></button>
</div>
</div>

View File

@@ -0,0 +1,2 @@
<span class="default-value click" data-fn="selectToggle"></span>
<ul></ul>

View File

@@ -0,0 +1,94 @@
<div class="tcb-condition-set-wrapper">
<div class="tcb-condition-global-during-edit edit-set-title hidden">
<?php echo esc_html__( 'Edit Global Conditions Set', 'thrive-cb' ); ?>
</div>
<div class="tcb-condition-global-edit-warning hidden">
<?php tcb_icon( 'info-circle-solid' ); ?>
<div class="tcb-condition-global-edit-wrapper">
<div class="tcb-condition-notice-title"><?php echo esc_html__( 'Edit Global Conditions Set', 'thrive-cb' ); ?></div>
<div class="tcb-condition-global-notice-text">
<?php echo esc_html__( 'You are about to edit a Global Condition Set. Any updates to the condition set will impact all the display views where you applied it. Do you want to continue?', 'thrive-cb' ); ?>
</div>
<div class="tcb-condition-global-notice-buttons">
<button class="tcb-condition-global-edit-cancel click" data-fn="closeEditWarning"><?php echo esc_html__( 'NO, CANCEL', 'thrive-cb' ); ?></button>
<button class="tcb-condition-global-edit-remove click" data-fn="editSet"><?php echo esc_html__( 'YES, EDIT AS GLOBAL SET', 'thrive-cb' ); ?></button>
</div>
</div>
</div>
<div class="tcb-condition-set-upper-row">
<div class="tcb-condition-set-label">
<span class="tcb-condition-label"><#= this.model.get( 'label' ) #></span>
<span class="tcb-condition-edit click" data-fn="showRename"><?php tcb_icon( 'pen-regular' ); ?></span>
<span class="tcb-condition-rename click" data-fn="renameSet"><?php tcb_icon( 'check-light' ); ?></span>
</div>
<div class="tcb-condition-set-actions">
<button class="tcb-condition-option-save click" data-fn="saveGlobalSet" data-tooltip="Global condition sets can be reused and updated across your website" data-position="top">
<?php tcb_icon( 'globe-americas-solid' ); ?>
<span>
<?php echo esc_html__( 'Save as global', 'thrive-cb' ); ?>
</span>
</button>
<span class="tcb-condition-set-global-icon" data-tooltip="Global condition set" data-position="top">
<?php tcb_icon( 'globe-americas-solid' ); ?>
</span>
<button class="tcb-condition-set-button click" data-fn="openSetTooltip">
<?php tcb_icon( 'three-dots' ); ?>
</button>
<div class="tcb-condition-set-tooltip hidden">
<button class="tcb-condition-option-unlink click" data-fn="unlinkGlobalSet">
<?php tcb_icon( 'unlink-light' ); ?>
<?php echo esc_html__( 'Unlink from global condition set', 'thrive-cb' ); ?>
</button>
<button class="tcb-condition-option-edit click" data-fn="openEditWarning">
<?php tcb_icon( 'pen-light' ); ?>
<?php echo esc_html__( 'Edit global condition set', 'thrive-cb' ); ?>
</button>
<button class="tcb-condition-option-delete click" data-fn="beforeSetDelete">
<?php tcb_icon( 'trash-light' ); ?>
<span class="tcb-delete-text">
<?php echo esc_html__( 'Delete condition set', 'thrive-cb' ); ?>
</span>
</button>
</div>
</div>
</div>
<div class="tcb-condition-set-rule-container"></div>
<button class="tcb-condition-set-add-rule-button click green-text" data-fn="addRule"><?php echo esc_html__( '+ Add rule', 'thrive-cb' ); ?></button>
<div class="tcb-condition-delete-overlay hidden">
<div class="tcb-condition-delete-overlay-wrapper">
<?php tcb_icon( 'exclamation-triangle' ); ?>
<div class="tcb-condition-delete-wrapper">
<div class="tcb-condition-notice-title global"><?php echo esc_html__( 'Delete Global Set', 'thrive-cb' ); ?></div>
<div class="tcb-condition-notice-title regular"><?php echo esc_html__( 'Delete Set', 'thrive-cb' ); ?></div>
<div class="tcb-condition-delete-text-global">
<?php echo esc_html__( 'You are about to delete a Global condition set. The ', 'thrive-cb' ); ?>
<strong class="tcb-condition-set-name"></strong>
<?php echo esc_html__( 'condition set will be permanently removed from everywhere. Do you want to continue?', 'thrive-cb' ); ?>
</div>
<div class="tcb-condition-delete-text-regular">
<?php echo esc_html__( 'You are about to delete the', 'thrive-cb' ); ?>
<strong class="tcb-condition-set-name"></strong>
<?php echo esc_html__( 'condition set. Do you want to continue?', 'thrive-cb' ); ?>
</div>
<div class="tcb-condition-global-notice-buttons">
<button class="tcb-condition-global-delete-cancel click" data-fn="closeDeleteOverlay"><?php echo esc_html__( 'NO, CANCEL', 'thrive-cb' ); ?></button>
<button class="tcb-condition-global-delete-remove click" data-fn="deleteSet"><?php echo esc_html__( 'YES, DELETE', 'thrive-cb' ); ?></button>
</div>
</div>
</div>
</div>
<div class="tcb-condition-global-during-edit edit-set-buttons hidden">
<button class="tcb-condition-global-edit-cancel click" data-fn="cancelEditing"><?php echo esc_html__( 'CANCEL', 'thrive-cb' ); ?></button>
<button class="tcb-condition-global-edit-remove click" data-fn="saveGlobalEdit"><?php echo esc_html__( 'SAVE', 'thrive-cb' ); ?></button>
</div>
</div>
<div class="tcb-condition-modal-divider">
<?php echo esc_html__( 'or', 'thrive-cb' ); ?>
</div>

View File

@@ -0,0 +1,8 @@
<li class="cdg-display-item<#= isVisible ? '' : ' not-visible'#>" data-display-key="<#= displayKey #>" data-display-group="<#= groupKey #>">
<button class="click cdg-display" data-display-key="<#= displayKey #>" data-display-group="<#= groupKey #>" data-fn="<#= isVisible ? 'locateElement' : 'setDisplayActive'#>">
<#= displayName #>
<#= isVisible ? TVE.icon( 'crosshairs-regular' ):'' #>
</button>
<ul class="nested-cdg"><#= nestedGroups #></ul>
</li>

View File

@@ -0,0 +1,13 @@
<li class="cdg-item mb-5 mt-5 level-<#= level #><#= isVisible ? '' : ' not-visible'#>">
<div class="cdg-info">
<div class="cdg-el-icon"><#= icon #></div>
<div>
<div class="cdg-el-name"><#= name #></div>
<div class="cdg-displays-number">
<#= numberOfDisplays#>
<?php echo esc_html__( 'displays', 'thrive-cb' ); ?>
</div>
</div>
</div>
<ul class="cdg-displays"><#= displaysHtml #></ul>
</li>

View File

@@ -0,0 +1,38 @@
<p><?php echo __( 'Where do you want to receive your messages?', 'thrive-cb' ) ?></p>
<div class="grey-container">
<div class="input-container">
<span><?php echo __( 'To (email):', 'thrive-cb' ) ?></span>
<input type="text" class="change input" data-fn-input="input" data-fn-change="change" name="to"
value="<#= model.get('to') #>">
</div>
<div class="input-container">
<span><?php echo __( 'Subject:', 'thrive-cb' ) ?></span>
<input type="text" class="change input" data-fn-input="input" data-fn-change="change" name="subject"
value="<#= model.get('subject') #>">
</div>
<div class="tcb-shortcodes"></div>
<div id="tcb-recipients" style="display: none;">
<div class="input-container">
<span><?php echo __( 'CC:', 'thrive-cb' )?></span>
<div>
<input type="text" class="change input" data-fn-input="input" data-fn-change="change" name="cc"
value="<#= model.get('cc') #>">
<span><?php echo __( 'You can add multiple emails separated by commas', 'thrive-cb' ) ?></span>
</div>
</div>
<div class="input-container">
<span><?php echo __( 'BCC:', 'thrive-cb' )?></span>
<div>
<input type="text" class="change input" data-fn-input="input" data-fn-change="change" name="bcc"
value="<#= model.get('bcc') #>">
<span><?php echo __( 'You can add multiple emails separated by commas', 'thrive-cb' ) ?></span>
</div>
</div>
</div>
<button id="tcb-add-more-recipients" class="click" data-fn="add_more_recipients"><span><?php echo __( 'Add more recipients', 'thrive-cb' ) ?></span></button>
</div>

View File

@@ -0,0 +1 @@
<span class="tcb-error" style="display: none;"><#= error #></span>

View File

@@ -0,0 +1 @@
<button class="mousedown" data-fn="insert_shortcode"><#= shortcode #><span>+</span></button>

View File

@@ -0,0 +1,82 @@
<div class="tcb-cf-submit-action-wrapper">
<div class="tcb-cf-submit-action" data-action="reload">
<div><?php echo tcb_icon( 'reload1', true ) ?></div>
<p><?php echo __( 'Reload page', 'thrive-cb' ) ?></p>
</div>
<div class="tcb-cf-submit-action" data-action="redirect">
<div><?php echo tcb_icon( 'url', true ) ?></div>
<p><?php echo __( 'Redirect to custom URL', 'thrive-cb' ) ?></p>
</div>
<div class="tcb-cf-submit-action" data-action="notification">
<div><?php echo tcb_icon( 'notif', true ) ?></div>
<p><?php echo __( 'Show success notification', 'thrive-cb' ) ?></p>
</div>
</div>
<div class="row">
<div class="col tcb-action-form" id="tcb-action-reload"></div>
<div class="col tcb-action-form" id="tcb-action-redirect">
<p class="pb-0"><?php echo __( 'Insert the url where you want user to be redirected', 'thrive-cb' ) ?></p>
<div id="tcb-cf-url"></div>
</div>
<div class="col tcb-action-form" id="tcb-action-notification">
<p class="pb-0"><?php echo __( 'Insert the notification text which will appear when the Contact Form will be sent', 'thrive-cb' ) ?></p>
<input name="notification" id="tcb-cf-notification" type="text" class="change input" data-fn-change="change"
data-fn-input="input" value="<#= model.get('notification') #>"
placeholder="<?php echo __( 'Notification', 'thrive-cb' ) ?>">
</div>
</div>
<div class="tcb-switch">
<label for="tcb-send-confirmation-email"><?php echo __( 'Send confirmation email to user', 'thrive-cb' ) ?>
<input id="tcb-send-confirmation-email" name="send_confirmation_email" class="change"
data-fn-change="change" type="checkbox">
<span class="tcb-lever"></span>
</label>
</div>
<div class="row" id="tcb-confirmation-message-wrapper">
<div class="col col-xs-12">
<input type="text" id="tcb-cf-input-subject" name="confirmation_subject" class="change input"
data-fn-input="input" data-fn-change="change" value="<#= model.get('confirmation_subject') #>"
placeholder="<?php echo __( 'Subject', 'thrive-cb' ) ?>">
<textarea name="confirmation_message" class="change input" data-fn-input="input" data-fn-change="change"><#= model.get('confirmation_message') #></textarea>
<div class="tcb-cf-shortcode-wrapper">
<div class="tcb-cf-shortcode-buttons">
<span><?php echo __( 'Add shortcodes:', 'thrive-cb' ) ?></span>
</div>
<div class="tcb-shortcodes"></div>
</div>
</div>
<div class="tcb-switch">
<label
for="tcb-personalize-sender"><?php echo __( 'Would you like to personalize the Sender Details?', 'thrive-cb' ) ?>
<input id="tcb-personalize-sender" type="checkbox" name="sender_personalized" class="change"
data-fn-change="change">
<span class="tcb-lever"></span>
</label>
</div>
<div id="tcb-sender-details-wrapper">
<div class="input-container">
<label for="tcb-personalize-from-name"><?php echo __( 'From name', 'thrive-cb' ) ?></label>
<input id="tcb-personalize-from-name" type="text" name="from_name" class="change input"
data-fn-change="change" data-fn-input="input"
placeholder="<?php echo __( 'From Name:', 'thrive-cb' ) ?>"
value="<#= model.get('from_name') #>">
</div>
<div class="input-container">
<label for="tcb-personalize-from-email"><?php echo __( 'From email', 'thrive-cb' ) ?></label>
<input id="tcb-personalize-from-email" type="text" name="from_email" class="change input"
data-fn-change="change" data-fn-input="input"
placeholder="<?php echo __( 'From Email:', 'thrive-cb' ) ?>"
value="<#= model.get('from_email') #>">
</div>
<div class="input-container">
<label for="tcb-personalize-from-reply-to"><?php echo __( 'Reply-To', 'thrive-cb' ) ?></label>
<select name="reply_to" id="tcb-personalize-from-reply-to" class="change"
data-fn-change="change"></select>
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<a href="javascript:void(0);" class="click cb-category" data-fn="filter" data-source="category" data-item="<#= id #>"><#= icon #><#= name #></a>

View File

@@ -0,0 +1,9 @@
<div class="control-grid">
<span class="label tcb-truncate"><#= model.get( 'local_variable_name' ) #></span>
<div class="input">
<span class="sp-transparent click" data-fn="edit_local_variable" data-var="<#= model.get( 'local_variable' ) #>" data-index="<#= index #>">
<span class="tcb-icon-inline" style="background-size:auto;background-image:<#= bg #>"></span>
</span>
<input type="text" value="<#= model.get( 'local_variable_code' ) #>" readonly>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<div class="ct-item modal-item click" data-fn="selectTemplate" data-id="<#= item.id #>" data-name="<#= item.label #>" data-category="<#= item.id_category #>">
<div class="modal-title-w-options">
<div class="modal-item-name"><#= item.label #></div>
<span><?php tcb_icon( 'check-regular' ); ?></span>
</div>
<div class="card">
<div class="cb-template-thumbnail lazy-loading">
<img class="tve-lazy-img" src="<?php echo esc_url( tve_editor_css( 'images/loading-spinner.gif' ) ); ?>" data-src="<#= item.thumb.url #>" data-ratio="<#= parseFloat(parseInt(item.thumb.h) / parseInt(item.thumb.w)).toFixed(3) #>"/>
</div>
</div>
</div>

View File

@@ -0,0 +1 @@
<a href="javascript:void(0);" class="click cb-category<#= extra_cls#>" data-fn="filter" data-source="favorites" data-item="favorites"><?php tcb_icon( 'heart-light' ); ?> <?php echo esc_html__( 'My Favorites', 'thrive-cb' ) ?></a>

View File

@@ -0,0 +1 @@
<div><a href="javascript:void(0);" class="click cb-group" data-fn="filter" data-source="group" data-item="<#= group #>"><?php tcb_icon( 'html' ); ?>&nbsp;<#= group #></a></div>

View File

@@ -0,0 +1,4 @@
<a href="javascript:void(0);" class="click lp-category" data-fn="filter" data-source="category" data-item="<#= id #>">
<span><#= name #></span>
<span><#= counter #></span>
</a>

View File

@@ -0,0 +1,4 @@
<a href="javascript:void(0);" class="click lp-group" data-fn="filter" data-source="group" data-item="<#= group #>">
<span><#= group #></span>
<span class="lp-group-count"><#= counter #></span>
</a>

View File

@@ -0,0 +1,7 @@
<div class="cb-template-item modal-item click" data-id="<#= item.id #>" data-fn="domDownloadTpl">
<div class="cb-template-wrapper">
<div class="cb-template-thumbnail lazy-loading">
<img class="tve-lazy-img" src="<?php echo esc_url( tve_editor_css( 'images/loading-spinner.gif' ) ); ?>" data-src="<#= item.thumb #>" data-ratio="<#= parseFloat(parseInt(item.thumb_sizes.h) / parseInt(item.thumb_sizes.w)).toFixed(3) #>"/>
</div>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<div class="flex flex-center">
<?php echo __( 'No results. Please adjust the search.', 'thrive-cb' ); ?>
</div>

View File

@@ -0,0 +1,18 @@
<div class="cb-template-item modal-item click<#=selected ? ' active' : ''#><#=item.fav ? ' cb-fav' : ''#>" data-id="<#= item.id #>" data-fn="dom_select">
<div class="cb-template-wrapper">
<div class="cb-template-thumbnail lazy-loading">
<a href="javascript:void(0);" class="click cb-thumb-overlay" data-id="<#= item.id #>" data-fn="dom_insert_into_content"></a>
<img class="tve-lazy-img" src='<?php echo esc_url( tve_editor_css( 'images/loading-spinner.gif' ) ); ?>' data-ratio="<#= item.thumb_sizes ? parseFloat(parseInt(item.thumb_sizes.h) / parseInt(item.thumb_sizes.w)).toFixed(3) : ''#>" data-src="<#= item.thumb #>"/>
</div>
<div class="cb-actions">
<a href="javascript:void(0);" class="click" data-id="<#= item.id #>" data-fn="dom_preview"><span id="cb-preview-light"><?php tcb_icon( 'eye-light' ); ?></span><span><?php echo esc_html__( 'Preview Block', 'thrive-cb' ) ?></span></a>
<div>
<div class="cb-separator"></div>
<a href="javascript:void(0);" class="click cb-favorite" data-id="<#= item.id #>" data-fn="dom_fav">
<span data-tooltip="<#= favorite_data[item.fav].tooltip #>"><#= TVE.icon(favorite_data[item.fav].icon) #></span>
</a>
</div>
</div>
<div class="selected"></div>
</div>
</div>

View File

@@ -0,0 +1,14 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<p class="tooltip-header"><?php echo __( 'Page Blocks and Content Blocks', 'thrive-cb' ); ?></p>
<p class="tooltip-text"><strong style="font-weight: 500;"><?php echo __( 'Together as one. Available Everywhere.', 'thrive-cb' ); ?></strong></p>
<p class="tooltip-text"><?php echo __( 'Page blocks and content blocks have merged into one element, <strong style="font-weight: 500;">Blocks</strong>, to help you create more engaging blogposts and build landing pages faster.', 'thrive-cb' ); ?></p>

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>
<# } #>

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