60 lines
1.9 KiB
HTML
60 lines
1.9 KiB
HTML
<!-- BEGIN PAGE HEADER-->
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<h3 class="page-title">Загруженные файлы в системе</h3>
|
|
<ul class="breadcrumb">
|
|
<li><a href="/">Главная</a><span class="divider">/</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
|
|
{foreach from=$files key=k item=file}
|
|
{if ($file.is == "dir")}
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div class="row-fluid">
|
|
<div class="widget blue">
|
|
<div class="widget-title">
|
|
<h4><i class="icon-reorder"></i> {$file.name} <span class="badge badge-{$file.dircolor}">{$file.dirsize}</span></h4>
|
|
<span class="tools"><a href="javascript:;" class="icon-chevron-up"></a></span>
|
|
</div>
|
|
<div class="widget-body" style="display: none;">
|
|
|
|
{foreach from=$file.dir key=k2 item=file2}
|
|
{if ($file2.is == "dir")}
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div class="row-fluid">
|
|
<div class="widget purple">
|
|
<div class="widget-title">
|
|
<h4><i class="icon-reorder"></i> {$file2.name} <span class="badge badge-{$file2.dircolor}">{$file2.dirsize}</span></h4>
|
|
<span class="tools"><a href="javascript:;" class="icon-chevron-up"></a></span>
|
|
</div>
|
|
<div class="widget-body" style="display: none;">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{else}
|
|
<p>{$file2.name} <span class="badge badge-{$file2.filecolor}">{$file2.filesize}</span> <span class="badge badge-info">{$file2.filemtime}</span></p>
|
|
{/if}
|
|
{/foreach}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{else}
|
|
<p>{$file.name} <span class="badge badge-{$file.filecolor}">{$file.filesize}</span> <span class="badge badge-info">{$file.filemtime}</span></p>
|
|
{/if}
|
|
{/foreach}
|
|
|
|
</div>
|
|
</div>
|