Yeah I think it's about this logic: https://github.com/openstack/charm-openstack-dashboard/blob/82897f8f5fde0ef2c639b18a2499d2f033ce37c5/templates/stein/local_settings.py#L912-L940
The quickest hack in this specific case is to set the custom theme as the default then "hide" the theme selection menu in the custom theme itself like the following:
$ git diff diff --git a/custom-theme/static/_styles.scss b/custom-theme/static/_styles.scss index e69de29..d474a4e 100644 --- a/custom-theme/static/_styles.scss +++ b/custom-theme/static/_styles.scss @@ -0,0 +1,3 @@ +.dropdown-menu.theme-picker { + display: none; +}
Yeah I think it's about this logic: /github. com/openstack/ charm-openstack -dashboard/ blob/82897f8f5f de0ef2c639b18a2 499d2f033ce37c5 /templates/ stein/local_ settings. py#L912- L940
https:/
The quickest hack in this specific case is to set the custom theme as the default then "hide" the theme selection menu in the custom theme itself like the following:
$ git diff theme/static/ _styles. scss b/custom- theme/static/ _styles. scss theme/static/ _styles. scss theme/static/ _styles. scss menu.theme- picker {
diff --git a/custom-
index e69de29..d474a4e 100644
--- a/custom-
+++ b/custom-
@@ -0,0 +1,3 @@
+.dropdown-
+ display: none;
+}