X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=templates%2Fadmin.html.ep;h=0cfb3789fbfb5342bc36bc76f4ef7c7a8a15a60c;hb=5081a5d3264e46b40d6356466046388625963b92;hp=9dc92f00d94d42b1a3fbc1bf884e741a7e7f035d;hpb=2c80be2a0aaa942954068226ead41b77d045a4ef;p=MojoFacets.git diff --git a/templates/admin.html.ep b/templates/admin.html.ep index 9dc92f0..0cfb378 100644 --- a/templates/admin.html.ep +++ b/templates/admin.html.ep @@ -1,18 +1,72 @@
-load -columns +% if ( my $datasets = stash('datasets' ) ) { +
+ +% foreach my $path ( @$datasets ) { + +% } +
+ +% } else { +<%= session('path') %> +% } + +load +columns +· items: % foreach my $show ( glob 'templates/data/items/*.html.ep' ) { % $show =~ s{^.+/([^/]+)\.html\.ep$}{$1}; % my $class = session('show') eq $show ? 'class=active' : ''; -><%= $show %> +><%= $show %> % } -% if ( my $path = session('save_path') ) { -save +% if ( $self->can('_export_path') && glob $self->_export_path('*') ) { +· +export +% } + +· +code + + +% if ( my $id = stash('nytprof.id') ) { +· +profile % } -changes + + + + + + +config +· + +changes +actions + +% my $visible_class = session('modified') ? '' : 'hide'; +% my $path = session('path'); + +· +save + + +