diff --git a/html/favicon.ico b/html/favicon.ico index 4cf47be5ce..a691b0a868 100644 Binary files a/html/favicon.ico and b/html/favicon.ico differ diff --git a/html/images/android-chrome-192x192.png b/html/images/android-chrome-192x192.png new file mode 100644 index 0000000000..a2be5d169f Binary files /dev/null and b/html/images/android-chrome-192x192.png differ diff --git a/html/images/android-chrome-512x512.png b/html/images/android-chrome-512x512.png new file mode 100644 index 0000000000..707fc19e54 Binary files /dev/null and b/html/images/android-chrome-512x512.png differ diff --git a/html/images/apple-touch-icon.png b/html/images/apple-touch-icon.png new file mode 100644 index 0000000000..89b671c484 Binary files /dev/null and b/html/images/apple-touch-icon.png differ diff --git a/html/images/browserconfig.xml b/html/images/browserconfig.xml new file mode 100644 index 0000000000..b1fabb5134 --- /dev/null +++ b/html/images/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #00aba9 + + + diff --git a/html/images/favicon-120.png b/html/images/favicon-120.png deleted file mode 100644 index f8bdacbdc2..0000000000 Binary files a/html/images/favicon-120.png and /dev/null differ diff --git a/html/images/favicon-128.png b/html/images/favicon-128.png deleted file mode 100644 index 73b9b6efd7..0000000000 Binary files a/html/images/favicon-128.png and /dev/null differ diff --git a/html/images/favicon-144.png b/html/images/favicon-144.png deleted file mode 100644 index bd6ed59427..0000000000 Binary files a/html/images/favicon-144.png and /dev/null differ diff --git a/html/images/favicon-152.png b/html/images/favicon-152.png deleted file mode 100644 index a22a341292..0000000000 Binary files a/html/images/favicon-152.png and /dev/null differ diff --git a/html/images/favicon-16.png b/html/images/favicon-16.png deleted file mode 100644 index 6a96c4d78a..0000000000 Binary files a/html/images/favicon-16.png and /dev/null differ diff --git a/html/images/favicon-16x16.png b/html/images/favicon-16x16.png new file mode 100644 index 0000000000..fd0bdbcc4c Binary files /dev/null and b/html/images/favicon-16x16.png differ diff --git a/html/images/favicon-195.png b/html/images/favicon-195.png deleted file mode 100644 index 363da3c726..0000000000 Binary files a/html/images/favicon-195.png and /dev/null differ diff --git a/html/images/favicon-228.png b/html/images/favicon-228.png deleted file mode 100644 index 240d8714fa..0000000000 Binary files a/html/images/favicon-228.png and /dev/null differ diff --git a/html/images/favicon-24.png b/html/images/favicon-24.png deleted file mode 100644 index 017272b9f2..0000000000 Binary files a/html/images/favicon-24.png and /dev/null differ diff --git a/html/images/favicon-32.png b/html/images/favicon-32.png deleted file mode 100644 index 2754f78d41..0000000000 Binary files a/html/images/favicon-32.png and /dev/null differ diff --git a/html/images/favicon-32x32.png b/html/images/favicon-32x32.png new file mode 100644 index 0000000000..a50c6b6fb0 Binary files /dev/null and b/html/images/favicon-32x32.png differ diff --git a/html/images/favicon-57.png b/html/images/favicon-57.png deleted file mode 100644 index 2873d8f51e..0000000000 Binary files a/html/images/favicon-57.png and /dev/null differ diff --git a/html/images/favicon-64.png b/html/images/favicon-64.png deleted file mode 100644 index 38e914a5e9..0000000000 Binary files a/html/images/favicon-64.png and /dev/null differ diff --git a/html/images/favicon-72.png b/html/images/favicon-72.png deleted file mode 100644 index b511f2a48f..0000000000 Binary files a/html/images/favicon-72.png and /dev/null differ diff --git a/html/images/favicon-96.png b/html/images/favicon-96.png deleted file mode 100644 index 876deba30e..0000000000 Binary files a/html/images/favicon-96.png and /dev/null differ diff --git a/html/images/favicon.ico b/html/images/favicon.ico new file mode 100644 index 0000000000..a691b0a868 Binary files /dev/null and b/html/images/favicon.ico differ diff --git a/html/images/librenms_logo_dark.png b/html/images/librenms_logo_dark.png deleted file mode 100644 index fd33619dab..0000000000 Binary files a/html/images/librenms_logo_dark.png and /dev/null differ diff --git a/html/images/librenms_logo_dark.svg b/html/images/librenms_logo_dark.svg new file mode 100644 index 0000000000..a6780309ff --- /dev/null +++ b/html/images/librenms_logo_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html/images/librenms_logo_light.png b/html/images/librenms_logo_light.png deleted file mode 100644 index 9c2001ffd3..0000000000 Binary files a/html/images/librenms_logo_light.png and /dev/null differ diff --git a/html/images/librenms_logo_light.svg b/html/images/librenms_logo_light.svg new file mode 100644 index 0000000000..27790ef694 --- /dev/null +++ b/html/images/librenms_logo_light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html/images/librenms_logo_mono.png b/html/images/librenms_logo_mono.png deleted file mode 100644 index fd33619dab..0000000000 Binary files a/html/images/librenms_logo_mono.png and /dev/null differ diff --git a/html/images/librenms_logo_mono.svg b/html/images/librenms_logo_mono.svg new file mode 100644 index 0000000000..a6780309ff --- /dev/null +++ b/html/images/librenms_logo_mono.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/html/images/manifest.json b/html/images/manifest.json new file mode 100644 index 0000000000..7b97745a23 --- /dev/null +++ b/html/images/manifest.json @@ -0,0 +1,18 @@ +{ + "name": "LibreNMS", + "icons": [ + { + "src": "images/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "images/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/html/images/mstile-144x144.png b/html/images/mstile-144x144.png new file mode 100644 index 0000000000..baac0534d0 Binary files /dev/null and b/html/images/mstile-144x144.png differ diff --git a/html/images/mstile-150x150.png b/html/images/mstile-150x150.png new file mode 100644 index 0000000000..d74cd3148e Binary files /dev/null and b/html/images/mstile-150x150.png differ diff --git a/html/images/mstile-310x150.png b/html/images/mstile-310x150.png new file mode 100644 index 0000000000..af58962459 Binary files /dev/null and b/html/images/mstile-310x150.png differ diff --git a/html/images/mstile-310x310.png b/html/images/mstile-310x310.png new file mode 100644 index 0000000000..64dd65b594 Binary files /dev/null and b/html/images/mstile-310x310.png differ diff --git a/html/images/mstile-70x70.png b/html/images/mstile-70x70.png new file mode 100644 index 0000000000..c755f14e1c Binary files /dev/null and b/html/images/mstile-70x70.png differ diff --git a/html/images/safari-pinned-tab.svg b/html/images/safari-pinned-tab.svg new file mode 100644 index 0000000000..490c0acf6e --- /dev/null +++ b/html/images/safari-pinned-tab.svg @@ -0,0 +1,66 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/html/includes/authentication/twofactor.lib.php b/html/includes/authentication/twofactor.lib.php index 4e687aea48..b4acdb2b05 100644 --- a/html/includes/authentication/twofactor.lib.php +++ b/html/includes/authentication/twofactor.lib.php @@ -174,9 +174,7 @@ function twofactor_form($form = true)

-
- -
+

diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index fc70e36d0e..18871f2799 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -37,7 +37,7 @@ if (isset($config['site_style']) && ($config['site_style'] == 'dark' || $config[ '); + echo(''); } else { echo(''); } diff --git a/html/index.php b/html/index.php index 33f3d40e68..78307cd0d1 100644 --- a/html/index.php +++ b/html/index.php @@ -111,15 +111,14 @@ if (isset($config['page_title'])) { - - - - - - - - - + + + + + + + + ' . "\n"); diff --git a/html/pages/logon.inc.php b/html/pages/logon.inc.php index e39f5ecfac..006e573c47 100644 --- a/html/pages/logon.inc.php +++ b/html/pages/logon.inc.php @@ -8,9 +8,7 @@ if ($config['twofactor'] && isset($twofactorform)) {

-
- -
+

diff --git a/includes/init.php b/includes/init.php index 8df327028c..cd8ce7ba0e 100644 --- a/includes/init.php +++ b/includes/init.php @@ -23,13 +23,9 @@ * @author Tony Murray */ - /** - * @param array $modules + * @param array $modules Which modules to initialize */ -//function librenms_init($init_modules = array()) -//{ -//global $console_color, $config; $install_dir = realpath(__DIR__ . '/..'); $config['install_dir'] = $install_dir; @@ -126,7 +122,7 @@ if (file_exists($config['install_dir'] . '/html/includes/authentication/'.$confi if (module_selected('web', $init_modules)) { umask(0002); if (!isset($config['title_image'])) { - $config['title_image'] = 'images/librenms_logo_'.$config['site_style'].'.png'; + $config['title_image'] = 'images/librenms_logo_'.$config['site_style'].'.svg'; } require $install_dir . '/html/includes/vars.inc.php'; $tmp_list = dbFetchRows('SELECT DISTINCT(`os`) FROM `devices`');