2012-12-25 18:29:20 -05:00
|
|
|
<h1 class="index"><% if @user %><%= @user.name %>'s<% end %> Synapses</h1>
|
|
|
|
|
2012-10-26 06:04:52 -04:00
|
|
|
<div class="synapses" id="container">
|
|
|
|
<div id="center-container">
|
|
|
|
<div id="infovis"></div>
|
|
|
|
</div>
|
|
|
|
<div id="showcard">
|
|
|
|
</div>
|
2012-10-17 20:51:54 -04:00
|
|
|
</div>
|
|
|
|
<div class="clearfloat"></div>
|
2012-10-26 06:04:52 -04:00
|
|
|
|
|
|
|
<script>
|
|
|
|
json = <%= @synapsesjson %>;
|
|
|
|
$(document).ready(function() {
|
2012-12-14 13:31:39 -05:00
|
|
|
initialize("chaotic");
|
2012-10-26 06:04:52 -04:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<% if authenticated? %>
|
2013-01-01 17:45:35 -05:00
|
|
|
<%= render :partial => 'topics/new' %>
|
2012-10-26 06:04:52 -04:00
|
|
|
<%= render :partial => 'synapses/new' %>
|
|
|
|
<% end %>
|