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

26 lines
499 B
Text
Raw Normal View History

2012-10-19 04:06:16 +00:00
<% unless @item.nil? %>
<div class="home" id="container">
2012-10-19 04:06:16 +00:00
<div id="center-container">
<div id="infovis"></div>
</div>
<div id="showcard">
</div>
2012-09-23 02:39:12 +00:00
</div>
<div class="clearfloat"></div>
2012-10-19 04:06:16 +00:00
<script>
json = <%= @alljson %>;
$(document).ready(function() {
initFD();
2012-10-19 04:06:16 +00:00
});
</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 %>