Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ WSGIScriptAlias / /path_to_GraphSpace/graphspace/wsgi.py
</Files>
</Directory>

Alias /static/ /path_to_GraphSpace/graphs/static/
Alias /static/ /path_to_GraphSpace/static/

<Directory /path_to_GraphSpace/graphs/static/>
<Directory /path_to_GraphSpace/static/>
Require all granted
</Directory>

Expand Down
3 changes: 0 additions & 3 deletions static/js/graphs_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,6 @@ var graphPage = {
});

$('#saveLayoutBtn').click(function () {

cytoscapeGraph.showGraphInformation(graphPage.cyGraph);

graphPage.saveLayout($('#saveLayoutNameInput').val(), '#saveLayoutModal');
});

Expand Down
6 changes: 6 additions & 0 deletions templates/graph/default_sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@
Change Layout
</a>
</li>

{% if uid %}
<li>
<a id="saveLayoutEditorBtn" class="btn sidebar-nav-pills" href="#" data-target="#defaultSideBar">
Save Layout
</a>
</li>
<li>
<a id="layoutEditorBtn" class="btn sidebar-nav-pills" href="#editor" data-target="#layoutEditorSideBar">
<i class="fa fa-pencil-square-o fa-lg"></i> Use Layout <br> Editor
Expand Down
5 changes: 3 additions & 2 deletions templates/graph/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ <h4 class="modal-title" id="myModalLabel">Save Layout</h4>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Save Layout</h4>
<h4 class="modal-title" id="myModalLabel">Save Positions and Style</h4>
<h6 class="modal-title" id="myModalLabel">Save the current x- and y-coordinates of every node and the style attributes of every node and edge</h6>
</div>
<div class="modal-body">

Expand All @@ -129,7 +130,7 @@ <h4 class="modal-title" id="myModalLabel">Save Layout</h4>
<br>
<div class="form-group">
<button name="saveLayoutBtn" id="saveLayoutBtn"
class="btn btn-success sidebar-nav-pills" data-target="#layoutEditorSideBar">Save
class="btn btn-success sidebar-nav-pills" data-target="#defaultSideBar">Save
</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
Expand Down