Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
148 lines (141 loc) · 7.96 KB
/
Copy pathindex.html
File metadata and controls
148 lines (141 loc) · 7.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!doctype html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>SOCDOF</title>
<meta name="description" content="SOCDOF - Strudel's Organization, Commerce & Documentation Offline Flow. 100% lokale Windows Desktop ERP Suite mit Fenstermanager, DIN 5008, CRM, POS Kasse, Lager, BWA und Buchhaltung." />
<link rel="icon" type="image/svg+xml" href="socdof_icon.svg" />
<link rel="icon" type="image/svg+xml" href="./socdof_icon.svg" />
<link rel="shortcut icon" type="image/svg+xml" href="socdof_icon.svg" />
<link rel="apple-touch-icon" href="socdof_icon.svg" />
<link rel="manifest" href="manifest.json">
<meta name="application-name" content="SOCDOF">
<meta name="msapplication-TileColor" content="#4f46e5">
<meta name="theme-color" content="#4f46e5">
<script>
try {
var fs = localStorage.getItem('socdof_font_scale');
if (fs) document.documentElement.style.fontSize = fs + '%';
var isDark = localStorage.getItem('odoo_theme_dark');
if (isDark === 'true') document.documentElement.classList.add('dark');
var acc = localStorage.getItem('socdof_accent_color');
if (acc) {
var hex = '#4f46e5';
var raw = acc.toLowerCase();
if (raw.indexOf('custom_') === 0) hex = '#' + raw.replace('custom_', '');
else if (raw.indexOf('#') === 0) hex = raw;
else if (/^[0-9a-f]{3,8}$/.test(raw)) hex = '#' + raw;
else if (raw === 'indigo') hex = '#4f46e5';
else if (raw === 'purple') hex = '#714B67';
else if (raw === 'blue') hex = '#2563eb';
else if (raw === 'teal') hex = '#0d9488';
else if (raw === 'emerald') hex = '#059669';
else if (raw === 'rose') hex = '#e11d48';
else if (raw === 'amber') hex = '#d97706';
else if (raw === 'sky') hex = '#0284c7';
else if (raw === 'violet') hex = '#7c3aed';
var r = parseInt(hex.slice(1, 3), 16) || 79;
var g = parseInt(hex.slice(3, 5), 16) || 70;
var b = parseInt(hex.slice(5, 7), 16) || 229;
var root = document.documentElement;
root.style.setProperty('--accent', hex);
root.style.setProperty('--accent-light', 'rgba(' + r + ',' + g + ',' + b + ',0.14)');
root.style.setProperty('--accent-ring', 'rgba(' + r + ',' + g + ',' + b + ',0.35)');
root.style.setProperty('--accent-taskbar-bg', 'rgba(' + r + ',' + g + ',' + b + ',0.22)');
root.style.setProperty('--accent-taskbar-border', 'rgba(' + r + ',' + g + ',' + b + ',0.45)');
root.style.setProperty('--accent-ambient-glow', 'rgba(' + r + ',' + g + ',' + b + ',0.08)');
root.style.setProperty('--accent-border-subtle', 'rgba(' + r + ',' + g + ',' + b + ',0.22)');
}
} catch (e) {}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
<noscript>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
</noscript>
<style>
body {
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.font-mono-num {
font-family: 'JetBrains Mono', monospace;
font-feature-settings: "tnum";
}
@media print {
body {
background-color: white !important;
color: black !important;
}
.no-print {
display: none !important;
}
.print-only {
display: block !important;
}
.print-container {
box-shadow: none !important;
border: none !important;
width: 100% !important;
max-width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}
}
</style>
</head>
<body class="antialiased selection:bg-indigo-500/20 selection:text-indigo-600 dark:selection:text-indigo-300">
<div id="root">
<div id="startup-splash" style="position:fixed;inset:0;background:#202225;display:flex;align-items:center;justify-content:center;z-index:999999;user-select:none;-webkit-user-select:none;font-family:-apple-system,BlinkMacSystemFont,'Plus Jakarta Sans','Segoe UI',Roboto,sans-serif;">
<style>
@keyframes splashPulse {
0% { transform: scale(0.94); opacity: 0.6; }
100% { transform: scale(1.06); opacity: 0.95; }
}
@keyframes splashFloat {
0% { transform: translateY(0); }
100% { transform: translateY(-3px); }
}
@keyframes splashShimmer {
0% { left: -60px; width: 40px; }
50% { width: 80px; }
100% { left: 220px; width: 40px; }
}
</style>
<div style="width:320px;height:380px;background:#2b2d31;border:1px solid rgba(255,255,255,0.06);border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;position:relative;box-shadow:0 20px 50px -10px rgba(0,0,0,0.6);overflow:hidden;">
<!-- Ambient glow circle -->
<div style="position:absolute;top:60px;width:140px;height:140px;background:radial-gradient(circle,rgba(88,101,242,0.25) 0%,transparent 70%);border-radius:50%;pointer-events:none;animation:splashPulse 2.8s ease-in-out infinite alternate;"></div>
<!-- Logo container with crisp official branding -->
<div style="position:relative;width:88px;height:88px;margin-bottom:18px;z-index:2;animation:splashFloat 3s ease-in-out infinite alternate;">
<img src="./socdof_icon.png" style="width:88px;height:88px;border-radius:20px;object-fit:cover;box-shadow:0 12px 28px rgba(0,0,0,0.55);" alt="SOCDOF Logo" />
</div>
<h1 style="font-size:22px;font-weight:800;color:#FFFFFF;letter-spacing:1px;margin:0 0 4px 0;z-index:2;">SOCDOF</h1>
<div style="font-size:8.5px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:#8E9AFF;margin-bottom:24px;z-index:2;">Offline Commerce & ERP Suite</div>
<div id="startup-status-text" style="font-size:13px;font-weight:600;color:#DBDEE1;margin-bottom:14px;z-index:2;">
Wird gestartet...
</div>
<!-- Progress Shimmer Bar (Discord Blurple with Glow) -->
<div style="width:200px;height:6px;background:#2b2d31;border:1px solid rgba(255,255,255,0.08);border-radius:999px;overflow:hidden;position:relative;z-index:2;box-shadow:inset 0 1px 3px rgba(0,0,0,0.4);">
<div style="height:100%;background:linear-gradient(90deg,#5865F2,#808CFF);border-radius:999px;position:absolute;box-shadow:0 0 10px rgba(88,101,242,0.5);animation:splashShimmer 1.5s cubic-bezier(0.4,0,0.2,1) infinite;"></div>
</div>
<div style="position:absolute;bottom:16px;font-size:9px;font-weight:500;color:#72767D;letter-spacing:0.03em;">
Strudelcode · 100% Offline Desktop Suite
</div>
</div>
<script>
try {
var lang = (navigator.language || '').toLowerCase();
var el = document.getElementById('startup-status-text');
if (el) {
if (lang.indexOf('en') === 0) el.textContent = 'Starting...';
else if (lang.indexOf('fr') === 0) el.textContent = 'Démarrage...';
else if (lang.indexOf('es') === 0) el.textContent = 'Iniciando...';
}
} catch (_) {}
</script>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>