- Kahvivaaka
+ ka.dy.fi
@@ -292,6 +29,6 @@ function resize(){
-
+
diff --git a/global_static/img/favicon.ico b/global_static/img/favicon.ico
deleted file mode 100644
index 0799dd3..0000000
Binary files a/global_static/img/favicon.ico and /dev/null differ
diff --git a/sikweb/base.py b/sikweb/base.py
index 1e3c808..6ccab05 100644
--- a/sikweb/base.py
+++ b/sikweb/base.py
@@ -237,9 +237,9 @@ STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
)
STATIC_URL = '/static/'
-STATIC_ROOT = os.path.join(BASE_DIR, 'static')
+STATIC_ROOT = os.path.join(BASE_DIR, 'collected_static')
STATICFILES_DIRS = (
- os.path.join(BASE_DIR, 'global_static'),
+ os.path.join(BASE_DIR, 'static'),
)
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'
diff --git a/sikweb/settings-sample.py b/sikweb/settings-sample.py
index a2cca87..2d239bd 100644
--- a/sikweb/settings-sample.py
+++ b/sikweb/settings-sample.py
@@ -16,6 +16,8 @@ from sikweb.base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
+# ALLOWED_HOSTS = ["*"]
+
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '7p$85^4ibb^p4-=vs44b7!y0e-zemugze18@a#30&71=a8)dp('
diff --git a/global_static/css/about.css b/static/css/about.css
similarity index 100%
rename from global_static/css/about.css
rename to static/css/about.css
diff --git a/global_static/css/base.css b/static/css/base.css
similarity index 100%
rename from global_static/css/base.css
rename to static/css/base.css
diff --git a/global_static/css/footer.css b/static/css/footer.css
similarity index 100%
rename from global_static/css/footer.css
rename to static/css/footer.css
diff --git a/global_static/css/lib/bootstrap.min.css b/static/css/lib/bootstrap.min.css
similarity index 100%
rename from global_static/css/lib/bootstrap.min.css
rename to static/css/lib/bootstrap.min.css
diff --git a/global_static/css/lib/simple-sidebar.css b/static/css/lib/simple-sidebar.css
similarity index 100%
rename from global_static/css/lib/simple-sidebar.css
rename to static/css/lib/simple-sidebar.css
diff --git a/global_static/img/en.png b/static/img/en.png
similarity index 100%
rename from global_static/img/en.png
rename to static/img/en.png
diff --git a/global_static/img/fi.png b/static/img/fi.png
similarity index 100%
rename from global_static/img/fi.png
rename to static/img/fi.png
diff --git a/global_static/js/lib/angular-animate.js b/static/js/lib/angular-animate.js
similarity index 100%
rename from global_static/js/lib/angular-animate.js
rename to static/js/lib/angular-animate.js
diff --git a/global_static/js/lib/angular-qrcode.js b/static/js/lib/angular-qrcode.js
similarity index 100%
rename from global_static/js/lib/angular-qrcode.js
rename to static/js/lib/angular-qrcode.js
diff --git a/global_static/js/lib/angular-route.js b/static/js/lib/angular-route.js
similarity index 100%
rename from global_static/js/lib/angular-route.js
rename to static/js/lib/angular-route.js
diff --git a/global_static/js/lib/angular.js b/static/js/lib/angular.js
similarity index 100%
rename from global_static/js/lib/angular.js
rename to static/js/lib/angular.js
diff --git a/global_static/js/lib/bootstrap.min.js b/static/js/lib/bootstrap.min.js
similarity index 100%
rename from global_static/js/lib/bootstrap.min.js
rename to static/js/lib/bootstrap.min.js
diff --git a/global_static/js/lib/jquery-3.1.0.min.js b/static/js/lib/jquery-3.1.0.min.js
similarity index 100%
rename from global_static/js/lib/jquery-3.1.0.min.js
rename to static/js/lib/jquery-3.1.0.min.js
diff --git a/global_static/js/lib/jquery.noty.packaged.js b/static/js/lib/jquery.noty.packaged.js
similarity index 100%
rename from global_static/js/lib/jquery.noty.packaged.js
rename to static/js/lib/jquery.noty.packaged.js
diff --git a/global_static/js/lib/moment.js b/static/js/lib/moment.js
similarity index 100%
rename from global_static/js/lib/moment.js
rename to static/js/lib/moment.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/.versions b/static/js/lib/ng-file-upload-bower-12.2.11/.versions
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/.versions
rename to static/js/lib/ng-file-upload-bower-12.2.11/.versions
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.flash.swf b/static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.flash.swf
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.flash.swf
rename to static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.flash.swf
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.js b/static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.min.js b/static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.min.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.min.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/FileAPI.min.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/LICENSE b/static/js/lib/ng-file-upload-bower-12.2.11/LICENSE
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/LICENSE
rename to static/js/lib/ng-file-upload-bower-12.2.11/LICENSE
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/README.md b/static/js/lib/ng-file-upload-bower-12.2.11/README.md
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/README.md
rename to static/js/lib/ng-file-upload-bower-12.2.11/README.md
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/bower.json b/static/js/lib/ng-file-upload-bower-12.2.11/bower.json
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/bower.json
rename to static/js/lib/ng-file-upload-bower-12.2.11/bower.json
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.js b/static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.min.js b/static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.min.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.min.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-all.min.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.js b/static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.min.js b/static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.min.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.min.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload-shim.min.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.js b/static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.min.js b/static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.min.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.min.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/ng-file-upload.min.js
diff --git a/global_static/js/lib/ng-file-upload-bower-12.2.11/package.js b/static/js/lib/ng-file-upload-bower-12.2.11/package.js
similarity index 100%
rename from global_static/js/lib/ng-file-upload-bower-12.2.11/package.js
rename to static/js/lib/ng-file-upload-bower-12.2.11/package.js
diff --git a/global_static/js/lib/qrcode.js b/static/js/lib/qrcode.js
similarity index 100%
rename from global_static/js/lib/qrcode.js
rename to static/js/lib/qrcode.js
diff --git a/global_static/js/lib/qrcode_UTF8.js b/static/js/lib/qrcode_UTF8.js
similarity index 100%
rename from global_static/js/lib/qrcode_UTF8.js
rename to static/js/lib/qrcode_UTF8.js
diff --git a/global_static/js/lib/underscore-min.js b/static/js/lib/underscore-min.js
similarity index 100%
rename from global_static/js/lib/underscore-min.js
rename to static/js/lib/underscore-min.js