feat: Passwordless cross-device authentication

- Arkitektur: docs/auth/passwordless-architecture.md
- Backend: iom/quixzoom-auth-service/ (FastAPI + Redis)
- Webb: quixzoom-market-pages/se/login/ (QR-kod + polling)
- App: iom/quixzoom-app/src/features/auth/ (push + deep links)

Flöde: QR-kod → app-godkännande → webb-inloggad
This commit is contained in:
Bernt
2026-07-07 07:11:50 +00:00
parent 4aa984ad74
commit 6989a98d75
61843 changed files with 5491611 additions and 872231 deletions
+8 -8
View File
@@ -15,18 +15,18 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
.nav a:hover, .nav a.active { color: #fff; background: #222; }
.main { padding: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: #111; border: 1px solid #333; border-radius: 12px; padding: 24px; }
.stat-card { background: #111; border: 1px solid #333; border-radius: var(--radius-md); padding: 24px; }
.stat-card h3 { font-size: 0.75rem; color: #666; margin-bottom: 8px; text-transform: uppercase; }
.stat-card .value { font-size: 2rem; font-weight: 700; color: #fff; }
.stat-card .change { font-size: 0.8rem; color: #34c759; margin-top: 4px; }
.section { background: #111; border: 1px solid #333; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.section { background: #111; border: 1px solid #333; border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; }
.section h2 { font-size: 1.1rem; margin-bottom: 16px; color: #fff; }
.map-placeholder { background: #1a1a1a; border-radius: 8px; height: 400px; display: flex; align-items: center; justify-content: center; color: #666; }
.map-placeholder { background: #1a1a1a; border-radius: var(--radius-md); height: 400px; display: flex; align-items: center; justify-content: center; color: #666; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #333; }
th { color: #666; font-size: 0.75rem; text-transform: uppercase; }
tr:hover { background: #1a1a1a; }
.status { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.status { display: inline-block; padding: 4px 12px; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; }
.status.active { background: #1a3a1a; color: #34c759; }
.status.completed { background: #1a1a3a; color: #5ac8fa; }
.status.delayed { background: #3a1a1a; color: #ff3b30; }
@@ -34,11 +34,11 @@ tr:hover { background: #1a1a1a; }
.score.high { color: #34c759; }
.score.medium { color: #ff9500; }
.score.low { color: #ff3b30; }
.alert { background: #3a1a1a; border: 1px solid #ff3b30; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.alert { background: #3a1a1a; border: 1px solid #ff3b30; border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; }
.alert h4 { color: #ff3b30; margin-bottom: 8px; }
.alert p { color: #ccc; font-size: 0.85rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.country-card { background: #1a1a1a; border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.country-card { background: #1a1a1a; border-radius: var(--radius-md); padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.country-card h4 { font-size: 1rem; }
.country-card .score { font-size: 1.5rem; }
</style>
@@ -112,11 +112,11 @@ Interactive Map<br>
<div class="section">
<h2>Risk Alerts</h2>
<div class="alert">
<h4>⚠️ Abandoned Project Detected</h4>
<h4><svg width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M10 3L17 17H3L10 3Z" stroke="#f59e0b" stroke-width="2"/><path d="M10 8V12M10 14V14.5" stroke="#f59e0b" stroke-width="2" stroke-linecap="round"/></svg> Abandoned Project Detected</h4>
<p><strong>Lagos Road Rehabilitation</strong> - No activity for 90 days. Equipment removed.</p>
</div>
<div class="alert" style="background: #3a3a1a; border-color: #ff9500;">
<h4 style="color: #ff9500;">⚠️ Infrastructure Deterioration</h4>
<h4 style="color: #ff9500;"><svg width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M10 3L17 17H3L10 3Z" stroke="#f59e0b" stroke-width="2"/><path d="M10 8V12M10 14V14.5" stroke="#f59e0b" stroke-width="2" stroke-linecap="round"/></svg> Infrastructure Deterioration</h4>
<p><strong>Nairobi Health Clinic</strong> - Accelerated deterioration observed.</p>
</div>
</div>