2 <h2>Select data file to load</h2>
4 <form method=post action=/data/load >
7 <tr><th>name</th><th>bytes</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 <%= join("\n",@{ $loaded->{$n}->{header} }) %>
24 <input type=submit value="Load">
26 <pre class=debug><%= dumper $loaded %></pre>