X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=templates%2Fadmin.html.ep;h=e76d655a55e8ea13a5a82a72bf576f3dfddabcee;hb=3f3daca0cd5b9caf19daf34acc529922110d2db0;hp=4e1f4315ca43b8271cf2eeb7f780450b8015c471;hpb=88a9cd15dbf2667759e2a0d2e3cc040255ec2ba8;p=MojoFacets.git
diff --git a/templates/admin.html.ep b/templates/admin.html.ep
index 4e1f431..e76d655 100644
--- a/templates/admin.html.ep
+++ b/templates/admin.html.ep
@@ -1,24 +1,69 @@
-
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 ( $self->can('_export_path') && glob $self->_export_path('*') ) {
+·
+
export
% }
-
+·
+code
+console
-% if ( my $path = session('save_path') ) {
-save
+% if ( my $id = stash('nytprof.id') ) {
+·
+profile
% }
-% if ( $self->can('_export_path') && glob $self->_export_path('*') ) {
-export
+
+
+
+
+
+
+config
+·
+
+changes
+actions
+
+% if ( session('modified') ) {
+% my $path = session('path');
+·
+save
% }
-edits
-changes