Skip to content
Snippets Groups Projects
Commit 03c52eed authored by DASTUD\sup-imcovangent's avatar DASTUD\sup-imcovangent
Browse files

Small update and test of VISTOMS interface.

Former-commit-id: 21d26bb4462d6683c7e5b16e1ce7386c93429fd9
parent 711aadfc
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,8 @@ def interface(debug=True, tempdir=None):
# TODO: add option to add entire database in all_graph
# Start the vistoms with all_graphs
vistoms_start(all_graphs, file_dir='examples/' + example + '/VISTOMS_interactive', open_vistoms=False)
return
UPLOAD_FOLDER = 'examples/' + example + '/VISTOMS_interactive'
return render_template('VISTOMS.html', new=0, error=error, message=message)
# Info
@app.route('/info')
......
......@@ -18,7 +18,7 @@
<h3 class="panel-title">Sellar Problem</h3>
</div>
<div class="panel-body blue list group">
<a href="/examples/sellar_problem/KDMS/RCG.kdms" id="b2" class="list-group-item"
<a href="/examples/sellar_problem/KDMS" id="b2" class="list-group-item"
onclick="confirm();button('b2');undo('b1', 'b3', 'b4')">
Sellar Problem database
</a>
......@@ -31,7 +31,7 @@
<h3 class="panel-title">TU Delft wing design</h3>
</div>
<div class="panel-body blue list group">
<a href="/examples/tu_delft_wing_design/KDMS/RCG.kdms" id="b3" class="list-group-item"
<a href="/examples/tu_delft_wing_design/KDMS" id="b3" class="list-group-item"
onclick="confirm();button('b3');undo('b1', 'b2', 'b4')">
TU Delft wing design database
</a>
......@@ -44,7 +44,7 @@
<h3 class="panel-title">Super-sonic business jet</h3>
</div>
<div class="panel-body blue list group">
<a href="/examples/ssbj/KDMS/RCG.kdms" id="b4" class="list-group-item"
<a href="/examples/ssbj/KDMS" id="b4" class="list-group-item"
onclick="confirm();button('b4');undo('b1', 'b2', 'b3')">
SSBJ database
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment