layout
This commit is contained in:
@@ -32,6 +32,8 @@ $domainFile = __DIR__ . '/domaindata.php';
|
|||||||
$settingsFile = __DIR__ . '/settings.php';
|
$settingsFile = __DIR__ . '/settings.php';
|
||||||
$configFile = __DIR__ . '/db.php';
|
$configFile = __DIR__ . '/db.php';
|
||||||
$baseConfigFile = __DIR__ . '/base_db.php';
|
$baseConfigFile = __DIR__ . '/base_db.php';
|
||||||
|
$fallbackBaseConfig = __DIR__ . '/staging/db_settings_basic.php';
|
||||||
|
$fallbackBaseConfigProd = __DIR__ . '/prod/db_settings_basic.php';
|
||||||
|
|
||||||
if (file_exists($domainFile)) {
|
if (file_exists($domainFile)) {
|
||||||
require_once $domainFile;
|
require_once $domainFile;
|
||||||
@@ -51,6 +53,12 @@ $baseDbConfig = [];
|
|||||||
if (file_exists($baseConfigFile)) {
|
if (file_exists($baseConfigFile)) {
|
||||||
$baseDbConfig = require $baseConfigFile;
|
$baseDbConfig = require $baseConfigFile;
|
||||||
}
|
}
|
||||||
|
if (empty($baseDbConfig) && file_exists($fallbackBaseConfig)) {
|
||||||
|
$baseDbConfig = require $fallbackBaseConfig;
|
||||||
|
}
|
||||||
|
if (empty($baseDbConfig) && file_exists($fallbackBaseConfigProd)) {
|
||||||
|
$baseDbConfig = require $fallbackBaseConfigProd;
|
||||||
|
}
|
||||||
|
|
||||||
// Globales Config Objekt erstellen
|
// Globales Config Objekt erstellen
|
||||||
global $appConfig;
|
global $appConfig;
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ body {
|
|||||||
radial-gradient(900px 500px at 90% 10%, rgba(0, 179, 164, 0.12), transparent 55%),
|
radial-gradient(900px 500px at 90% 10%, rgba(0, 179, 164, 0.12), transparent 55%),
|
||||||
var(--bg);
|
var(--bg);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-orb {
|
.bg-orb {
|
||||||
@@ -185,15 +188,23 @@ body {
|
|||||||
z-index: 60;
|
z-index: 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content { min-height: 60vh; }
|
.main-content {
|
||||||
|
min-height: 60vh;
|
||||||
|
background: var(--panel);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 18px;
|
||||||
|
box-shadow: var(--shadow);
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.site-footer {
|
.site-footer {
|
||||||
margin: 0 24px 24px;
|
margin: 0 24px 18px;
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
|
margin-top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.debug-fab {
|
.debug-fab {
|
||||||
|
|||||||
Reference in New Issue
Block a user