EIOS/tpl/tpl_health_vaccine_list.html

94 lines
2.8 KiB
HTML
Raw Normal View History

2023-12-28 15:39:22 +03:00
<!-- 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=$faculties item=fac key=k}{if ($fac.view == 1)}
<div class="row-fluid">
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> {$fac.name}</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-down"></a>
</span>
</div>
<div class="widget-body">
{foreach from=$fac.grupps item=gr key=k2}
<h4>{$gr.sokr} {$gr.fo} <sup>({$gr.vac} из {$gr.count} студ. <font color="red"><b>~{($gr.vac/$gr.count*100)|ceil}%</b></font>)</sup></h4>
<table class="table table-bordered">
<tr>
<th></th>
<th>ФИО</th>
<th>Информация</th>
<th>Документ</th>
</tr>
{foreach from=$gr.students item=stud key=k}
<tr>
<td>{$k+1}</td>
<td>{$stud.user.fio}</td>
<td><b>{$stud.is_vac}</b><br />({$stud.date_vac} - {$stud.date_end})</td>
<td><a href="/{$stud.sertificat}">Скачать</a></td>
</tr>
{/foreach}
</table>
{/foreach}
<h5><font color="blue">Общая статистика: {$fac.all_vac} из {$fac.all_count} студ.; <b>~{($fac.all_vac/$fac.all_count*100)|ceil}%</b></font></h5>
</div>
</div>
</div>
{/if}{/foreach}
<div class="row-fluid">
<div class="widget blue">
<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">
<table class="table table-bordered">
<tr>
<th></th>
<th>Факультет</th>
<th>Всего студентов</th>
<th>ОФО</th>
<th>ЗФО</th>
<th>ОЗФО</th>
</tr>
{foreach from=$faculties item=fac key=k}{if ($fac.all_vac>0)}
<tr>
<td>{$k+1}</td>
<td>{$fac.name}</td>
<td>{$fac.all_vac}/{$fac.all_count} (<b>~{($fac.all_vac/$fac.all_count*100)|ceil}%</b>)</td>
<td>{if ($fac.ofo_count > 0)}{$fac.ofo_vac}/{$fac.ofo_count} (<b>~{($fac.ofo_vac/$fac.ofo_count*100)|ceil}%</b>){/if}</td>
<td>{if ($fac.zfo_count > 0)}{$fac.zfo_vac}/{$fac.zfo_count} (<b>~{($fac.zfo_vac/$fac.zfo_count*100)|ceil}%</b>){/if}</td>
<td>{if ($fac.ozfo_count > 0)}{$fac.ozfo_vac}/{$fac.ozfo_count} (<b>~{($fac.ozfo_vac/$fac.ozfo_count*100)|ceil}%</b>){/if}</td>
</tr>
{/if}{/foreach}
</table>
</div>
</div>
</div>
</div>
</div>
</div>