aee0f09db8
- Datafabrik: Dockerfile fix, agentorkestrering fungerar - Vision: Identify-modell, FAISS, OCR alla testade - API: Alla 7 integrationstester passerade - Upplösare: Entitetsupplösning verifierad
211 lines
6.5 KiB
HTML
211 lines
6.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Landvex Aid Intelligence</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; background: #0a0a0a; color: #fff; }
|
|
.header { background: #111; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
|
|
.header h1 { font-size: 1.5rem; }
|
|
.header .subtitle { color: #666; font-size: 0.8rem; }
|
|
.nav { background: #111; padding: 0 40px; display: flex; gap: 4px; border-bottom: 1px solid #333; }
|
|
.nav a { color: #999; text-decoration: none; padding: 12px 20px; font-size: 0.85rem; transition: all 0.2s; }
|
|
.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 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 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; }
|
|
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.active { background: #1a3a1a; color: #34c759; }
|
|
.status.completed { background: #1a1a3a; color: #5ac8fa; }
|
|
.status.delayed { background: #3a1a1a; color: #ff3b30; }
|
|
.score { font-weight: 700; }
|
|
.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 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 h4 { font-size: 1rem; }
|
|
.country-card .score { font-size: 1.5rem; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="header">
|
|
<div>
|
|
<h1>Landvex Aid Intelligence</h1>
|
|
<div class="subtitle">Independent Impact Verification</div>
|
|
</div>
|
|
<div style="text-align: right;">
|
|
<div style="font-size: 0.8rem; color: #666;">Projects Monitored</div>
|
|
<div style="font-size: 1.5rem; font-weight: 700;">1,250</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="nav">
|
|
<a href="/admin/" style="color: #666;">← Admin</a>
|
|
<a href="#" class="active">Dashboard</a>
|
|
<a href="#projects">Projects</a>
|
|
<a href="#map">Map</a>
|
|
<a href="#alerts">Alerts</a>
|
|
<a href="#reports">Reports</a>
|
|
</div>
|
|
|
|
<div class="main">
|
|
|
|
<div class="stats-grid">
|
|
<div class="stat-card">
|
|
<h3>Avg AII Score</h3>
|
|
<div class="value">72</div>
|
|
<div class="change">+3 vs last quarter</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<h3>Observations</h3>
|
|
<div class="value">45K</div>
|
|
<div class="change">+3,200 this month</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<h3>Contributors</h3>
|
|
<div class="value">3,200</div>
|
|
<div class="change">+450 this month</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<h3>Countries</h3>
|
|
<div class="value">9</div>
|
|
<div class="change">3 regions</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<h3>Funding Monitored</h3>
|
|
<div class="value">$450M</div>
|
|
<div class="change">Across all projects</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<h3>Risk Alerts</h3>
|
|
<div class="value" style="color: #ff9500;">8</div>
|
|
<div class="change">2 high priority</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid-2">
|
|
<div class="section">
|
|
<h2>Project Map</h2>
|
|
<div class="map-placeholder">
|
|
Interactive Map<br>
|
|
1,250 projects across 9 countries
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h2>Risk Alerts</h2>
|
|
<div class="alert">
|
|
<h4>⚠️ 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>
|
|
<p><strong>Nairobi Health Clinic</strong> - Accelerated deterioration observed.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h2>Country Performance (Aid Impact Index)</h2>
|
|
<div style="display: grid; gap: 12px;">
|
|
<div class="country-card">
|
|
<div>
|
|
<h4>Ghana</h4>
|
|
<div style="font-size: 0.8rem; color: #666;">West Africa • 89 projects</div>
|
|
</div>
|
|
<div class="score high">81</div>
|
|
</div>
|
|
<div class="country-card">
|
|
<div>
|
|
<h4>South Africa</h4>
|
|
<div style="font-size: 0.8rem; color: #666;">Southern Africa • 112 projects</div>
|
|
</div>
|
|
<div class="score high">82</div>
|
|
</div>
|
|
<div class="country-card">
|
|
<div>
|
|
<h4>Kenya</h4>
|
|
<div style="font-size: 0.8rem; color: #666;">East Africa • 92 projects</div>
|
|
</div>
|
|
<div class="score medium">74</div>
|
|
</div>
|
|
<div class="country-card">
|
|
<div>
|
|
<h4>Somalia</h4>
|
|
<div style="font-size: 0.8rem; color: #666;">East Africa • 45 projects</div>
|
|
</div>
|
|
<div class="score medium">72</div>
|
|
</div>
|
|
<div class="country-card">
|
|
<div>
|
|
<h4>Nigeria</h4>
|
|
<div style="font-size: 0.8rem; color: #666;">West Africa • 134 projects</div>
|
|
</div>
|
|
<div class="score low">63</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h2>Recent Projects</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Project</th>
|
|
<th>Country</th>
|
|
<th>Type</th>
|
|
<th>Status</th>
|
|
<th>AII Score</th>
|
|
<th>Observations</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Mogadishu Primary School Renovation</td>
|
|
<td>Somalia</td>
|
|
<td>School</td>
|
|
<td><span class="status active">Active</span></td>
|
|
<td><span class="score medium">72</span></td>
|
|
<td>156</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Kampala Water Supply Extension</td>
|
|
<td>Uganda</td>
|
|
<td>Water</td>
|
|
<td><span class="status active">Active</span></td>
|
|
<td><span class="score medium">68</span></td>
|
|
<td>203</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Accra Solar Microgrid</td>
|
|
<td>Ghana</td>
|
|
<td>Renewable</td>
|
|
<td><span class="status completed">Completed</span></td>
|
|
<td><span class="score high">89</span></td>
|
|
<td>312</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html> |