From 1c76f19408dd174017decb528677ac31da097121 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 29 Jun 2021 14:21:42 +0200 Subject: [PATCH] Temporarily disable theme mode adjustments --- application/forms/PreferenceForm.php | 3 +++ library/Icinga/Web/StyleSheet.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/application/forms/PreferenceForm.php b/application/forms/PreferenceForm.php index 7fd9b02d0..b9770f5de 100644 --- a/application/forms/PreferenceForm.php +++ b/application/forms/PreferenceForm.php @@ -247,6 +247,9 @@ class PreferenceForm extends Form ] ); + // Temporarily disabled. Re-enabled with v2.10 + $this->removeElement('theme_mode'); + /** @var GettextTranslator $translator */ $translator = StaticTranslator::$instance; diff --git a/library/Icinga/Web/StyleSheet.php b/library/Icinga/Web/StyleSheet.php index 53b56bd14..a8a03168a 100644 --- a/library/Icinga/Web/StyleSheet.php +++ b/library/Icinga/Web/StyleSheet.php @@ -175,6 +175,9 @@ class StyleSheet } } + // Temporarily disabled. Re-enabled with v2.10 + $mode = 'none'; + $this->lessCompiler->setThemeMode($this->pubPath . '/css/modes/'. $mode . '.less'); }