asdsa
This commit is contained in:
20
partials/landingpage/accountsetup/accountsetup_config.php
Normal file
20
partials/landingpage/accountsetup/accountsetup_config.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
$appBaseUrl = $GLOBALS['app_base_url'] ?? '';
|
||||
|
||||
$defaultNavLinks = [
|
||||
['id' => 'dashboard', 'label' => 'Dashboard', 'href' => $appBaseUrl . '/admin/dashboard.php'],
|
||||
['id' => 'settings', 'label' => 'Administration','href' => $appBaseUrl . '/admin/settings.php'],
|
||||
['id' => 'bridge', 'label' => 'Bridge Setup', 'href' => $appBaseUrl . '/admin/bridge.php'],
|
||||
['id' => 'profile', 'label' => 'Mein Konto', 'href' => $appBaseUrl . '/admin/profile.php'],
|
||||
];
|
||||
|
||||
if (empty($navLinks)) {
|
||||
$navLinks = $defaultNavLinks;
|
||||
}
|
||||
|
||||
$layoutSharedCss = $layoutSharedCss ?? [];
|
||||
if (!is_array($layoutSharedCss)) {
|
||||
$layoutSharedCss = [$layoutSharedCss];
|
||||
}
|
||||
$layoutSharedCss[] = '/assets/css/accountsetup.css';
|
||||
$layoutSharedCss = array_values(array_unique(array_filter($layoutSharedCss)));
|
||||
@@ -2,16 +2,7 @@
|
||||
$pageTitle = 'Email Template System – Bridge Setup';
|
||||
$pageId = 'bridge-setup';
|
||||
$navActive = 'bridge';
|
||||
$layoutExtraHead = <<<HTML
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
.section-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1.25rem;margin-bottom:1.5rem}
|
||||
.section-card h4{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#0f172a}
|
||||
.input{width:100%;border:1px solid #cbd5f5;border-radius:.5rem;padding:.5rem .75rem}
|
||||
.badge{display:inline-flex;align-items:center;padding:.1rem .5rem;border-radius:999px;font-size:.75rem;background:#e2e8f0;color:#0f172a}
|
||||
.chip{display:inline-flex;align-items:center;padding:.15rem .55rem;border-radius:999px;background:#f1f5f9;color:#0f172a;border:1px solid #e2e8f0;font-size:.8rem}
|
||||
</style>
|
||||
HTML;
|
||||
require __DIR__ . '/accountsetup_config.php';
|
||||
require dirname(__DIR__) . '/../structure/layout_start.php';
|
||||
?>
|
||||
<main class="max-w-4xl mx-auto p-4 md:p-6 flex-1 w-full space-y-6">
|
||||
@@ -2,18 +2,7 @@
|
||||
$pageTitle = 'Email Template System – Dashboard';
|
||||
$pageId = 'dashboard';
|
||||
$navActive = 'dashboard';
|
||||
$layoutExtraHead = <<<HTML
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}
|
||||
.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1.25rem}
|
||||
.stat-card h4{margin:0;font-size:.95rem;color:#475569}
|
||||
.stat-card strong{display:block;font-size:1.75rem;color:#0f172a}
|
||||
.section-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1.25rem;margin-bottom:1.5rem}
|
||||
.usage-table{width:100%;border-collapse:collapse;font-size:.9rem}
|
||||
.usage-table th,.usage-table td{padding:.5rem;border-bottom:1px solid #e2e8f0;text-align:left}
|
||||
</style>
|
||||
HTML;
|
||||
require __DIR__ . '/accountsetup_config.php';
|
||||
require dirname(__DIR__) . '/../structure/layout_start.php';
|
||||
?>
|
||||
<main class="max-w-5xl mx-auto p-4 md:p-6 flex-1 w-full">
|
||||
@@ -2,15 +2,7 @@
|
||||
$pageTitle = 'Email Template System – Mein Konto';
|
||||
$pageId = 'account';
|
||||
$navActive = 'profile';
|
||||
$layoutExtraHead = <<<HTML
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
.section-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1.25rem;margin-bottom:1.5rem}
|
||||
.section-card h4{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#0f172a}
|
||||
.input{width:100%;border:1px solid #cbd5f5;border-radius:.5rem;padding:.5rem .75rem}
|
||||
.user-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem}
|
||||
</style>
|
||||
HTML;
|
||||
require __DIR__ . '/accountsetup_config.php';
|
||||
require dirname(__DIR__) . '/../structure/layout_start.php';
|
||||
?>
|
||||
<main class="max-w-5xl mx-auto p-4 md:p-6 flex-1 w-full">
|
||||
@@ -2,18 +2,7 @@
|
||||
$pageTitle = 'Email Template System – Administration';
|
||||
$pageId = 'admin';
|
||||
$navActive = 'settings';
|
||||
$layoutExtraHead = <<<HTML
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
.section-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1.25rem;margin-bottom:1.5rem}
|
||||
.section-card h4{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#0f172a}
|
||||
.input{width:100%;border:1px solid #cbd5f5;border-radius:.5rem;padding:.5rem .75rem}
|
||||
.team-table{width:100%;border-collapse:collapse;font-size:.9rem}
|
||||
.team-table th,.team-table td{padding:.35rem .5rem;border-bottom:1px solid #e2e8f0;text-align:left}
|
||||
.badge{display:inline-flex;align-items:center;padding:.1rem .5rem;border-radius:999px;font-size:.75rem;background:#e2e8f0;color:#0f172a}
|
||||
.chip{display:inline-flex;align-items:center;padding:.15rem .55rem;border-radius:999px;background:#f1f5f9;color:#0f172a;border:1px solid #e2e8f0;font-size:.8rem}
|
||||
</style>
|
||||
HTML;
|
||||
require __DIR__ . '/accountsetup_config.php';
|
||||
require dirname(__DIR__) . '/../structure/layout_start.php';
|
||||
?>
|
||||
<main class="max-w-5xl mx-auto p-4 md:p-6 flex-1 w-full space-y-6">
|
||||
Reference in New Issue
Block a user