EIOS/tpl/tpl_workprogram.html

65 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>
<li class="active"><a href="/learn/workprogram/">Рабочие программы</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Список всех рабочих программ </h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-down"></a>
</span>
</div>
<div class="widget-body">
{if count($lections)}
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th><i class="icon-bullhorn"></i> Дата</th>
<th class="hidden-phone"><i class="icon-question-sign"></i> Название</th>
<th><i class="icon-bookmark"></i> Описание</th>
<th><i class="icon-bookmark"></i> Файл</th>
</tr>
</thead>
<tbody>
{foreach from=$lections item=lc}
<tr>
<td>{$lc.data_u}</td>
<td class="hidden-phone"><b>{$lc.name}</b></td>
<td>{$lc.descrip}</td>
<td nowarp>{if $lc.file!=''}
{if $lc.file=="-1"}
<span class="label label-mini">заблокировано</span>
{else}
<i class="icon-file"></i> <a href="/upload/workprogram/{$lc.file}">скачать файл</a>
{/if}
{else}
<span class="label label-important label-mini">нет файла</span>
{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{/if}
</div>
</div>
</div>
</div>
</div>
</div>
</div>