metamaps--metamaps/app/views/main/home.html.erb
2012-10-26 06:04:52 -04:00

25 lines
499 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() {
initFD();
});
</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 %>