diff options
Diffstat (limited to 'web/views/test/potlatch/categories.erb')
-rw-r--r-- | web/views/test/potlatch/categories.erb | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/web/views/test/potlatch/categories.erb b/web/views/test/potlatch/categories.erb deleted file mode 100644 index 97725a3..0000000 --- a/web/views/test/potlatch/categories.erb +++ /dev/null @@ -1,36 +0,0 @@ -<h1><img src="/img/sources/potlatch.32.png" alt="" title="Potlatch"/> Potlatch</h1> - -<table class="drilldown"><tr> - <th><h2>➊ Categories</h2></th> - <th></th> - <th><h2>➋ Features</h2></th> - <th></th> - <th><h2>➌ Feature</h2></th> -</tr><tr> - <td class="content" id="categories"> - <% @categories.each do |row| %> - <div> <a href="/test/potlatch/categories#<%= escape row['id'] %>"><%= row['name'] %></a></div> - <% end %> - </div> - <td class="arrow">❱</td> - <td class="content" id="features"></td> - <td class="arrow">❱</td> - <td class="content" id="feature"></td> -</tr></table> - -<script type="text/javascript"> - -jQuery('#categories a').bind('click', function() { - jQuery('#categories div').removeClass('current'); - jQuery(this).parent().addClass('current'); - jQuery('#feature').html(''); - jQuery.ajax({ - url: this.href.replace(/#/, '/'), - success: function(html) { - jQuery('#features').html(html); - } - }); - return false; -}); - -</script> |