mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-08 05:14:36 +00:00
fix some messages, add translation for some keywords, update tr locale file
This commit is contained in:
@@ -20,7 +20,7 @@ def appsettings(request):
|
||||
:return:
|
||||
"""
|
||||
error_messages = []
|
||||
|
||||
main_css = "wvc-main.min.css"
|
||||
sass_dir = AppSettings.objects.get(key="SASS_DIR")
|
||||
bootstrap_theme = AppSettings.objects.get(key="BOOTSTRAP_THEME")
|
||||
try:
|
||||
@@ -59,7 +59,7 @@ def appsettings(request):
|
||||
main.write(scss_var + "\n" + scss_boot + "\n" + scss_bootswatch + "\n")
|
||||
|
||||
css_compressed = sass.compile(string=scss_var + "\n"+ scss_boot + "\n" + scss_bootswatch, output_style='compressed')
|
||||
with open("static/" + "css/wvc-main.min.css", "w") as css:
|
||||
with open("static/css/" + main_css, "w") as css:
|
||||
css.write(css_compressed)
|
||||
|
||||
bootstrap_theme.value = theme
|
||||
|
||||
Reference in New Issue
Block a user