diff --git a/hshassets/app_settings/defaults.py b/hshassets/app_settings/defaults.py index 16da52c58966f66e9dd2cec57ed0eb81780faa64..b45d1079ddab8c45ce09f534fa3ab2ea8f0670ff 100644 --- a/hshassets/app_settings/defaults.py +++ b/hshassets/app_settings/defaults.py @@ -2,3 +2,15 @@ # piwi stuff PIWIK_URL = 'piwik.it.hs-hannover.de' PIWIK_SITE_ID = None + +# setting the color scheme for the default compiled style and base html +# available are: +# +# 'service' - default, central service yellow - rgb(255, 210, 0) +# 'zsw' - mint for ZSW - rgb(70, 180, 140) +# 'f1' - light blue for faculty 1, "Elektro- und Informationstechnik" - rgb(30, 190, 235) +# 'f2' - green for faculty 2, "Maschinenbau und Bioverfahrenstechnik" - rgb(150, 190, 0) +# 'f3' - light blue for faculty 3, "Medien, Information und Design" - rgb(255, 165, 0) +# 'f4' - light blue for faculty 4, "Wirtschaft und Informatik" - rgb(220, 50, 5) +# 'f5' - light blue for faculty 5, "Diakonie, Gesundheit und Soziales" - rgb(210, 60, 150) +COLOR_SCHEME = 'service' diff --git a/hshassets/settings.py b/hshassets/settings.py deleted file mode 100644 index 701f2a8647b3c070d865a85cbd9b2bc3ac8de8e4..0000000000000000000000000000000000000000 --- a/hshassets/settings.py +++ /dev/null @@ -1,15 +0,0 @@ -from django.conf import settings - - -# setting the color scheme for the default compiled style and base html -# available are: -# -# 'service' - default, central service yellow - rgb(255, 210, 0) -# 'zsw' - mint for ZSW - rgb(70, 180, 140) -# 'f1' - light blue for faculty 1, "Elektro- und Informationstechnik" - rgb(30, 190, 235) -# 'f2' - green for faculty 2, "Maschinenbau und Bioverfahrenstechnik" - rgb(150, 190, 0) -# 'f3' - light blue for faculty 3, "Medien, Information und Design" - rgb(255, 165, 0) -# 'f4' - light blue for faculty 4, "Wirtschaft und Informatik" - rgb(220, 50, 5) -# 'f5' - light blue for faculty 5, "Diakonie, Gesundheit und Soziales" - rgb(210, 60, 150) - -COLOR_SCHEME = getattr(settings, 'HSHASSETS_COLOR_SCHEME', 'service') diff --git a/hshassets/utils.py b/hshassets/utils.py index 50f4b04ed70d1b07696837083437f05ae1cb8943..5941c144f8dbe1d5d43c4ced74ec3f409aa0705a 100644 --- a/hshassets/utils.py +++ b/hshassets/utils.py @@ -1,6 +1,6 @@ from django.conf import settings -from hshassets.settings import COLOR_SCHEME +from hshassets.app_settings import COLOR_SCHEME from importlib import import_module