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,52 @@
<div class="symbol-item modal-item" data-id="<#= item.id #>" data-type="<#= item.type #>">
<div class="modal-title-w-options">
<span class="modal-item-name"><#= item.post_title || item.label #></span>
<span class="tcb-dropdown-dots click" data-fn="openOptionsTooltip">
<?php tcb_icon( 'three-dots' ); ?>
</span>
<div class="tcb-template-options-tooltip">
<button class="tcb-tooltip-row click" data-fn="openRename"><?php echo __( 'Rename', 'thrive-cb' ); ?></button>
<button class="tcb-tooltip-row click" data-fn="openDelete"><?php echo __( 'Delete', 'thrive-cb' ); ?></button>
</div>
</div>
<div class="modal-tooltip-rename">
<input class="modal-item-name-input" value="<#= item.post_title || item.label #>"/>
<span class="modal-item-name-check click" data-fn="rename">
<?php tcb_icon( 'check-regular' ); ?>
</span>
</div>
<div class="card click"
data-id="<#= item.id #>"
data-source="<#= item.source #>"
data-fn="domDownloadTpl"
>
<div class="symbol-delete-notice">
<span class="click" data-fn="hideDelete"><?php tcb_icon( 'close2' ); ?></span>
<div class="delete-text">
<?php echo __( 'Are you sure?', 'thrive-cb' ); ?>
<# if(item.source.includes('templates')) { #>
<p><?php echo __( 'Deleting a Template will mean that you cant reuse it on your site in the future.', 'thrive-cb' ); ?></p>
<# } else if(item.source.includes('symbols')) {#>
<p><?php echo __( 'Deleting a Symbol will remove it from all instances on your website.', 'thrive-cb' ); ?></p>
<#} #>
</div>
<div class="delete action">
<button class="click" data-fn="hideDelete"><?php echo __( 'No, cancel', 'thrive-cb' ); ?></button>
<button class="click" data-id="<#= item.id #>" data-fn="delete">
<?php echo __( 'Yes, delete', 'thrive-cb' ); ?>
</button>
</div>
</div>
<div class="symbol-template-thumbnail lazy-loading">
<img class="tve-lazy-img"
src="<?php echo tve_editor_css( 'images/loading-spinner.gif' ); ?>"
data-src="<#= item.thumb && item.thumb.url ? item.thumb.url : '' #>"
data-ratio="<#= item.ratio #>"/>
</div>
</div>
</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" id="item-title" name="item-title" class="item-title" 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>
<button type="button" class="tcb-hf-right tve-button white-text green"><?php echo __( 'Add New ', 'thrive-cb' ) ?><#= type #></button>
</div>

View File

@@ -0,0 +1,14 @@
<?php $support_link = '<a href="https://thrivethemes.com/support/" title="Support Forum">Support Forum</a>' ?>
<div class="symbols-error message-inline">
<div class="tcb-notification">
<div class="tcb-notification-icon tcb-notification-icon-error">
<?php tcb_icon( 'close2' ) ?>
</div>
<div class="tcb-notification-content">
<div>
<?php echo sprintf( __( 'An error was encountered while fetching data for the symbols. Please contact our %s and provide the following error message:', 'thrive-cb' ), $support_link ) ?>
<pre><#= error_message #></pre>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,8 @@
<div class="symbol-item modal-item">
<div class="card click" data-id="<#= item.id #>" data-fn="select_item" data-type="symbol">
<div class="thrive-shortcode-config" style="display: none !important"><#= item.config #></div>
<div class="symbol-template-thumbnail" style="background-image: url('<#= item.thumb.url #>');"></div>
<div class="modal-item-name"><#= item.post_title #></div>
<div class="selected"></div>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<?php $support_link = '<a href="https://thrivethemes.com/support/" title="Support Forum">Support Forum</a>' ?>
<div class="symbols-error message-inline mb-20">
<div class="tcb-notification">
<div class="tcb-notification-icon tcb-notification-icon-error">
<?php tcb_icon( 'close2' ) ?>
</div>
<div class="tcb-notification-content">
<div>
<# if ( typeof show_forum_link !== 'undefined' && show_forum_link ) { #>
<?php echo sprintf( __( 'An error was encountered while fetching data for the symbols. Please contact our %s and provide the following error message:', 'thrive-cb' ), $support_link ) ?>
<# } #>
<pre><#= error_message #></pre>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,7 @@
<div class="tcb-modal-tab-elem click <#= currentSectionTemplate == item.id ? 'active' : '' #>" data-id="<#= item.id #>" data-fn="select_item" data-type="symbol" data-cloud="<# if ( ! item.from_cloud ) { #>0<# } else { #>1<# } #>">
<span class="tcb-modal-tab-item-title">
<#= item.post_title #>
<?php tcb_icon( 'check-light' ); ?>
</span>
<div class="tcb-modal-tab-image" style="background-image: url('<#= item.thumb.url #>');"></div>
</div>

View File

@@ -0,0 +1,59 @@
<div class="status tpl-ajax-status"><?php echo __( 'Fetching data', 'thrive-cb' ); ?>...</div>
<span class="tcb-modal-title"><?php echo __( 'Choose a ', 'thrive-cb' ) ?>
<#= section_name #>
</span>
<div class="error-container"></div>
<div class="tcb-modal-tabs">
<div class="sub-header">
<ul class="tcb-modal-tabs-links">
<li class="active" data-tab="saved-hf"><?php echo __( 'Saved ', 'thrive-cb' ); ?>
<#= section_name + 's' #>
</li>
<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 saved-hf">
<div class="tcb-tabs-templates">
<div class="saved-templates"></div>
</div>
</div>
<div class="tcb-modal-tab-container create-hf" style="display: none">
<div class="tcb-modal-tabs-sep">
<span><?php echo __( 'Use one of our templates' ); ?></span>
<span class="separator"></span>
<span class="tcb-hf-icon click" data-direction="top" data-fn="slide_templates"></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 click" data-direction="top" data-fn="slide_templates"></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">
<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 __( 'Insert ', 'thrive-cb' ) ?></span>
<#= section_name #>
</button>
</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,16 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-visual-editor
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<div class="click tcb-close-notification" data-fn="onApply">
<?php tcb_icon( 'close2' ); ?>
</div>
<p class="tooltip-header"><?php echo __( 'New Header States Available', 'thrive-cb' ); ?></p>
<p class="tooltip-text"><?php echo __( 'Switch between header states by using the dropdown menu:', 'thrive-cb' ); ?></p>