2 <h2>Select data file to load</h2>
4 <form method=post action=/data/load >
7 <tr><th>name</th><th title="on disk">bytes</th><th title="loaded in memory">m</th><th>columns</th></tr>
8 % foreach my $n ( @$files ) {
11 <input name=path type=radio value="<%= $n %>" <%= session('path') eq $n ? 'disabled' : '' %>>
14 </td><td align=right><%= $size->{$n} %>
15 </td><td><input name=paths type=checkbox value="<%= $n %>" <%= defined $loaded->{$n}->{stats} ? 'checked' : '' %>>
17 % if ( defined $loaded->{$n}->{header} ) {
18 % foreach my $n ( @{ $loaded->{$n}->{header} } ) {
19 <span class="c <%== $filters->{$n} ? 'f' : '' %>"><%= $n %></span>
26 <input type=submit value="Load">
28 <pre class=debug><%= dumper $loaded %></pre>
29 <pre class=debug><%= dumper $filters %></pre>