From a05e7b860a6d12be32260216129d7732f8f4a6bb Mon Sep 17 00:00:00 2001
From: "DASTUD\\sup-imcovangent" <i.vangent@tudelft.nl>
Date: Wed, 5 Sep 2018 15:59:01 +0200
Subject: [PATCH] Small updates to the server version of the KADMOS/VISTOMS
 interface.

Former-commit-id: af684035ca42cd7f5d19ad1377ff638ffd32950f
---
 kadmos/vistoms/clean_server_database.py | 2 +-
 kadmos/vistoms/templates/index.html     | 9 +++++----
 kadmos/vistoms/vistoms.py               | 4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/kadmos/vistoms/clean_server_database.py b/kadmos/vistoms/clean_server_database.py
index 2df06c98c..ace9e0d6a 100644
--- a/kadmos/vistoms/clean_server_database.py
+++ b/kadmos/vistoms/clean_server_database.py
@@ -2,7 +2,7 @@ import json
 import os
 import shutil
 
-session_catalog_folder = '/Users/imcovangent/Desktop/VISTOMS_interface_ses'
+session_catalog_folder = r'D:\websites\vistoms_interface\sessions_catalog'
 
 for file in os.listdir(session_catalog_folder):
     if os.path.splitext(file)[1] == '.json':
diff --git a/kadmos/vistoms/templates/index.html b/kadmos/vistoms/templates/index.html
index 486cfcd90..844d2f5f7 100644
--- a/kadmos/vistoms/templates/index.html
+++ b/kadmos/vistoms/templates/index.html
@@ -10,12 +10,12 @@
         </a>
     </div>
     {% include 'error.html' %}
-    <p><br><br>Here you can download some example files to use in your session:</p>
+    <p><br><br>Here you can download some example CMDOWS files to use in your session:</p>
     <div class="row">
     <div class="col-lg-4">
         <div class="panel panel-default">
             <div class="panel-heading">
-                <h3 class="panel-title">Sellar Problem</h3>
+                <h3 class="panel-title">Sellar problem CMDOWS files</h3>
             </div>
             <div class="panel-body blue list group">
                 <a href="/downloads/sellar_problem_rcg.xml" class="list-group-item">
@@ -42,7 +42,7 @@
     <div class="col-lg-4">
         <div class="panel panel-default">
             <div class="panel-heading">
-                <h3 class="panel-title">Super-sonic business jet</h3>
+                <h3 class="panel-title">Super-sonic business jet CMDOWS files</h3>
             </div>
             <div class="panel-body blue list group">
                 <a href="/downloads/ssbj_rcg.xml" class="list-group-item">
@@ -69,5 +69,6 @@
             </div>
         </div>
     </div>
+    </div>
 </div>
-{% endblock %}
+{% endblock %}
\ No newline at end of file
diff --git a/kadmos/vistoms/vistoms.py b/kadmos/vistoms/vistoms.py
index 754491c8f..7acface84 100644
--- a/kadmos/vistoms/vistoms.py
+++ b/kadmos/vistoms/vistoms.py
@@ -25,8 +25,8 @@ from kadmos.graph.mixin_vistoms import retrieve_session_folder
 app = Flask(__name__)
 
 # Folder and file settings
-SESSIONS_CATALOG_FOLDER = '/Users/imcovangent/Desktop/VISTOMS_interface_ses'
-SESSIONS_FOLDER_SERVER = '/Users/imcovangent/Desktop/VISTOMS_sessions'
+SESSIONS_CATALOG_FOLDER = r'D:\websites\vistoms_interface\sessions_catalog'
+SESSIONS_FOLDER_SERVER = r'D:\websites\vistoms_interface\session_files'
 TEMP_FILE = 'tmp'
 
 
-- 
GitLab