fix: corrige template expressions escapadas em admin-cliente (CSS/header/footer ausentes)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-02-16 15:42:38 -05:00
parent 175e21b2d4
commit e57aaef3e7

View File

@@ -311,11 +311,11 @@ function buildAdminClienteHTML(user) {
return `<!DOCTYPE html> return `<!DOCTYPE html>
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>
\${buildHead('Clientes 360', pageCSS, pageScripts)} ${buildHead('Clientes 360', pageCSS, pageScripts)}
</head> </head>
<body class="trading-console"> <body class="trading-console">
\${buildHeader({ role: role, userName: user.nome, activePage: 'cliente' })} ${buildHeader({ role: role, userName: user.nome, activePage: 'cliente' })}
<div class="app-container"> <div class="app-container">
@@ -545,7 +545,7 @@ function buildAdminClienteHTML(user) {
<a href="#sectionInsights" class="console-nav-btn" data-section="sectionInsights"><span class="nav-icon">&#x1F9E0;</span><span class="nav-label">Insights</span></a> <a href="#sectionInsights" class="console-nav-btn" data-section="sectionInsights"><span class="nav-icon">&#x1F9E0;</span><span class="nav-label">Insights</span></a>
</nav> </nav>
\${buildFooter()} ${buildFooter()}
<script> <script>
// === State === // === State ===