2013-01-11 18:49:59 -05:00
<%#
# @file
# Located at /console
# Console view has the Find/Analyze/Organize tabs, and starts mostly empty
# so it's kind of like a workspace. You can then save to map, etc.
# Emphasis is on pulling in and creating data.
#%>
2013-07-09 12:32:13 -04:00
<% content_for :title, "Console | Metamaps" %>
2013-01-04 21:39:16 -05:00
<div class="headertop">
2013-07-11 11:13:27 -04:00
<div class="tab"></div>
<button class="hidelabels" onclick="hideLabels();">Hide Labels</button>
2013-01-07 00:17:39 -05:00
<button onclick="hideSelectedEdges();hideSelectedNodes();">Hide Selected</button>
2013-03-21 21:33:42 -04:00
<button onclick="enterKeyHandler();">Keep Selected</button>
2013-01-06 18:40:48 -05:00
<% if authenticated? %>
2013-07-11 11:13:27 -04:00
<button onclick="var r=confirm('Are you sure you want to permanently delete selected objects?!'); if (r == true) {deleteSelectedEdges();deleteSelectedNodes();}">Delete Selected</button>
2013-01-06 18:40:48 -05:00
<button onclick="saveToMap();">Save to Map</button>
<% end %>
2013-01-04 21:39:16 -05:00
<button onclick='clearCanvas();'>Clear Canvas</button>
</div>
<div class="clearfloat"></div>
2013-01-06 18:40:48 -05:00
<h1 class="index">
Console
</h1>
2013-01-04 21:39:16 -05:00
<div class="maps onCanvas" id="container">
<div id="center-container">
<div id="infovis"></div>
</div>
2013-03-17 05:18:30 -04:00
<div class="showcard" id="showcard"></div>
2013-01-04 21:39:16 -05:00
</div>
<div class="clearfloat"></div>
<% if authenticated? %>
<%= render :partial => 'topics/new' %>
<%= render :partial => 'synapses/new' %>
<%= render :partial => 'maps/new' %>
<% end %>
<script>
//if (json.length > 0) {
$(document).ready(function() {
initialize("chaotic", true);
});
//}
</script>
<%= render :partial => 'find' %>
<%= render :partial => 'analyze' %>
2013-01-11 18:49:59 -05:00
<%= render :partial => 'organize' %>