dev/patrick #1
@@ -17,7 +17,7 @@ if (file_exists($envFile)) {
|
|||||||
|
|
||||||
// Defines Environment Variables
|
// Defines Environment Variables
|
||||||
$host = getenv('POSTGRES_HOSTNAME');
|
$host = getenv('POSTGRES_HOSTNAME');
|
||||||
$port = 5432;
|
$port = getenv('POSTGRES_PORT');
|
||||||
$db = getenv('POSTGRES_DB');
|
$db = getenv('POSTGRES_DB');
|
||||||
$user = getenv('POSTGRES_USER');
|
$user = getenv('POSTGRES_USER');
|
||||||
$pass = getenv('POSTGRES_PASSWORD');
|
$pass = getenv('POSTGRES_PASSWORD');
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ if (!$municipality) {
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Bürgerbeteiligungsportal <?= htmlspecialchars($municipality['name']) ?></title>
|
<title>Bürgerbeteiligungsportal <?= htmlspecialchars($municipality['name']) ?></title>
|
||||||
<link rel="icon" href="assets/icon-municipality.png" type="image/png">
|
<link rel="icon" href="assets/icon-municipality.png" type="image/png">
|
||||||
|
<meta name="description" content="Bürgerbeteiligungsportal der Stadt Lohne (Oldenburg). Hinweise und Vorschläge auf der Karte eintragen.">
|
||||||
|
|
||||||
|
|
||||||
<!-- ============================================================= -->
|
<!-- ============================================================= -->
|
||||||
<!-- Loads CSS Dependencies -->
|
<!-- Loads CSS Dependencies -->
|
||||||
@@ -64,16 +66,12 @@ if (!$municipality) {
|
|||||||
<link rel="stylesheet" href="styles.css">
|
<link rel="stylesheet" href="styles.css">
|
||||||
|
|
||||||
<!-- ============================================================= -->
|
<!-- ============================================================= -->
|
||||||
<!-- Municipality Theme (loaded from Database) -->
|
<!-- Municipality Theme loaded from Database -->
|
||||||
<!-- ============================================================= -->
|
<!-- ============================================================= -->
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--color-primary: <?= htmlspecialchars($municipality['primary_color']) ?>;
|
--color-primary: <?= htmlspecialchars($municipality['primary_color']) ?>;
|
||||||
--color-primary-light: <?= htmlspecialchars($municipality['primary_color']) ?>22;
|
--color-primary-light: <?= htmlspecialchars($municipality['primary_color']) ?>22;
|
||||||
--color-primary-dark: <?= htmlspecialchars($municipality['primary_color']) ?>;
|
|
||||||
--map-center-lat: <?= $municipality['center_lat'] ?>;
|
|
||||||
--map-center-lng: <?= $municipality['center_lng'] ?>;
|
|
||||||
--map-default-zoom: <?= $municipality['default_zoom'] ?>;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user