X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=templates%2Fadmin.html.ep;h=bf92a6adfb7f4e5d8c6e79b29a7a10be49da6d9a;hb=add6d343a92cd01879d1d822bf78bb9a4a3ae8ff;hp=a8f9526d2ec0192fc8fac1fdae55fac4b16d9d63;hpb=4f1b2fd2f45b995eab30447c050dac748a54b2d3;p=MojoFacets.git diff --git a/templates/admin.html.ep b/templates/admin.html.ep index a8f9526..bf92a6a 100644 --- a/templates/admin.html.ep +++ b/templates/admin.html.ep @@ -1,16 +1,36 @@
-load -columns +load +columns +· items: % foreach my $show ( glob 'templates/data/items/*.html.ep' ) { % $show =~ s{^.+/([^/]+)\.html\.ep$}{$1}; -% if ( session('show') eq $show ) { -<%= $show %> -% } else { -<%= $show %> -% } +% my $class = session('show') eq $show ? 'class=active' : ''; +><%= $show %> % } +% if ( $self->can('_export_path') && glob $self->_export_path('*') ) { +· +export +% } + + + + + + +config +· + +changes +actions + +% if ( session('modified') ) { +% my $path = session('path'); +save +% } + +