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,16 @@
<div class="">
<p class="m-0"><?php echo __( 'Audio', 'thrive-cb' ) ?></p>
<#if(!this.selection||!this.selection.title){#>
<button class="click tve-button white mt-5 mb-5 border w-100" data-fn="open_media">
<#=this.labels.choose#>
</button>
<#}#>
<#if(this.selection&&this.selection.title){#>
<div class="video-picker control-grid mb-5">
<span class="tcb-truncate t-80"><#=this.selection.title#></span>
<a href="javascript:void(0)" class="image-edit click" data-fn="open_media" data-tooltip="<?php echo __( 'Change Audio', 'thrive-cb' ) ?>">
<?php tcb_icon( 'exchange-regular' ) ?>
</a>
</div>
<#}#>
</div>

View File

@@ -0,0 +1,21 @@
<div class="display-type-tooltip-wrapper tcb-tooltip tooltip-bottom">
<div class="icon"><?php tcb_icon( 'exclamation-triangle-light' ); ?></div>
<div class="tcb-tooltip-text-wrapper">
<span>
<?php echo esc_html__( 'All carousel options will be reset when switching display type. Do you want to continue?', 'thrive-cb' ); ?>
</span>
<div class="buttons-wrapper">
<button class="cancel-change click" data-fn="cancelChange">
<?php echo esc_html__( 'Cancel', 'thrive-cb' ); ?>
</button>
<button class="appply-change click" data-fn="applyChange">
<?php echo esc_html__( 'Continue', 'thrive-cb' ); ?>
</button>
</div>
<div class="tcb-checkbox">
<input type="checkbox" id="dismiss-<#= type #>" name="dismiss">
<label for="dismiss-<#= type #>">Don't show again</label>
</div>
</div>
</div>

View File

@@ -0,0 +1,19 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 8/22/2018
* Time: 1:56 PM
*/
?>
<div id="active_color_details">
<div class="control-grid">
<div class="tcb-global-color-preview"></div>
<div class="tcb-edit-color-btn click" data-fn="add_global" data-tooltip="<#= global_tip #>">
<?php tcb_icon( 'globe-regular' ); ?> <?php echo __( 'Global', 'thrive-cb' ); ?>
</div>
<div class="tcb-edit-color-btn click" data-fn="add_favorite" data-tooltip="<#= favorite_tip #>">
<?php tcb_icon( 'star-solid' ); ?> <?php echo __( 'Favorite', 'thrive-cb' ); ?>
</div>
</div>
</div>

View File

@@ -0,0 +1,42 @@
<div class="sp-color-options">
<div class="sp-color-info-container">
<span class="sp-color-info-label">
<#= title #>
</span>
<span class="sp-info-icon click" data-paneltlt-hover data-fn="openTooltip">
<?php tcb_icon( 'info-circle-solid' ); ?>
</span>
</div>
<div>
<# if(edit) { #>
<# if(type == 'global') { #>
<div class="sp-color-action-container click" data-fn="go_to_state" data-state="31">
<# } else { #>
<div class="sp-color-action-container click" data-fn="edit_template_color">
<# } #>
<div class="sp-action-icon">
<# if(type == 'global') { #>
<?php tcb_icon( 'pencil-alt-solid' ); ?>
<# } else { #>
<?php tcb_icon( 'paintbrush-solid' ); ?>
<# } #>
</div>
<div class="sp-action-label">
<#= edit_label #>
</div>
</div>
<# } #>
<div class="sp-color-action-container click" data-fn="unlink_global">
<div class="sp-action-icon">
<?php tcb_icon( 'unlink-regular' ); ?>
</div>
<div class="sp-action-label">
<#= unlink_label #>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<div class="tooltip-text" style="line-height: 1.1;">
<?php echo __( 'You have chosen a color saved in a custom field specifically for this post or page. You can also set a default color to display in the event that the dynamic color is not available.', 'thrive-cb' ); ?>
</div>

View File

@@ -0,0 +1,19 @@
<div class="sp-color-options">
<div class="sp-color-info-container">
<span class="sp-color-info-label">
<#= title #>
</span>
<span class="sp-info-icon click" data-paneltlt-hover data-fn="openTooltip">
<?php tcb_icon( 'info-circle-solid' ); ?>
</span>
</div>
<div>
<div class="sp-color-action-container sp-dynamic-color-container">
<div class="sp-action-icon">
<?php tcb_icon( 'database-light' ); ?>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<div class="label-hidden dynamic-color-control">
<div class="tve-btn-group input btn-tabs">
<div class="tve-control tve-btn click fs-13" data-fn="activateColorSet" data-set="default"><?php echo __( 'My Colors', 'thrive-cb' ); ?></div>
<div class="tve-control tve-btn click fs-13" data-fn="activateColorSet" data-set="dynamic"><?php tcb_icon( 'database-regular' ); ?>&nbsp;<?php echo __( 'Dynamic Colors', 'thrive-cb' ); ?></div>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/26/2018
* Time: 1:02 PM
*/
?>
<span class="p-thumb p-fav-thumb click" data-fn="color_click" data-color="<#= color #>" data-id="<#= id #>" data-name="<#= name #>" data-tooltip="<#= name #>" data-position="top">
<span class="p-thumb-inner" style="<#= css_prop #>:<#= color #>;box-shadow: 0 0 3px 1px <#= color #>""></span>
</span>

View File

@@ -0,0 +1,11 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/26/2018
* Time: 1:14 PM
*/
?>
<span data-var-type="<#= typeof var_type !== 'undefined' ? var_type : '' #>" class="p-thumb p-global-thumb click" data-fn="color_click" data-color="<#= color #>" data-custom-name="<#= custom_name #>" data-name="<#= name #>" data-tooltip="<#= name #>" data-position="top" data-var="<#= global_prefix #><#= id #>" data-synced-var="<#= synced_var #>" data-id="<#= id #>">
<span class="p-thumb-inner" style="<#= css_prop #>:var(<#= global_prefix #><#= id #>,<#= color #>);box-shadow: 0 0 3px 1px var(<#= global_prefix #><#= id #>,<#= color #>)"></span>
</span>

View File

@@ -0,0 +1,6 @@
<div class="tooltip-text">
<?php echo __( 'Dynamic colors are available through ACF and set per post or page. Learn more ', 'thrive-cb' ); ?>
<a href="https://help.thrivethemes.com/en/articles/4491909-how-to-use-the-dynamic-colors" target="_blank" class='sp-info-link'>
<?php echo __( 'here.', 'thrive-cb' ) ?>
</a>
</div>

View File

@@ -0,0 +1,6 @@
<div class="tooltip-text">
<?php echo __( 'Learn how to use global colors ', 'thrive-cb' ); ?>
<a href="https://thrivethemes.com/tkb_item/how-to-use-the-global-colors-feature/" target="_blank" class='sp-info-link'>
<?php echo __( 'here', 'thrive-cb' ) ?>
</a>
</div>

View File

@@ -0,0 +1,6 @@
<div class="tooltip-text">
<?php echo __( 'Template colors are inherited from your page template. Learn how to use template colors', 'thrive-cb' ); ?>
<a href="https://thrivethemes.com/tkb_item/what-are-smart-landing-pages-and-how-to-use-them" class="sp-info-link" target="_blank">
<?php echo __( 'here', 'thrive-cb' ) ?>
</a>
</div>

View File

@@ -0,0 +1,6 @@
<div class="tooltip-text">
<?php echo __( 'Theme colors are shared across your website and can be edited from the branding tab in Thrive Theme Builder. Learn how to use theme colors ', 'thrive-cb' ) ?>
<a href="https://thrivethemes.com/tkb_item/what-are-theme-colors-how-to-use-them/" class="sp-info-link" target="_blank">
<?php echo __( 'here', 'thrive-cb' ) ?>
</a>
</div>

View File

@@ -0,0 +1,11 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/26/2018
* Time: 12:53 PM
*/
?>
<span class="p-thumb click save-fav" data-left="20" data-tooltip="<#= tooltip #>" data-fn="save_favorite">
<?php tcb_icon( 'plus-regular' ); ?>
</span>

View File

@@ -0,0 +1,15 @@
<div class="">
<#if(!this.selection||!this.selection.title){#>
<button class="click tve-button white mt-5 mb-5 border w-100" data-fn="open_media">
<#=this.labels.choose#>
</button>
<#}#>
<#if(this.selection&&this.selection.title){#>
<div class="video-picker control-grid mb-5">
<span class="tcb-truncate t-80"><#=this.selection.title#></span>
<a href="javascript:void(0)" class="image-edit click" data-fn="open_media" data-tooltip="<?php echo __( 'Change Element', 'thrive-cb' ) ?>">
<?php tcb_icon( 'exchange-regular' ) ?>
</a>
</div>
<#}#>
</div>

View File

@@ -0,0 +1,85 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/25/2018
* Time: 10:26 AM
*/
?>
<div id="active_color_details">
<div class="tcb-favorites-steps control-grid tcb-favorites-step-1" data-step="1">
<div class="tcb-global-color-preview"></div>
<span class="tcb-global-color-label tcb-truncate t-50"><#= text #></span>
<span class="click tcb-global-color-icon" data-fn="make_global" data-tooltip="<?php echo __( 'Make it global', 'thrive-cb' ); ?>">
<?php tcb_icon( 'globe-regular' ); ?>
</span>
<span class="click tcb-global-color-icon" data-fn="remove_favorite" data-tooltip="<?php echo __( 'Remove favorite', 'thrive-cb' ); ?>">
<?php tcb_icon( 'star-solid' ); ?>
</span>
</div>
<?php //Edit view: 2 ?>
<div class="tcb-favorites-steps control-grid tcb-favorites-step-2" data-step="2">
<div class="tcb-global-color-preview"></div>
<# if(!enable_edit_color && !enable_unlink) { #>
<span class="tcb-global-color-label tcb-truncate t-70"><#= text #></span>
<# } else { #>
<span class="tcb-global-color-label tcb-truncate t-50"><#= text #></span>
<# } #>
<div class="shared-styles-actions ml-5" data-state="1">
<# if(enable_edit_color) { #>
<a href="javascript:void(0)" class="click click-icon" data-fn="go_to_state" data-state="31" data-tooltip="<#= edit_tip #>">
<?php tcb_icon( 'edit' ); ?>
</a>
<# } #>
<# if(enable_unlink) { #>
<a href="javascript:void(0)" class="click click-icon" data-fn="unlink_global" data-side="top" data-tooltip="<#= unlink_tip #>">
<?php tcb_icon( 'unlink-regular' ); ?>
</a>
<# } #>
<a href="javascript:void(0)" class="click click-icon" data-fn="toggle_more_options">
<?php tcb_icon( 'ellipsis-v-regular' ); ?>
</a>
</div>
<ul class="global-colors-drop-content tcb-hide">
<li class="click click-icon" data-fn="go_to_state" data-state="32">
<a href="javascript:void(0)"><?php echo __( 'Rename', 'thrive-cb' ) ?></a>
</li>
<# if(enable_remove_color) { #>
<li class="click click-icon" data-fn="go_to_state" data-state="33">
<a href="javascript:void(0)"><?php echo __( 'Delete', 'thrive-cb' ) ?></a>
</li>
<# } #>
</ul>
</div>
<?php //Edit - Color: 31 ?>
<div class="tcb-favorites-steps control-grid tcb-favorites-step-31" data-step="31">
<div class="tcb-global-color-preview"></div>
<span class="tcb-global-color-label tcb-truncate t-50"><#= text #></span>
<span class="click tcb-global-color-icon" data-fn="update_global" data-tooltip="<#= update_tip #>"><?php tcb_icon( 'check-regular' ); ?></span>
<span class="click tcb-global-color-icon" data-fn="undo_global" data-tooltip="<#= undo_tip #>"><?php tcb_icon( 'times-regular' ); ?></span>
</div>
<?php //Edit - Name: 32 ?>
<div class="tcb-favorites-steps control-grid tcb-favorites-step-32" data-step="32">
<div class="tcb-global-color-preview"></div>
<input type="text" id="tcb_global_color_name" value="<#= text #>"/>
<span class="click tcb-global-color-icon" data-fn="update_global"><?php tcb_icon( 'check-regular' ); ?></span>
<span class="click tcb-global-color-icon" data-fn="undo_global"><?php tcb_icon( 'times-regular' ); ?></span>
</div>
<?php //Remove: 33 ?>
<div class="tcb-favorites-steps control-grid tcb-favorites-step-33" data-step="33">
<div class="warning">
<?php echo __( 'Are you sure?', 'thrive-cb' ); ?>
</div>
<div class="remove-buttons">
<div class="click" data-fn="remove_global"><?php echo __( 'YES', 'thrive-cb' ); ?></div>
<div class="click" data-fn="go_to_state" data-state="2"><?php echo __( 'NO', 'thrive-cb' ); ?></div>
</div>
</div>
</div>

View File

@@ -0,0 +1,20 @@
<div style="position: absolute;top: 0;" id="edit-mode-drop-panels"></div>
<div class="tcb-em-drag">
<span class="em-drag-handle"></span>
<span class="em-drag-handle"></span>
</div>
<div class="tcb-element-name"></div>
<div class="click tve-reset" data-fn="reset"><?php tcb_icon( 'sync-regular' ); ?> <span><?php echo __( 'RESET', 'thrive-cb' ); ?></span></div>
<select class="tve-select change mouseover" data-fn="state_changed" data-fn-mouseover="mouseOverState"></select>
<button id='add_jump' class="tve-button grey click tcb-hide" data-fn="f:jumplinks.addJumplink" disabled><?php echo __( 'Add Jumplink', 'thrive-cb' ); ?></button>
<button id='exit_jump' class="tve-button grey click tcb-hide" data-fn="f:jumplinks.cancel"><?php echo __( 'Exit', 'thrive-cb' ); ?></button>
<button id='exit_edit' class="tve-button orange click" data-fn="exit"><?php echo __( 'DONE', 'thrive-cb' ); ?></button>
<div class="direction-arrow click" data-fn="scroll_to" style="display: none;">
<svg width="27px" height="31px" viewBox="0 0 27 31" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1065.000000, -958.000000)" fill="#EE9374">
<polygon points="1077.89107 958.034843 1091.09415 988.325951 1077.89107 983.89917 1065.09415 988.325951"></polygon>
</g>
</g>
</svg>
</div>

View File

@@ -0,0 +1,4 @@
<div style="margin: 0 2px; padding: 0 2px; display: flex;align-items: center;">
<#= TVE.icon( icon, 'svg', 'editor' ) #>
<span style="margin-left: 2px"><#= text #></span>
</div>

View File

@@ -0,0 +1,5 @@
<#if(instructions){#>
<span class="click" data-type="<#=instructions.type#>" data-url="<#=instructions.url#>" data-link="<#=instructions.link#>" data-fn="<#=instructions.type === 'help' ? 'redirectToInstructionsUrl' : 'openInstructionsLightbox'#>">
<#= TVE.icon( instructions.type + "-instructions" ) #>
</span>
<#}#>

View File

@@ -0,0 +1,14 @@
<div class="mt-10 tcb-hidden global-edit-warning" id="global-color-edit-warning">
<span id="global-color-edit-msg"><?php echo __( 'Careful, you are editing a global color.', 'thrive-cb' ); ?></span>
<a href="https://thrivethemes.com/tkb_item/how-to-use-the-global-colors-feature/#globalcolor_edit" target="_blank"><?php echo __( 'Learn more', 'thrive-cb' ); ?></a>
</div>
<div class="mt-6">
<span class="click open color-menu-item tcb-favorites-toggle-control" data-dropdown-base-selector=".tcb-favorites-toggle-" data-fn="toggleColorDropdown">
<i></i> <?php echo __( 'My Colors', 'thrive-cb' ); ?>
</span>
</div>
<div class="tcb-favorites-toggle-content">
<div id="tcb-color-details"></div>
<div id="tcb-add-color"></div>
<div class="tcb-saved-colors-container mt-5"></div>
</div>

View File

@@ -0,0 +1,14 @@
<div class="mt-10 tcb-hidden global-edit-warning" id="global-gradient-edit-warning">
<span id="global-gradient-edit-msg"><?php echo __( 'Careful, you are editing a global gradient.', 'thrive-cb' ); ?></span>
<a href="https://thrivethemes.com/tkb_item/how-to-use-the-global-gradients-feature/#globalgradient_edit" target="_blank"><?php echo __( 'Learn more', 'thrive-cb' ); ?></a>
</div>
<div class="mt-6">
<span class="click open color-menu-item tcb-favorites-toggle-control" data-dropdown-base-selector=".tcb-favorites-toggle-" data-fn="toggleGradientDropdown">
<i></i> <?php echo __( 'My Gradients', 'thrive-cb' ); ?>
</span>
</div>
<div class="tcb-favorites-toggle-content">
<div id="gradient-details"></div>
<div id="add-gradient"></div>
<div class="saved-gradients-container mt-5"></div>
</div>

View File

@@ -0,0 +1,25 @@
<#if(!this.selection||!this.selection.title){#>
<a class="image-picker control-grid pb-0 click" data-fn="open_media">
<div class="fixed-65 mr-5 preview">
<?php tcb_icon( 'bk-img' ) ?>
</div>
<span class="fill">
<#=this.labels.choose#>
</span>
<span href="javascript:void(0)" class="image-edit mr-5" data-tooltip="<?php echo __( 'Choose image', 'thrive-cb' ) ?>">
<?php tcb_icon( 'exchange-regular' ) ?>
</span>
</a>
<#}#>
<#if(this.selection&&this.selection.title){#>
<a class="control-grid pb-0 mb-10 image-picker click" data-fn="open_media">
<#=this.preview_icon()#>&nbsp;
<div class="tcb-truncate fill ml-5">
<#=this.selection.title#>
</div>
<span href="javascript:void(0)" class="image-edit mr-5" data-tooltip="<?php echo __( 'Replace Image', 'thrive-cb' ) ?>">
<?php tcb_icon( 'exchange-regular' ) ?>
</span>
</a>
<hr>
<#}#>

View File

@@ -0,0 +1,3 @@
<svg class="tcb-icon tcb-<#= icon #><#= extra_class #>">
<use xlink:href="#<#= icon #>"></use>
</svg>

After

Width:  |  Height:  |  Size: 102 B

View File

@@ -0,0 +1 @@
<input type="<#= (typeof _type === 'undefined'? 'text': _type) #>" value="<#= value #>" <#= (typeof id === 'undefined' ? '' : 'id="'+id+'"') #> <#= (typeof _class === 'undefined' ? '' : 'class="'+_class+'"') #> <#= (typeof name === 'undefined' ? '' : 'name="'+name+'"')#> <#= checked ? 'checked':''#> />

View File

@@ -0,0 +1,38 @@
<div class="thrv_text_element">
<section class="fr-dropdown-list fr-link-styles fr-state" data-state="normal">
<div data-style="__default" class="fr-link-style-item fr-dropdown-item fr-command" data-cls="" data-cmd="linkStyleApply">
<a class="fr-link-style" href="javascript:void(0)"><?php echo esc_html__( tcb_post()->is_landing_page() ? 'Landing Page Default' : 'Default', 'thrive-cb' ); ?></a>
<div class="fr-submenu">
<span class="fr-command" data-style="__default" tabIndex="-1" role="option" data-cmd="linkStyleApply"><?php echo __( 'Apply Link Style', 'thrive-cb' ); ?></span>
<span class="fr-command" data-style="__default" tabIndex="-1" role="option" data-cmd="linkStyleUpdate"><?php echo __( 'Update Link Style to Match', 'thrive-cb' ); ?></span>
<span class="fr-command" data-style="__default" tabIndex="-1" role="option" data-cmd="linkStyleDefaultReset"><?php echo __( 'Reset Style', 'thrive-cb' ); ?></span>
</div>
</div>
<#_.each ( linkStyles, function( style, _index ) { #>
<div class="fr-link-style-item fr-dropdown-item fr-command" data-style="<#=style.id#>" data-cmd="linkStyleApply">
<a class="fr-link-style <#=style.cls#>" href="javascript:void(0)"><#=style.name#></a>
<div class="fr-submenu">
<span class="fr-command" data-style="<#=style.id#>" tabIndex="-1" role="option" data-cmd="linkStyleApply"><?php echo __( 'Apply Link Style', 'thrive-cb' ); ?></span>
<span class="fr-command" data-style="<#=style.id#>" tabIndex="-1" role="option" data-cmd="linkStyleUpdate"><?php echo __( 'Update Link Style to Match', 'thrive-cb' ); ?></span>
<span class="fr-command" data-style="<#=style.id#>" data-confirm="<?php echo esc_attr__( 'Are you sure you want to delete this style? This action cannot be undone.', 'thrive-cb' ); ?>" tabIndex="-1" role="option" data-cmd="linkStyleDelete"><?php echo __( 'Delete Link Style', 'thrive-cb' ); ?></span>
</div>
</div>
<# }) #>
<div class="fr-link-style-item fr-dropdown-item fr-save-link-style">
<span class="fr-command" data-cmd="linkStyleAddForm"><?php echo esc_html__( 'Save as new style', 'thrive-cb' ); ?></span>
</div>
</section>
<section class="fr-link-style-add fr-form fr-state" data-state="add" style="display: none">
<div class="fr-form-section">
<strong><?php echo esc_html__( 'Save link style', 'thrive-cb' ); ?></strong>
</div>
<div class="fr-form-section fr-link-style-preview"><a href="javascript:void(0)"><?php echo esc_html__( 'Sample', 'thrive-cb' ); ?></a></div>
<div class="fr-form-section">
<input type="text" class="fr-link-style-name" value="Link <#=Math.random()#>" placeholder="<?php echo esc_attr__( 'Link style name', 'thrive-cb' ); ?>">
</div>
<div class="fr-action-buttons">
<button class="fr-command fr-danger fr-remove" role="button" data-cmd="linkStyleCancelAdd" type="button" tabindex="10"><?php echo esc_html__( 'Cancel', 'thrive-cb' ); ?></button>
<button class="fr-command fr-submit" role="button" data-cmd="linkStyleAdd" type="button" tabindex="9"><?php echo esc_html__( 'Save', 'thrive-cb' ); ?></button>
</div>
</section>
</div>

View File

@@ -0,0 +1,7 @@
<div class="label pb-10">
<?php esc_attr_e( 'Target URL', 'thrive-cb' ) ?>
</div>
<div class="tcb-search-wrapper">
<input type="text" class="tcb-link-suggest" placeholder="<?php esc_attr_e( 'Paste URL or type to search', 'thrive-cb' ) ?>">
</div>
<div class="url-preview"></div>

View File

@@ -0,0 +1,21 @@
<div class="control-grid">
<label><?php echo __( 'Lightbox', 'thrive-cb' ) ?></label>
<div class="input tcb-relative">
<div class="tcb-list-input-wrapper" >
<input type="text" class="list-filter keyup" data-fn="filter" value="<#=filter_string#>" placeholder="<?php esc_attr_e( 'Filter list...', 'thrive-cb' ) ?>">
<?php tcb_icon( 'close', false, 'sidebar', 'tcb-list-clear-icon click', array( 'data-fn' => 'clear_input' ) ) ?>
</div>
<ul class="tcb-scroll list-container">
<# if (collection.length) { #>
<# collection.each( function ( item ) { #>
<li class="item click" data-fn="select" data-value="<#=item.get('id')#>" title="<#=item.get('title')#>">
<div class="item-title"><#=item.get('title')#></div>
</li>
<# } ) #>
<# } #>
<li class="no-entry" style="display: none"><?php esc_html_e( 'No item found.', 'thrive-cb' ) ?></li>
</ul>
</div>
</div>
<div class="selected-item clear"></div>

View File

@@ -0,0 +1,5 @@
<div class="no-icons-container mr-40 ml-10" style="height: <#= height*0.95#>px;">
<span><?php tcb_icon( 'file-search-solid' ) ?></span>
<span class="no-results mt-30 mb-5"><?php echo __( 'No results found', 'thrive-cb' ); ?></span>
<span><?php echo __( 'Try adjusting your search to find what you are looking for', 'thrive-cb' ); ?></span>
</div>

View File

@@ -0,0 +1 @@
<option value="<#= value #>" <#= (typeof _class === 'undefined' ? '' : 'class="'+_class+'"') #> <#= (typeof name === 'undefined' ? '' : 'name="'+name+'"')#> <#= selected ? 'selected':''#>><#= text #></option>

View File

@@ -0,0 +1 @@
<svg class="tcb-icon" viewBox="<#= viewBox #>" <#= typeof id === 'undefined' ? '' : 'data-id="'+id+'"' #> data-name="<#= name #>"><#= path #></svg>

After

Width:  |  Height:  |  Size: 147 B

View File

@@ -0,0 +1,18 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 1/10/2019
* Time: 9:36 AM
*/
?>
<div class="mt-6">
<span class="click open color-menu-item tcb-templates-toggle-control" data-dropdown-base-selector=".tcb-templates-toggle-" data-fn="toggleColorDropdown">
<i></i> <?php echo __( 'Template Colors', 'thrive-cb' ); ?>
</span>
</div>
<div class="tcb-templates-toggle-content">
<div id="tcb-template-color-details"></div>
<div class="tcb-template-colors-container mt-5"></div>
</div>

View File

@@ -0,0 +1,18 @@
<?php
/**
* Created by PhpStorm.
* User: ovidiu
* Date: 1/12/2019
* Time: 5:29 PM
*/
?>
<div class="mt-6">
<span class="click open color-menu-item tcb-templates-toggle-control" data-dropdown-base-selector=".tcb-templates-toggle-" data-fn="toggleGradientDropdown">
<i></i> <?php echo __( 'Template Gradients', 'thrive-cb' ); ?>
</span>
</div>
<div class="tcb-templates-toggle-content">
<div id="templates-gradient-details"></div>
<div class="templates-gradients-container mt-5"></div>
</div>

View File

@@ -0,0 +1,43 @@
<section class="fr-dropdown-list fr-text-styles fr-state" data-state="normal">
<div class="fr-dropdown-tabs">
<span data-target="default" class="fr-tab-link fr-tab-active fr-command" data-cmd="changeTab"><?php echo esc_html__( tcb_post()->is_landing_page() ? 'Landing Page' : 'Default', 'thrive-cb' ); ?></span>
<span data-target="custom" class="fr-tab-link fr-command" data-cmd="changeTab"><?php echo esc_html__( 'Custom', 'thrive-cb' ); ?></span>
</div>
<div class="fr-tab fr-tab-default fr-visible">
<# _.each( defaultStyles, function( name, tag ) { #>
<div class="fr-style-item fr-dropdown-item fr-command" data-tag-name="<#=tag#>" data-cmd="apply">
<<#=tag==='PlainText'?'div':tag#> class="fr-style-reset<#=tag==='PlainText'?' tcb-plain-text':''#>"><#=name#></<#=tag==='PlainText'?'div':tag#>>
<div class="fr-submenu">
<span class="fr-command" data-tag-name="<#=tag#>" tabIndex="-1" role="option" data-cmd="apply"><?php echo sprintf( esc_html__( 'Apply %s', 'thrive-cb' ), '<#=name#>' ); ?></span>
<span class="fr-command" data-tag-name="<#=tag#>" tabIndex="-1" role="option" data-cmd="updateDefault"><?php echo sprintf( esc_html__( 'Update %s to match', 'thrive-cb' ), '<#=name#>' ); ?></span>
<span class="fr-command" data-tag-name="<#=tag#>" tabIndex="-1" role="option" data-cmd="resetDefault"><?php echo esc_html__( 'Reset Style', 'thrive-cb' ); ?></span>
</div>
</div>
<# }); #>
</div>
<div class="fr-tab fr-tab-custom">
<# if ( ! customStyles.length ) { #>
<div class="fr-dropdown-item fr-inactive"><?php echo esc_html__( 'No custom styles saved', 'thrive-cb' ); ?></div>
<# } #>
<#_.each ( customStyles, function( style, _index ) { #>
<div class="fr-dropdown-item fr-command" data-style="<#=style.id#>" data-cmd="apply" data-tag-name="<#=style.attr.tag#>">
<<#=style.attr.tag==='plaintext'?'div':style.attr.tag#> class="fr-style-reset <#=style.cls#><#=style.attr.tag==='plaintext'?' tcb-plain-text':''#>"><#=style.name#></<#=style.attr.tag==='plaintext'?'div':style.attr.tag#>>
<span class="style-tag"><#=style.shortTag#></span>
<div class="fr-submenu">
<span class="fr-command" data-style="<#=style.id#>" tabIndex="-1" role="option" data-tag-name="<#=style.attr.tag#>" data-cmd="apply"><?php echo sprintf( esc_html__( 'Apply %s', 'thrive-cb' ), '<strong class="fr-truncate" title="<#=style.name#>"><#=style.name#></strong>' ); ?></span>
<span class="fr-command" data-style="<#=style.id#>" tabIndex="-1" role="option" data-cmd="update"><?php echo sprintf( esc_html__( 'Update %s to match', 'thrive-cb' ), '<strong class="fr-truncate" title="<#=style.name#>"><#=style.name#></strong>' ); ?></span>
<span class="fr-command fr-danger" data-style="<#=style.id#>" data-confirm="<?php echo esc_attr__( 'Are you sure you want to delete this style? All text with this custom style will be reset to default. This cannot be undone.', 'thrive-cb' ); ?>" tabIndex="-1" role="option" data-cmd="remove"><?php echo sprintf( esc_html__( 'Delete %s', 'thrive-cb' ), '<strong class="fr-truncate" title="<#=style.name#>"><#=style.name#></strong>' ); ?></span>
</div>
</div>
<# }) #>
<section class="fr-form fr-text-style-add">
<div class="fr-form-section fr-label fr-text-center"><strong><?php echo esc_html__( 'Save as new style', 'thrive-cb' ); ?></strong></div>
<div class="fr-form-section fr-inline">
<input type="text" class="fr-style-name" value="" placeholder="<?php echo esc_attr__( 'Enter style name...', 'thrive-cb' ); ?>">
&nbsp;
&nbsp;
<button class="fr-command fr-submit" role="button" data-cmd="add" type="button" tabindex="9"><?php echo esc_html__( 'Save', 'thrive-cb' ); ?></button>
</div>
</section>
</div>
</section>

View File

@@ -0,0 +1,26 @@
<div class="tcb-tooltip <#= extraClass #>">
<# if(icon) { #>
<span class="tcb-tooltip-icon mr-15"><?php tcb_icon( '<#= icon #>' ); ?></span>
<# } #>
<div class="tcb-tooltip-text">
<p class="text-green tcb-text-uppercase mb-5">
<#= title #>
</p>
<p class="tcb-tooltip-info mb-10">
<#= info #>
</p>
<div class="tcb-tooltip-buttons">
<a href="#" class="tcb-button-dismiss click" data-fn="dismiss">
<?php echo esc_html__( 'GOT IT', 'thrive-cb' ); ?>
</a>
<a href="<#= learnMoreLink #>" target="_blank" class="tcb-button-more">
<?php echo __( 'Learn more', 'thrive-cb' ); ?>
</a>
</div>
</div>
<# if(tooltipImage){ #>
<div class="tooltip-image" style="background-image: url('<#= tooltipImage #>')"></div>
<# } else if(type.startsWith("tooltip") && type.endsWith("section")){#>
<div class="tooltip-image" style="background-image: url('<?php echo tve_editor_css( 'images/section-templates.png' ) ?>')"></div>
<# } #>
</div>

View File

@@ -0,0 +1,21 @@
<div class="">
<p class="m-0"><?php echo __( 'Video', 'thrive-cb' ) ?></p>
<#if(!this.selection||!this.selection.title){#>
<button class="click tve-button white mt-5 mb-5 border w-100" data-fn="open_media">
<#=this.labels.choose#>
</button>
<#}#>
<#if(this.selection&&this.selection.title){#>
<div class="video-picker control-grid mb-5">
<span class="tcb-truncate t-80"><#=this.selection.title#></span>
<div>
<a href="javascript:void(0)" class="image-edit click" data-fn="open_media" data-tooltip="<?php echo __( 'Change Thumbnail', 'thrive-cb' ) ?>">
<?php tcb_icon( 'exchange-regular' ) ?>
</a>
<a href="javascript:void(0)" class="click ml-10" data-fn="remove" data-tooltip="<?php echo __( 'Remove Thumbnail', 'thrive-cb' ) ?>">
<?php tcb_icon( 'delete' ) ?>
</a>
</div>
</div>
<#}#>
</div>