Initial commit — Mek-Tech AI Consultancy Framework v2.0

This commit is contained in:
mo
2026-07-12 21:54:22 +00:00
commit 18921c021b
180 changed files with 28518 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html><html lang="nl"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Audit Log — Mek-Tech</title><link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/dynamic.css"><link rel="icon" href="/img/favicon.svg"><script src="https://unpkg.com/lucide@latest"></script></head><body>
<nav class="navbar"><div class="nav-inner"><a href="/" class="nav-brand"><img src="/img/logo.svg" class="nav-logo" alt="Mek-Tech"></a><div style="display:flex;align-items:center;gap:.4rem"><a href="/" class="nav-icon-btn" title="Dashboard"><i data-lucide="layout-dashboard" style="width:15px;height:15px"></i> Dashboard</a><button class="theme-toggle" id="themeToggle" onclick="toggleTheme()"></button><a href="/auth/logout" class="nav-icon-btn" style="color:var(--red)"><i data-lucide="log-out" style="width:15px;height:15px"></i> Uitloggen</a></div></div></nav>
<div class="container">
<a href="javascript:history.back()" class="back-link"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"/></svg> Terug</a>
<div class="page-header"><h1>Audit Log</h1><span style="color:var(--text-muted);font-size:.8rem"><%= total %> entries</span></div>
<table class="data-table"><thead><tr><th>Tijd</th><th>Gebruiker</th><th>Actie</th><th>Entiteit</th><th>Details</th></tr></thead><tbody>
<% entries.forEach(function(e){ %>
<tr><td style="font-size:.7rem"><%= new Date(e.created_at).toLocaleString('nl-NL') %></td><td><%= e.username || '-' %></td><td><code><%= e.action %></code></td><td><%= e.entity_type %><% if (e.entity_id) { %> #<%= e.entity_id %><% } %></td><td style="color:var(--text-muted);font-size:.75rem"><%= e.details || '' %></td></tr>
<% }) %>
</tbody></table>
<% if (pages > 1) { %><div style="display:flex;gap:.35rem;margin-top:1rem;justify-content:center">
<% for (var p = 1; p <= pages; p++) { %><a href="/audit?page=<%= p %>" class="btn <%= page === p ? 'btn-primary' : 'btn-secondary' %>" style="min-width:36px"><%= p %></a><% } %>
</div><% } %>
</div><script src="/js/theme.js"></script><script>lucide.createIcons()</script></body></html>