added an empty div at the bottom of the page containing nodes
This commit is contained in:
parent
293b3727a2
commit
abe34696da
3 changed files with 19 additions and 1 deletions
|
@ -73,10 +73,22 @@ a {
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Utility
|
||||||
|
*/
|
||||||
|
|
||||||
.clearfloat {
|
.clearfloat {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Layout stuffs
|
||||||
|
*/
|
||||||
|
|
||||||
.new_session,
|
.new_session,
|
||||||
.new_user,
|
.new_user,
|
||||||
.new_map,
|
.new_map,
|
||||||
|
|
5
app/views/layouts/_nodeinfo.html.erb
Normal file
5
app/views/layouts/_nodeinfo.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<script type="text/javascript">
|
||||||
|
//create a global array we can fill with id's of loaded nodes
|
||||||
|
var loaded_nodes = new Array();
|
||||||
|
</script>
|
||||||
|
<div id="loaded_nodes" class="hidden"></div>
|
|
@ -60,5 +60,6 @@
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= render :partial => 'layouts/ga' if Rails.env.production? %>
|
<%= render :partial => 'layouts/ga' if Rails.env.production? %>
|
||||||
|
<%= render :partial => 'layouts/nodeinfo' %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue