From 898de1ffbc12b359a7dd2b0a5cf8039836db4a51 Mon Sep 17 00:00:00 2001
From: catborise <catborise@yahoo.com>
Date: Mon, 8 Jun 2020 09:15:06 +0300
Subject: [PATCH] add new file at the end of wvc-main.scss & computes url add
 slash

---
 appsettings/views.py   | 2 +-
 computes/urls.py       | 2 +-
 dev/scss/wvc-main.scss | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/appsettings/views.py b/appsettings/views.py
index eaf175d..b2ab57c 100644
--- a/appsettings/views.py
+++ b/appsettings/views.py
@@ -56,7 +56,7 @@ def appsettings(request):
 
             try:              
                 with open(sass_dir.value + "/wvc-main.scss", "w") as main:
-                    main.write(scss_var + "\n" + scss_boot + "\n" + scss_bootswatch)
+                    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:
diff --git a/computes/urls.py b/computes/urls.py
index dd66532..54f67ff 100644
--- a/computes/urls.py
+++ b/computes/urls.py
@@ -31,7 +31,7 @@ urlpatterns = [
         path('nwfilter/<str:nwfltr>/', nwfilter, name='nwfilter'),
         path('secrets/', secrets, name='secrets'),
         path('create/', create_instance_select_type, name='create_instance_select_type'),
-        path('create/archs/<str:arch>/machines/<str:machine>', create_instance, name='create_instance'),
+        path('create/archs/<str:arch>/machines/<str:machine>/', create_instance, name='create_instance'),
         path('archs/<str:arch>/machines', views.get_compute_machine_types, name='machines'),
         path('archs/<str:arch>/machines/<str:machine>/disks/<str:disk>/buses', views.get_compute_disk_buses, name='buses'),
         path('archs/<str:arch>/machines/<str:machine>/capabilities', views.get_dom_capabilities, name='domcaps'),
diff --git a/dev/scss/wvc-main.scss b/dev/scss/wvc-main.scss
index 44da71a..b85716f 100644
--- a/dev/scss/wvc-main.scss
+++ b/dev/scss/wvc-main.scss
@@ -1,3 +1,3 @@
-@import 'dev/scss//wvc-theme/flatly/variables';
-@import 'dev/scss//bootstrap-overrides.scss';
-@import 'dev/scss//wvc-theme/flatly/bootswatch';
\ No newline at end of file
+@import 'dev/scss/wvc-theme/flatly/variables';
+@import 'dev/scss/bootstrap-overrides.scss';
+@import 'dev/scss/wvc-theme/flatly/bootswatch';