Files
roa2web-service-auto/index.html
Claude Agent 15327687f4 feat(dashboard-solduri): Complete dashboard solduri v2 implementation
## Features
- US-2001: Create reusable SolduriCompactCard component
- US-2004: Solduri section on Desktop (top, without title)
- US-2005: Remove MaturityAndDetailsCard from Dashboard
- US-2006: Integrate Solduri data from dashboardStore
- US-2007: Visual indicators for financial status
- US-2008: Refresh button in Dashboard header

## UI Improvements
- Desktop: 2x2 grid for solduri cards with larger breakdown fonts
- Mobile: Single column layout with auto height
- Theme persistence: synchronous initialization to prevent flash
- Unified "Bonuri" icon (pi-shopping-bag) across all navigation

## Files Changed
- New: SolduriCompactCard.vue - expandable cards for Trezorerie/Clienți/Furnizori/TVA
- Modified: DashboardView.vue - integrated solduri section
- Modified: index.html - theme init script
- Modified: Mobile navigation components - icon consistency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 08:37:10 +00:00

57 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang="ro">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ROA2WEB - Unified App</title>
<link rel="icon" href="/favicon.ico" />
<!-- BUILD_TIMESTAMP placeholder for cache busting -->
<meta name="build-time" content="BUILD_TIMESTAMP" />
<!-- PWA Support -->
<link rel="manifest" href="/roa2web/manifest.json" />
<meta name="theme-color" content="#2563eb" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="ROA2WEB" />
<link rel="apple-touch-icon" href="/roa2web/icon-192.png" />
<!-- Theme initialization - MUST be before any rendering to prevent flash -->
<script>
(function() {
var theme = localStorage.getItem('user-theme');
if (theme && theme !== 'auto') {
document.documentElement.setAttribute('data-theme', theme);
}
})();
</script>
<!-- Service Worker Registration for PWA -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/roa2web/sw.js')
.then(reg => console.log('[PWA] Service Worker registered:', reg.scope))
.catch(err => console.error('[PWA] Service Worker registration failed:', err));
});
}
</script>
</head>
<body>
<div id="app"></div>
<!-- Eruda Mobile Console - activare cu ?debug in URL -->
<script>
if (location.search.includes('debug') || localStorage.getItem('eruda') === 'true') {
var script = document.createElement('script');
script.src = 'https://cdn.jsdelivr.net/npm/eruda';
script.onload = function() {
eruda.init();
localStorage.setItem('eruda', 'true');
console.log('🔧 Eruda Mobile Console ACTIVE');
};
document.body.appendChild(script);
}
</script>
<script type="module" src="/src/main.js"></script>
</body>
</html>