X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=templates%2Fadmin.html.ep;h=0cfb3789fbfb5342bc36bc76f4ef7c7a8a15a60c;hb=58a90bbfcc2d9df392c4b3ec708c206dbe2e7238;hp=4e1f4315ca43b8271cf2eeb7f780450b8015c471;hpb=44f337005158ec38ec7b7df79e8eb4f2f718f153;p=MojoFacets.git
diff --git a/templates/admin.html.ep b/templates/admin.html.ep
index 4e1f431..0cfb378 100644
--- a/templates/admin.html.ep
+++ b/templates/admin.html.ep
@@ -1,24 +1,71 @@
-
load
-
columns
+% if ( my $datasets = stash('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
+·
+export
+% }
+
+·
+code
+console
+
+% if ( my $id = stash('nytprof.id') ) {
+·
+profile
% }
-edits
-changes
+
+
+
+
+
+
+config
+·
+
+changes
+actions
+
+% my $visible_class = session('modified') ? '' : 'hide';
+% my $path = session('path');
+
+·
+save
+
+