Merge pull request #49 from fhservinga/main
make logo configurable with env vars
This commit is contained in:
commit
286d892703
@ -22,6 +22,9 @@ services:
|
|||||||
LOCATION: Location
|
LOCATION: Location
|
||||||
FACILITY: Facility
|
FACILITY: Facility
|
||||||
FACILITY_URL: http://localhost/
|
FACILITY_URL: http://localhost/
|
||||||
|
LOGO_URL: https://github.com/hybula/lookingglass/
|
||||||
|
LOGO: '<h2 style="color: #000000;">Company Looking Glass</h2>'
|
||||||
|
LOGO_DARK: '<h2 style="color: #ffffff;">Company Looking Glass</h2>'
|
||||||
IPV4_ADDRESS: 127.0.0.1
|
IPV4_ADDRESS: 127.0.0.1
|
||||||
IPV6_ADDRESS: ::1
|
IPV6_ADDRESS: ::1
|
||||||
MAPS_QUERY: Amsterdam
|
MAPS_QUERY: Amsterdam
|
||||||
|
@ -5,11 +5,11 @@ use Hybula\LookingGlass;
|
|||||||
const LG_TITLE = 'Looking Glass';
|
const LG_TITLE = 'Looking Glass';
|
||||||
|
|
||||||
// Define a logo, this can be HTML too, see the other example for an image;
|
// Define a logo, this can be HTML too, see the other example for an image;
|
||||||
const LG_LOGO = '<h2 style="color: #000000;">Company Looking Glass</h2>';
|
define('LG_LOGO', getenv('LOGO'));
|
||||||
const LG_LOGO_DARK = '<h2 style="color: #ffffff;">Company Looking Glass</h2>';
|
define('LG_LOGO_DARK', getenv('LOGO_DARK'));
|
||||||
|
|
||||||
// Define the URL where the logo points to;
|
// Define the URL where the logo points to;
|
||||||
const LG_LOGO_URL = 'https://github.com/hybula/lookingglass/';
|
define('LG_LOGO_URL', getenv('LOGO_URL'));
|
||||||
|
|
||||||
// Theme mode;
|
// Theme mode;
|
||||||
const LG_THEME = 'auto';
|
const LG_THEME = 'auto';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user