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

bootstrap 4.5 & Bootswatch Themes

This commit is contained in:
catborise 2020-05-19 19:53:54 +03:00 committed by catborise
parent e2b7b77da0
commit 0e5840498e
230 changed files with 19531 additions and 5077 deletions

View file

@ -22,7 +22,7 @@ def view_active(request, view_name):
def class_active(request, pattern):
if re.search(pattern, request.path):
# Not sure why 'class="active"' returns class=""active""
return 'class=active'
return 'active'
return ''

View file

@ -21,7 +21,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'bootstrap3',
'bootstrap4',
'fa',
'accounts',
'admin',
@ -132,6 +132,9 @@ LOGGING = {
# WebVirtCloud settings
#
# SCSS Directory
SCSS_DIR = "dev/scss"
# Websock port
WS_PORT = 6080