a8f9526d2ec0192fc8fac1fdae55fac4b16d9d63
[MojoFacets.git] / templates / admin.html.ep
1 <div class=admin>
2
3 <a href="<%= url_for( action => 'index' ) %>">load</a>
4 <a href="<%= url_for( action => 'columns' ) %>">columns</a>
5 items:
6 % foreach my $show ( glob 'templates/data/items/*.html.ep' ) {
7 %  $show =~ s{^.+/([^/]+)\.html\.ep$}{$1};
8 %  if ( session('show') eq $show ) {
9 <%= $show %>
10 %  } else {
11 <a href="<%= url_for( action => 'items' )->query( show => $show ) %>"><%= $show %></a>
12 %  }
13 % }
14
15 </div>
16