Add MySQL schema dump for phpMyAdmin

This commit is contained in:
Thomas
2025-10-28 14:08:03 +01:00
parent f956a735ca
commit 8e608d03ec
49 changed files with 1929 additions and 1 deletions

View File

@@ -0,0 +1,123 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?= htmlspecialchars(config('app.name')) ?><?= isset($title) ? ' - ' . htmlspecialchars($title) : '' ?></title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/2.0.0/modern-normalize.min.css" integrity="sha512-jY8yKAGgwyUr0vbJIUKGwEuITdSb9VjA36TObgGJE0E7E5Wdl66iRS0LlwM651S01qmPvvrLpzjAU6YewsGmmw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
:root {
color-scheme: dark;
font-family: 'Inter', system-ui, sans-serif;
background-color: #0f172a;
color: #e2e8f0;
}
body {
margin: 0;
min-height: 100vh;
background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}
a { color: #38bdf8; }
.container {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 1.5rem 4rem;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 2rem;
}
nav a {
margin-left: 1rem;
text-decoration: none;
}
.card {
background: rgba(30, 41, 59, 0.85);
border: 1px solid rgba(148, 163, 184, 0.1);
border-radius: 16px;
padding: 1.5rem;
backdrop-filter: blur(10px);
box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
}
.grid {
display: grid;
gap: 1.5rem;
}
.grid-2 {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 0.75rem 1rem;
border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.badge {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
background: rgba(56, 189, 248, 0.15);
color: #38bdf8;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.6rem 1rem;
border-radius: 0.75rem;
border: none;
cursor: pointer;
font-weight: 600;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
background: linear-gradient(135deg, #38bdf8, #6366f1);
color: #0f172a;
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}
.alert {
padding: 1rem 1.25rem;
border-radius: 0.75rem;
margin-bottom: 1.5rem;
border: 1px solid rgba(248, 113, 113, 0.25);
background: rgba(248, 113, 113, 0.1);
color: #fecaca;
}
</style>
</head>
<body>
<div class="container">
<header>
<div style="display:flex; align-items:center; gap:1rem;">
<img src="<?= htmlspecialchars(config('branding.logo_path')) ?>" alt="<?= htmlspecialchars(config('branding.company')) ?> logo" style="height:56px; width:auto; border-radius:12px; background:rgba(15,23,42,0.45); padding:0.35rem 0.5rem;" loading="lazy">
<div>
<h1 style="margin: 0; font-size: 1.75rem;"><?= htmlspecialchars(config('app.name')) ?></h1>
<p style="margin: 0; color: rgba(148, 163, 184, 0.8);"><?= htmlspecialchars(config('branding.domain')) ?> • Unified customer, project, and issue management</p>
</div>
</div>
<?php $auth = \App\Services\AuthService::getInstance(); ?>
<?php if ($auth->check()): ?>
<nav>
<a href="/">Dashboard</a>
<a href="/projects">Projects</a>
<a href="/customers">Customers</a>
<a href="/logout">Log out</a>
</nav>
<?php endif; ?>
</header>
<main>
<?= $content ?? '' ?>
</main>
</div>
</body>
</html>