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,19 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
require_once( TVE_DASH_PATH . '/templates/header.phtml' ); ?>
<div class="tvd-am-breadcrumbs">
<a href="<?php echo esc_url( admin_url( 'admin.php?page=tve_dash_section' ) ); ?>">
<?php echo esc_html__( 'Thrive Dashboard', 'thrive-dash' ); ?>
</a>
<span class="tvd-breadcrumb"><?php echo esc_html__( 'User Access Manager', 'thrive-dash' ); ?></span>
</div>
<div class="tvd-access-manager-setting"></div>

View File

@@ -0,0 +1,13 @@
<div class="tvd-am-reset-default-modal">
<div class="title">
<?php echo __( 'Are you sure you want to reset the access options for the ', 'thrive-dash' ); ?>
<span class="role-name"></span>
<?php echo __( ' role?', 'thrive-dash' ); ?></div>
<div class="subtitle">
<?php dashboard_icon( 'info' ); ?>
<?php echo __( 'Please note that this cannot be undone', 'thrive-dash' ); ?></div>
<div class="buttons-wrapper">
<button class="click reset-button tvd-modal-close"><?php echo __( 'NO', 'thrive-dash' ); ?></button>
<button class="click reset-button tvd-modal-submit"><?php echo __( 'YES', 'thrive-dash' ); ?></button>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<div class="tvd-am-container-header">
<h3 class="tvd-am-container-title"><?php echo esc_html__( 'User Access Manager', 'thrive-dash' ); ?></h3>
<div class="tvd-am-buttons-wrapper">
<a class="tvd-am-view-users click" target="_blank">
<?php dashboard_icon( 'users' ); ?>
<span><?php echo esc_html__( 'VIEW USERS', 'thrive-dash' ); ?></span>
</a>
<button class="tvd-am-reset-defaults click">
<?php dashboard_icon( 'sync-alt' ); ?>
<span><?php echo esc_html__( 'RESET DEFAULTS', 'thrive-dash' ); ?></span>
</button>
</div>
</div>
<div class="tvd-am-container-info">
<?php echo esc_html__( 'Edit which user roles have access to Thrive Themes plugins by enabling or disabling the checkboxes below.', 'thrive-dash' ); ?></div>
</div>
<h3 class="tvd-am-container-role"></h3>
<div class="tvd-am-container-sections">
<div class="tvd-am-section-wrapper tvd-am-products-cap-wrapper">
<div class="tvd-am-section-header">
<div class="tvd-am-section-title"><?php echo esc_html__( 'Products', 'thrive-dash' ); ?></div>
<div class="tvd-am-section-functionality"><?php echo esc_html__( 'HAS ACCESS', 'thrive-dash' ); ?></div>
</div>
<div class="tvd-am-section-content tvd-am-products-cap-content"></div>
</div>
<div class="tvd-am-section-wrapper tvd-am-functionality-wrapper">
<div class="tvd-am-section-header">
<div class="tvd-am-section-title"><?php echo esc_html__( 'Functionality', 'thrive-dash' ); ?></div>
<div class="tvd-am-section-functionality"><?php echo esc_html__( 'SETTING', 'thrive-dash' ); ?></div>
</div>
<div class="tvd-am-section-content tvd-am-functionality-content"></div>
</div>
<div id="tvd-back-td" class="tvd-col tvd-m6">
<a href="
<?php echo admin_url( 'admin.php?page=tve_dash_section' ); ?>" class="tvd-waves-effect tvd-waves-light tvd-btn-small tvd-btn-gray">
<?php echo __( 'Back To Dashboard', 'thrive-dash' ); ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,2 @@
<div class="tvd-sidebar tvd-am-sidebar"></div>
<div class="tvd-am-container"></div>

View File

@@ -0,0 +1,22 @@
<div class="custom-redirect-select-wrapper tvd-page-selector" style="display:none;">
<div id="custom-page-info">
<p>
<?php echo __( 'Select a page using the field below. If no page is selected this setting will not remain active.', 'thrive-dash' ); ?>
</p>
</div>
<select id="tvd-am-custom-redirect"></select>
<div class="custom-page-options">
<span class="custom-page-title"></span>
<a class="view-page" target="_blank"><span class="tvd-icon-eye"></span><?php echo __( 'View', 'thrive-dash' ) ?></a>
<span class="tvd-sep"></span>
<button class="click open-remove-options"><span class="tvd-icon-delete"></span><?php echo __( 'Remove page', 'thrive-dash' ) ?></button>
</div>
</div>
<div class="custom-redirect-remove-page-wrapper" style="display: none">
<?php echo __( 'Are you sure you want to remove this login redirect page?', 'thrive-dash' ) ?>
<div class="remove-page-options">
<button class="click keep-page"><?php echo __( 'Keep this page', 'thrive-dash' ) ?></button>
<button class="click remove-page"><?php echo __( 'Remove this page', 'thrive-dash' ) ?></button>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<div class="tvd-am-item-wrapper tvd-am-functionality-wrapper tvd-am-<#= model.getTag() #>">
<div class="tvd-am-item-icon tvd-am-functionality-icon">
<?php dashboard_icon( '<#= model.getIcon() #>' ); ?>
</div>
<div class="tvd-am-item-title tvd-am-functionality-title">
<#= model.getName()#>
</div>
<div>
<select class="tvd-am-functionality-select" data-functionality="<#= model.getTag() #>">
<# optionsTags.forEach((option, index) => {#>
<option value="<#= option #>"
<#= option === selectedValue ? 'selected=selected' : ''#>><#= optionsNames[index] #></option>
<#})#>
</select>
</div>
</div>

View File

@@ -0,0 +1,14 @@
<div class="tvd-am-item-wrapper tvd-am-product-wrapper">
<div class="tvd-am-item-icon tvd-am-product-icon">
<img src="<#= model.getLogo() #>" alt="" class="tvd-responsive-img">
</div>
<div class="tvd-am-item-title tvd-am-product-title">
<#= model.getName() #>
</div>
<div class="tvd-am-product-cap-wrapper">
<button class="tvd-am-product-cap click tvd-am-<#= canUse #> tvd-am<#= isEditable #>" data-cap="<#= model.getProductCapability() #>">
<?php dashboard_icon( '<#= canUse.concat(isEditable)#>' ); ?>
<div class="tvd-am-product-cap-tooltip"></div>
</button>
</div>
</div>

View File

@@ -0,0 +1,3 @@
<button class="click tvd-am-role<#= model.isActive() ? ' active' : ''#>" data-role="<#= model.getTag() #>">
<#= model.getName() #>
</button>