3 <a href="<%= url_for( controller => 'data', action => 'index', id => 0 ) %>">load</a>
4 <a href="<%= url_for( controller => 'data', action => 'columns', id => 0 ) %>">columns</a>
7 % foreach my $show ( glob 'templates/data/items/*.html.ep' ) {
8 % $show =~ s{^.+/([^/]+)\.html\.ep$}{$1};
9 % my $class = session('show') eq $show ? 'class=active' : '';
10 <a href="<%= url_for( controller => 'data', action => 'items', id => $show ) %>" <%= $class %>><%= $show %></a>
13 % if ( $self->can('_export_path') && glob $self->_export_path('*') ) {
15 <a href="<%= url_for( controller => 'data', action => 'export', id => 0 ) %>">export</a>
19 <a id=code href="<%= url_for( controller => 'code', action => 'index', id => 0 ) %>">code</a>
20 <a id=console href="#" style="display:none">console</a>
22 % if ( my $id = stash('nytprof.id') ) {
24 <a href="<%= url_for( controller => 'profile', action => 'index', id => 0 ) %>">profile</a>
32 <a href="<%= url_for( controller => 'config', action => 'index', id => 0 ) %>">config</a>
35 <a href="<%= url_for( controller => 'changes', action => 'index', id => 0 ) %>">changes</a>
36 <a href="<%= url_for( controller => 'actions', action => 'index', id => 0 ) %>">actions</a>
38 % if ( session('modified') ) {
39 % my $path = session('path');
41 <a class=save_actions title="<%= $path %>" href="<%= url_for( controller => 'data', action => 'save', id => $path ) %>">save</a>