1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

fix some messages, add translation for some keywords, update tr locale file

This commit is contained in:
catborise 2020-06-12 14:46:17 +03:00
parent fd3212de90
commit e97d592e51
29 changed files with 1987 additions and 1364 deletions

View file

@ -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