- Add PWA manifest, icons (192x192, 512x512), and service worker - Register service worker in index.html with Apple mobile web app support - Consolidate CSS variables and design tokens documentation - Update PrimeVue overrides for consistent theming - Refactor data-entry components to use shared CSS patterns - Add frontend-style-auditor agent for style consistency checks - Minor OCR validation and job worker improvements - Update start-prod.sh configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
48 lines
1.7 KiB
HTML
48 lines
1.7 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" />
|
|
<!-- 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>
|