Sha256: a5340621dce0586d3631160f3e1b82234373906deab307d3fbbd6b7bc735bd90
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
<%= partial :crumbs %> <div id="actions"> <a class="prevPage">« back</a> <a class="nextPage">more »</a> </div> <div class="scrollable vertical"> <div class="items"> <% @db.collection_names.sort{ |a,b| a <=> b }.each do |cltn|%> <div class="item" rel="#details" href="/show_cltn/<%=cltn%>"> <img class="tag" src="/images/mongo.png"/> <p><%= cltn %></p> <span><%= @db[cltn].count%> rows</span> </div> <% end %> </div> </div> <div class="overlay" id="details"> <div class="content"></div> </div> <script> $( function() { $("div.item[rel]").overlay( { expose: '#434343', onBeforeLoad: function() { $.ajax( { url: this.getTrigger().attr( 'href' ), dataType:'script', type:'GET' } ); } }) $("div.scrollable").scrollable({ vertical:true, size: 5 }).mousewheel(); $("div.item").hover( function() { $(this).addClass( "selected" ) }, function() { $(this).removeClass( "selected" ) } ); }) </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo3-0.0.2 | lib/views/collection.erb |
mongo3-0.0.1 | lib/views/collection.erb |