Move webui code under subdir

This commit is contained in:
2011-12-31 18:36:21 +00:00
parent 5da3a614d3
commit b9f535777b
11 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
<table>
<thead>
<tr>
<th>Filename</th>
<th>Size</th>
</tr>
</thead>
<tbody>
{if $parent}
<tr>
<td><a href="{$base_uri}list/source/{$source->name()}/{$parent_path}" title="Parent Directory">../ <em>Parent Directory</em></a></td>
<td>-</td>
</tr>
{/if}
{foreach from=$files item=file}
<tr>
{if $file->isFile()}
<td>{$file->basename()}</td>
{else}
<td><a href="{$base_uri}list/source/{$source->name()}/{$path}{$file->basename()}" title="{$file->basename()}">{$file->basename()}</a></td>
{/if}
<td>{if $file->isFile()}
{$file->size()|formatFilesize}
{else}
-
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>