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,99 @@
<div class="td-icon-modal-content">
<div id="cb-cloud-menu">
<div class="fixed top">
<div class="icons-input">
<?php dashboard_icon( 'search-regular' ); ?>
<input type="text" class="tvd-search-icon keyup click" data-fn="searchIcon"
data-fn-click="focusSearch" data-source="search"
placeholder="<?php echo esc_html__( 'Search', 'thrive-dash' ); ?>"/>
<?php dashboard_icon( 'close2', false, 'sidebar', 'click tvd-hidden', array( 'data-fn' => 'domClearSearch' ) ); ?>
</div>
</div>
<div class="icons-menu-wrapper">
<div class="icons-label-wrapper p-10 pl-20">
<span class="icons-label"><?php echo __( 'Icon style', 'thrive-dash' ); ?></span>
<span class="separator"></span>
</div>
<div class="td-icon-styles td-icon-filters">
<div class="td-icon-pack click mt-5 tvd-selected td-icon-default-style" data-fn="filterByStyle">
<span><?php echo __( 'All ', 'thrive-dash' ) ?></span></div>
</div>
<div class="icons-label-wrapper p-10 pl-20">
<span class="icons-label"><?php echo __( 'Icon packs', 'thrive-dash' ); ?></span>
<span class="separator"></span>
</div>
<div class="td-icon-packs td-icon-filters">
</div>
</div>
<div class="fixed bottom mt-10 mb-10">
<div class="td-icon-settings click pr-10 mb-10 mt-10 pl-20" data-fn="showSettings">
<hr>
<div class="pt-10 pb-10 icons-wrapper">
<?php dashboard_icon( 'cog-light' ); ?>
<span class="icons-label"><?php echo __( 'Manage icon packs', 'thrive-dash' ) ?></span>
<?php dashboard_icon( 'exclamation-circle-solid', false, 'sidebar', 'kit-warning', [
"data-tooltip" => "Something is wrong with your Font Awesome setup, click here to resolve",
"data-side" => "top",
"data-width" => "15%"
] ); ?>
</div>
<hr>
</div>
</div>
</div>
<div id="td-icon-content">
<span class="icons-title pl-10"><?php echo __( 'Icon library', 'thrive-dash' ); ?></span>
<div class="choose-icon mr-30 pl-10">
<span><?php echo __( 'Choose an icon', 'thrive-dash' ); ?></span>
<span class="td-icons-number"></span>
</div>
<div id="icon-pack-content" class="mt-10">
<div class="td-icons-wrapper pt-5">
<div class="td-icons-before" style="height: 4000px;"></div>
<div class="td-icons-rendered"></div>
<div class="td-icons-after"></div>
</div>
</div>
<div class="td-modal-footer flex-end pr-40">
<button type="button" class="tvd-right tvd-button medium tvd-modal-save">
<?php echo __( 'Select', 'thrive-dash' ); ?>
</button>
</div>
</div>
<div id="td-icon-settings" class="tvd-hidden">
<div class="tvd-fa-pro-settings">
<span class="icons-title mb-35"><?php echo __( 'Font Awesome Pack', 'thrive-dash' ); ?></span>
<span>
<?php echo __( 'To enable Font Awesome Pro icons, paste your kit ID or script below. Once your kit has been accepted, your new icons will be available under the matching filters.', 'thrive-dash' ); ?>
</span>
<a href="https://thrivethemes.com/tkb_item/how-to-add-font-awesome-pro-icons-in-thrive-architect/"
target="_blank"
class="mt-15 mb-15"><?php echo __( 'Learn how to use Font Awesome Pro here', 'thrive-dash' ); ?></a>
<div class="icons-input white tvd-fa-input pr-0">
<input type="text" class="change input tvd-fa-kit" data-fn="toggleProSettings"
placeholder="<?php echo __( 'Add your Font Awesome Pro Kit', 'thrive-dash' ); ?>">
<?php dashboard_icon( 'check-regular', false, 'sidebar', 'click tvd-hidden kit-action', array( 'data-fn' => 'handlePro' ) ); ?>
<?php dashboard_icon( 'trash-alt-light', false, 'sidebar', 'click tvd-hidden kit-action', array( 'data-fn' => 'toggleDeletePro' ) ); ?>
</div>
<div class="icons-input tvd-fa-warning tvd-hidden pr-0">
<span><?php echo __( 'Are you sure you want to delete your kit?', 'thrive-dash' ); ?></span>
<span class="mr-10 click kit-action"
data-fn="clearFAPro"><?php echo __( 'YES', 'thrive-dash' ); ?></span>
<span class="click kit-action"
data-fn="toggleProInput"><?php echo __( 'CANCEL', 'thrive-dash' ); ?></span>
</div>
<div class="kit-warning kit-warning-message">
<div class="warning-title">
<?php dashboard_icon( 'exclamation-circle-solid' ) ?>
<?php echo __( 'There was an issue accessing your Font Awesome Pro Kit', 'thrive-dash' ); ?>
</div>
<div class="warning-description">
<?php echo __( 'This usually occurs when your kit was deleted or you do not have an active subscription. Please check your Font Awesome account and update the above kit details as required.', 'thrive-dash' ); ?>
</div>
</div>
</div>
</div>
</div>
<?php include TVE_DASH_PATH . '/css/font/icon-library.svg'; ?>

View File

@@ -0,0 +1,38 @@
<div class="tvd-license-modal-content <#= model.license_class #>">
<img class="tvd-license-icon"
src="<?php echo TVE_DASH_URL ?>/css/images/licensing/licensing-<#= model.product_class #>-<#= model.license_class #>@2x.webp"
alt="License icon"/>
<div>
<h3>
<?php _e( 'Heads up! Your ', 'thrive-dash' ); ?>
<#= model.title #>
<?php _e( ' license has expired', 'thrive-dash' ); ?>
</h3>
<p><?php _e( "An active license is needed to access your software or edit your content. Youll also get access to new features, updates, security improvements, templates and support. Your visitors will still be able to access any content you've created.", 'thrive-dash' ); ?></p>
<# if ( model.license_class === 'grace-period' ) { #>
<p>
<?php
echo sprintf(
esc_html__( 'You may close this lightbox and continue using your software during your grace period for another %s.', 'thrive-dash' ), '<strong> <#= model.grace_time #> ' . __( 'days', 'thrive-dash' ) . '</strong>'
)
?>
</p>
<# } #>
<p>
<?php echo __( "Doesn't sound right? Your license might need to be refreshed.", 'thrive-dash' ); ?>
<br>
<a href="<?php echo TD_TTW_User_Licenses::get_instance()->get_recheck_url(); ?>">
<?php echo __( 'Click here to refresh your license now.', 'thrive-dash' ) ?>
</a>
</p>
<div class="tvd-license-buttons">
<button class="tvd-button-empty"
onclick="window.open('https://help.thrivethemes.com/en/articles/8223498-what-happens-when-your-thrive-product-license-expires', '_blank')">
<?php _e( 'Learn more', 'thrive-dash' ); ?></button>
<button class="tvd-button-action"
onclick="window.open('<#= model.license_link #>', '_blank')"><?php _e( 'Renew now', 'thrive-dash' ); ?></button>
</div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<div class="tvd-modal-preloader-wrapper">
<div class="tvd-modal-preloader">
<div class="tvd-preloader-wrapper tvd-big tvd-active">
<div class="tvd-spinner-layer tvd-spinner-blue-only">
<div class="tvd-circle-clipper tvd-left">
<div class="tvd-circle"></div>
</div>
<div class="tvd-gap-patch">
<div class="tvd-circle"></div>
</div>
<div class="tvd-circle-clipper tvd-right">
<div class="tvd-circle"></div>
</div>
</div>
</div>
</div>
</div>

View File

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

View File

@@ -0,0 +1,17 @@
<div class="tvd-preloader-overlay tvd-page-preloader" id="tvd-hide-onload" style="display: none">
<div class="tvd-card-preloader">
<div class="tvd-preloader-wrapper tvd-bigger tvd-active">
<div class="tvd-spinner-layer tvd-spinner-blue-only">
<div class="tvd-circle-clipper tvd-left">
<div class="tvd-circle"></div>
</div>
<div class="tvd-gap-patch">
<div class="tvd-circle"></div>
</div>
<div class="tvd-circle-clipper tvd-right">
<div class="tvd-circle"></div>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,144 @@
<div class="tva-modal-token-step tvi-step-one">
<div class="tvd-modal-content tva-choose-template">
<h3 class="tvd-modal-title"><?php echo __( 'Give Our Team Access to Your Site Temporarily', 'thrive-dash' ) ?></h3>
<p>
<?php echo __( 'You can safely and securely give our team access to your site in order to debug problems that you\'re having.', 'thrive-dash' ) ?>
<a href="https://thrivethemes.com/tkb_item/what-are-access-tokens-and-how-do-they-work/" target="_blank" class="tvd-blue-text">
<?php echo __( 'How does this work?', 'thrive-dash' ) ?>
</a>
</p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s3 tvd-no-margin-left">
<?php echo __( 'Give access for', 'thrive-dash' ) ?>
</div>
<div class="tvd-col tvd-s2 tvd-no-margin-left">
<div class="tvd-input-field">
<input type="text" id="tva-access-days" class="tva-access-days tvd-s4" name="tva-access-days" value="<#= this.model.get('valid_days') #>"/>
</div>
</div>
<div class="tvd-col tvd-s3 tvd-no-margin-left">
<?php echo __( 'days', 'thrive-dash' ) ?>
</div>
<div class="tvd-col tvd-s4 tva-personalize-button">
<a href="javascript:void(0)"
class="tvd-btn tvd-btn-green tvd-waves-light tvd-right tva-generate-token-data">
<?php echo __( 'Go', 'thrive-dash' ) ?>
</a>
</div>
</div>
</div>
</div>
<div class="tva-modal-token-step tvi-step-two">
<div class="tvd-modal-content tva-choose-template">
<# if ( this.model.get('disabled') ) { #>
<div class="tvd-row tvd-collapse tv-dash-token-expired">
<p><?php echo __( 'The token is curently not active.', 'thrive-dash' ) ?></p>
<p><?php echo __( 'Please generate a new token, or choose a new date until the token will be active.', 'thrive-dash' ) ?></p>
</div>
<# } else { #>
<div class="tvd-row tvd-collapse">
<h1><?php echo __( 'Here is your Access Token', 'thrive-dash' ) ?></h1>
<p><?php echo __( 'Copy this code and send it to our support team', 'thrive-dash' ) ?></p>
</div>
<# } #>
<div class="tvd-row tvd-collapse tvd-copy-row">
<div class="tvd-col tvd-s8 tvd-collapse tvd-copy-row">
<div class="tvd-input-field">
<input type="text" id="tva-generated-token" class="tva-generated-token tvd-copy" disabled="disabled" name="tva-generated-token"
value="<#= this.model.get('token') #>"/>
<label class="tvd-active" for="tva-generated-token"><?php echo __( 'Token', 'thrive-dash' ) ?></label>
</div>
</div>
<div class="tvd-col tvd-s4 tvd-collapse">
<div class="tvd-input-field tvd-margin-left-small tvd-margin-right-small">
<input type="text" id="tva-token-valid" class="tva-token-valid" name="tva-token-valid" placeholder="&nbsp;/ /&nbsp;"
data-value="<#= this.model.get('valid_until') #>" value="<#= this.model.get('valid_until') #>"/>
<label class="tvd-active" for="tva-token-valid"><?php echo __( 'Valid until', 'thrive-dash' ) ?></label>
</div>
</div>
</div>
</div>
<div class="tvd-row tvd-modal-footer">
<div class="tvd-row">
<# if(this.model.get('has_token')) { #>
<div class="tvd-col tvd-s5 tva-personalize-button">
<a href="javascript:void(0)"
class="tvd-btn tvd-btn-red tvd-waves-light tvd-left tva-delete-token-ask">
<?php echo __( 'Remove access', 'thrive-dash' ) ?>
</a>
</div>
<# } #>
<div class="tvd-col <#= this.model.get('saved') ? 'tvd-s7' : 'tvd-s12' #>">
<div class="tvd-row tvd-collapse tvd-copy-row">
<div class="tvd-no-margin-left">
<div class="tvd-input-field">
<input type="hidden" id="tva-generated-token-hidden" class="tva-generated-token-hidden tvd-copy" disabled="disabled"
name="tva-generated-token-hidden"
value="<#= this.model.get('token') #>"/>
</div>
</div>
<div class="tvd-col tvd-s12 tvd-right">
<span class="">
<a class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-copy-token tva-save-token tvd-right"
href="javascript:void(0)">
<span class=""><?php echo __( 'Copy & Close', 'thrive-dash' ) ?></span>
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="tva-modal-token-step">
<div class="tvd-modal-content">
<div class="tvd-row tvd-collapse tv-dash-token-expired">
<h3><?php echo __( 'Something went wrong.', 'thrive-dash' ) ?></h3>
<p><?php echo __( 'It seems that there\'s a connection problem and the token cannot be generated, if you would like to add your site details manually please click ', 'thrive-dash' ) ?>
<a class="tvd-text-green" href="https://thrivethemes.com/members/myaccount/"
target="_blank"><?php echo __( 'here', 'thrive-dash' ) ?></a>.</p>
</div>
</div>
<div class="tvd-row tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12">
<a href="javascript:void(0)"
class="tvd-btn tvd-btn-gray tvd-waves-light tvd-right tvd-modal-close">
<?php echo __( 'Close', 'thrive-dash' ) ?>
</a>
</div>
</div>
</div>
</div>
<div class="tva-modal-token-step tvd-card tvd-red tvd-delete-token-card">
<div class="tvd-card-content">
<h3 class="tvd-margin-top">
<?php echo __( 'Are you sure you want to delete the access token?', 'thrive-dash' ) ?>
</h3>
</div>
<div class="tvd-card-action">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6 tvd-no-padding">
<a class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-light tvd-left tvd-delete-token-yes">
<?php echo __( 'Yes, delete', 'thrive-dash' ) ?>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6 tvd-no-padding">
<a class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-right tvd-delete-token-no">
<?php echo __( 'No, keep it', 'thrive-dash' ) ?>
</a>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,4 @@
<div class="tvd-tag" data-slug="<#= model.get('slug') #>">
<span class="tvd-input-field" role="textbox" contenteditable=""><#= model.get('name') #></span>
<span class="tvd-remove-tag">&times;</span>
</div>

View File

@@ -0,0 +1,8 @@
<div class="tvd-tags-heading"></div>
<div class="tvd-tags-list">
<div class="tvd-add-tag-wrapper">
<span class="tvd-no-tags"></span>
<div class="tvd-add-tag-toggle">+&nbsp;<span></span></div>
<input class="tvd-add-tag tvd-hide" type="text">
</div>
</div>