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,49 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<div class="tcb-modal-content sym-admin-modal">
<span class="tcb-modal-title">
<#= title #>
</span>
<div class="error-container"></div>
<p class="tcb-modal-description">
<#= description #>
</p>
<div class="save-container">
<div class="tvd-input-field">
<input type="text" class="content-title" name="title" placeholder="<#= placeholder #>">
</div>
<# if ( is_symbol && show_category ) { #>
<div class="tvd-input-field align-left category-container">
<label class="tcb-symbol-check" for="add_category">
<input id="add_category" type="checkbox" class="" name="add_category">
<span class="checkmark"></span>
<?php echo __( 'Add symbol to a category', 'thrive-cb' ); ?>
</label>
<div class="category_selection" style="display: none;">
<div class="">
<select id="tcb-save-template-categ-suggest"></select>
<input type="hidden" id="tcb-save-template-category-id" value=""/>
</div>
</div>
</div>
<# } #>
</div>
<div class="tcb-modal-footer">
<button type="button" class="tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-cb' ) ?>
</button>
<a class="tvd-submit tvd-modal-save tvd-right" href="#" target="_blank" >
<#= save_text #>
</a>
</div>
</div>

View File

@@ -0,0 +1,39 @@
<div class="tcb-modal-content tcb-move-symbol">
<span class="tcb-modal-title">
<?php echo __( 'Move template to other category', 'thrive-cb' ) ?>
</span>
<p class="tcb-modal-description">
<?php echo __( 'Select from the dropdown bellow where do you want to move ', 'thrive-cb' ) ?>
</p>
<div class="save-container">
<div>
<label for="tcb-move-input"><?php echo __( 'Current Category ', 'thrive-cb' ) ?></label>
<input type="text" name="tcb-move-input" readonly="readonly" value="<#= model.get('name') #>">
</div>
<div>
<label for="tcb-admin-t-categ-combo" class="tcb-admin-t-categ-combo-label"><?php echo __( 'Select New Category ', 'thrive-cb' ) ?></label>
<select id="tcb-admin-t-categ-combo">
<#
TVE_Admin.globals.templates.each(function(tmodel, index) {
#>
<option value="<#= tmodel.get('id') #>"><#= tmodel.get('name') #></option>
<#
});
#>
</select>
</div>
</div>
<div class="tvd-modal-footer tcb-move-template-footer">
<button type="button" class="tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-cb' ) ?>
</button>
<button type="button" class="tvd-submit tvd-modal-submit tvd-right">
<?php echo __( 'Save', 'thrive-cb' ) ?>
</button>
</div>
</div>

View File

@@ -0,0 +1,39 @@
<div class="tcb-modal-content tcb-move-symbol">
<span class="tcb-modal-title">
<?php echo __( 'Move template to other category', 'thrive-cb' ); ?>
</span>
<p class="tcb-modal-description">
<?php echo __( 'Select from the dropdown bellow where do you want to move ', 'thrive-cb' ) ?>
</p>
<div class="save-container">
<div>
<label for="tcb-move-input"><?php echo __( 'Current Category ', 'thrive-cb' ) ?></label>
<input type="text" name="tcb-move-input" readonly="readonly" value="<#= current_category['name'] #>">
</div>
<div>
<label for="tcb-admin-t-categ-combo" class="tcb-admin-t-categ-combo-label"><?php echo __( 'Select New Category ', 'thrive-cb' ) ?></label>
<select id="tcb-admin-t-categ-combo">
<# categories.each( function(category, index) { #>
<# if ( category.get('term_id') !== current_category['term_id'] ) { #>
<option value="<#= category.get('term_id') #>">
<#= category.get('name') #>
</option>
<# } #>
<# }); #>
</select>
</div>
</div>
<div class="tvd-modal-footer tcb-move-template-footer">
<button type="button" class="tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-cb' ) ?>
</button>
<button type="button" class="tvd-submit tvd-modal-submit tvd-right">
<?php echo __( 'Save', 'thrive-cb' ) ?>
</button>
</div>
</div>

View File

@@ -0,0 +1,36 @@
<div class="tcb-modal-content sym-admin-modal tve-add-new-category">
<span class="tcb-modal-title"><?php echo __( 'Add New Category', 'thrive-cb' ) ?></span>
<p class="tcb-modal-description"><?php echo __( 'Here you can add one or more categories.', 'thrive-cb' ) ?></p>
<div class="tvd-row" id="tcb-categ-input"></div>
<div class="tvd-row">
<div class="tvd-col tvd-s12">
<a href="javascript:void(0)" class="tvd-left tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-small tvd-btn-blue" id="tcb-add-new-category-input">
<?php echo __( 'Add new', 'thrive-cb' ) ?>
</a>
</div>
</div>
<div class="tvd-modal-footer tve-add-new-category-foio">
<button type="button" class="tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-cb' ) ?>
</button>
<button type="button" class="tvd-submit tvd-modal-submit tvd-right">
<?php echo __( 'Save', 'thrive-cb' ) ?>
</button>
</div>
</div>
<div class="row hidden" id="tcb-categ-input-template" style="display: none;">
<div class="tcb-admin-text-element-wrapper">
<div class="tvd-col tvd-s11">
<input type="text" class="tcb-category-input-item" placeholder="<?php echo __( 'Enter the name of the new category', 'thrive-cb' ) ?>">
</div>
<div class="tvd-col tvd-s1">
<span class="tvd-icon-trash-o tvd-pointer tcb-admin-delete-text-element"></span>
</div>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<div class="tcb-modal-tab-elem" data-id="<#= item.get('id') #>" data-type="symbol" data-cloud="<# if ( ! item.get('from_cloud') ) { #>0<# } else { #>1<# } #>">
<span class="tcb-modal-tab-item-title">
<#= ( item.get('title') )? item.get('title').rendered : item.get('post_title') #>
</span>
<div class="tcb-modal-tab-image" style="background-image: url('<#= item.get('thumb').url #>');"></div>
</div>

View File

@@ -0,0 +1,48 @@
<span class="tcb-modal-title"><?php echo __( 'Choose a ', 'thrive-cb' ) ?>
<#= section_name #>
</span>
<div class="tcb-modal-tabs">
<div class="sub-header">
<ul class="tcb-modal-tabs-links">
<li data-tab="create-hf"><?php echo __( 'Create New ', 'thrive-cb' ); ?>
<#= section_name #>
</li>
</ul>
<div class="abs-r">
<input type="text" class='search-sections' name="search-sections" id="search-sections" placeholder="<?php echo __( 'Search ', 'thrive-cb' ); ?><#= section_name + 's' #>&nbsp;&hellip;">
</div>
</div>
</div>
<div class="tcb-modal-tab-container create-hf">
<div class="tcb-modal-tabs-sep">
<span><?php echo __( 'Start with one of our templates' ); ?></span>
<span class="separator"></span>
<span class="tcb-hf-icon" data-direction="top"></span>
</div>
<div class="tcb-tabs-templates">
<div class="our-templates"></div>
</div>
<div class="tcb-modal-tabs-sep">
<span><?php echo __( 'Or use a saved ', 'thrive-cb' ); ?>
<#= section_name #><?php echo __( ' as a Template' ) ?></span>
<span class="separator"></span>
<span class="tcb-hf-icon" data-direction="top"></span>
</div>
<div class="tcb-tabs-templates">
<div class="saved-templates">
<div class="tcb-modal-tab-elem click">
<span class="tcb-modal-tab-item-title"><?php echo __( 'Our Template', 'thrive-cb' ) ?></span>
<div class="tcb-modal-tab-image" style="background-image: url('');"></div>
</div>
</div>
</div>
</div>
<div class="tcb-modal-footer pl-0 pr-0">
<button type="button" class="tcb-modal-close"><?php echo __( 'Cancel', 'thrive-cb' ) ?></button>
<button type="button" disabled="true" class="tcb-hf-right tve-button white-text green"><span class="user-action"><?php echo __( 'Choose ', 'thrive-cb' ) ?></span>
<#= section_name #>
</button>
</div>

View File

@@ -0,0 +1,22 @@
<div class="tcb-modal-tabs step-two mt-0 mb-20">
<span class="tcb-modal-title m-0"><?php echo __( 'Create a new ', 'thrive-cb' ) ?><#= type #></span>
</div>
<div class="error-container"></div>
<div class="tcb-modal-tab-container step-two">
<div class="mt-20">
<div class="tcb-hf-create-title">
<span>
<?php echo __( 'Give a name to your ', 'thrive-cb' ) ?><#= type #>:
</span>
<input type="text" class="item-title" id="dashboard-create-section" placeholder="Your New <#= type.charAt(0).toUpperCase() + type.slice(1) #>'s Name">
</div>
<div class="item-create"></div>
</div>
</div>
<div class="tcb-modal-footer">
<button type="button" class="tcb-hf-back"><?php echo __( 'Back', 'thrive-cb' ) ?></button>
<a href="#" target="_blank" class="tcb-hf-right tve-button white-text green"><?php echo __( 'Add New ', 'thrive-cb' ) ?><#= type #></a>
</div>

View File

@@ -0,0 +1 @@
<div class="sections-create-container"></div>

View File

@@ -0,0 +1,9 @@
<div class="no-search-results" style="display: none;">
<?php echo __( "Oups! We couldn't find anything called " ) ?><span class="search-word"><#= message #></span><?php echo __( '. Maybe search for something else ?' ); ?>
</div>
<div class="no-sections-on-site">
<?php echo __( "You don't have any " ) ?><span class="section-type"><#= type #></span><?php echo __( ' created on the site' ) ?>
</div>
<div class="no-sections-on-cloud">
<?php echo __( "For the moment we don't have any " ) ?><span class="section-type"><#= type #></span><?php echo __( ' created' ) ?>
</div>

View File

@@ -0,0 +1,30 @@
<div class="tvd-modal-content tvd-red tcb-delete-template">
<h3 class="tvd-white-text">
<#= text #>
</h3>
<div class="tvd-v-spacer"></div>
<div class="tvd-row hidden tcb-admin-extra-setting-row">
<div class="tvd-col tvd-s12 tvd-left">
<input type="checkbox" class="noUi-target noUi-ltr noUi-horizontal noUi-background" id="tcb-admin-extra-setting-check">
<label for="tcb-admin-extra-setting-check" class="tvd-white-text"><?php echo __( 'Also delete the saved templates', 'thrive-cb' ); ?></label>
</div>
</div>
</div>
<div class="tvd-modal-footer tvd-red tcb-delete-template">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-light tvd-left tvd-modal-close">
<?php echo __( "Cancel", 'thrive-cb' ); ?>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-modal-submit tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-right">
<?php echo __( 'Delete', 'thrive-cb' ); ?>
</a>
</div>
</div>
</div>
<a href="javascript:void(0)" class="tvd-modal-action tvd-modal-close tvd-modal-close-x tvd-white-text"><i class="tvd-icon-close2"></i></a>