metamaps--metamaps/app/views/synapses/index.html.erb

29 lines
631 B
Text
Raw Normal View History

<%#
# @file
# Render all synapses, or all of a user's synapses
# Fun fact: this is Devin's favourite view!
# TODO: What URL is this?
#%>
<h1 class="index"><% if @user %><%= @user.name %>'s<% end %> Synapses</h1>
<div class="synapses" id="container">
<div id="center-container">
<div id="infovis"></div>
</div>
<div id="showcard">
</div>
2012-10-18 00:51:54 +00:00
</div>
<div class="clearfloat"></div>
<script>
json = <%= @synapsesjson %>;
$(document).ready(function() {
2012-12-14 18:31:39 +00:00
initialize("chaotic");
});
</script>
<% if authenticated? %>
<%= render :partial => 'topics/new' %>
<%= render :partial => 'synapses/new' %>
<% end %>