metamaps--metamaps/app/views/main/console.html.erb

44 lines
1.4 KiB
Text
Raw Normal View History

<%#
# @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.
#%>
<div class="headertop">
<button onclick="hideSelectedEdges();hideSelectedNodes();">Hide Selected</button>
2013-01-06 23:40:48 +00:00
<% if authenticated? %>
<button onclick="var r=confirm('Are you sure you want to permanently delete selected objects?!'); if (r == true) {deleteSelectedEdges();deleteSelectedNodes();}">Permanently Delete Selected</button>
2013-01-06 23:40:48 +00:00
<button onclick="saveToMap();">Save to Map</button>
<% end %>
<button onclick='clearCanvas();'>Clear Canvas</button>
</div>
<div class="clearfloat"></div>
2013-01-06 23:40:48 +00:00
<h1 class="index">
Console
</h1>
<div class="maps onCanvas" id="container">
<div id="center-container">
<div id="infovis"></div>
</div>
</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' %>
<%= render :partial => 'organize' %>