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

33 lines
704 B
Text
Raw Normal View History

<%#
# @file
# TODO: Where is this file located?
# TODO: What does this file do?
# TODO: Is this code old or in use?
# I think it shows all topics, and is deprecated. -Devin
#%>
<% unless @topic.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() {
2012-12-14 18:31:39 +00:00
initialize("chaotic");
});
</script>
<% end %>
<% if @topic.nil? %>
<p><br>Shucks, there is nothing in metamaps.<p>
<% end %>
<% if authenticated? %>
<%= render :partial => 'topics/new' %>
<%= render :partial => 'synapses/new' %>
<% end %>