metamaps--metamaps/app/views/main/metamap.html.erb
2012-12-14 13:31:39 -05:00

25 lines
512 B
Text

<% unless @item.nil? %>
<div class="home" id="container">
<div id="center-container">
<div id="infovis"></div>
</div>
<div id="showcard">
</div>
</div>
<div class="clearfloat"></div>
<script>
json = <%= @alljson %>;
$(document).ready(function() {
initialize("chaotic");
});
</script>
<% end %>
<% if @item.nil? %>
<p><br>Shucks, there is nothing in metamaps.<p>
<% end %>
<% if authenticated? %>
<%= render :partial => 'items/new' %>
<%= render :partial => 'synapses/new' %>
<% end %>