EIOS/tpl/tpl_learn_ocenki.html

101 lines
4.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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/ocenki/">Обучение - Оценки</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
{if $regim=='ocenki_view'}
{if count($liquidation)}
<div class="widget red">
<div class="widget-title">
<h4>Выполнение учебного плана</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
<table class="table table-striped table-bordered table-advance table-hover">
{foreach from=$liquidation item=liq}
<thead><tr>
<th>#{$liq.pp}. {$liq.name} <br /><a href="/pm/writeuser/{$liq.id_teacher}/" class="badge badge-warning" style="color: white;">Написать преподавателю</a></th>
<th style="text-align: center;">Дата сдачи</th>
<th style="text-align: center;">Отметка</th>
</tr></thead>
<tbody><tr>
<td>
<b>{$liq.type} ({$liq.iup})</b><br />
Семестр: {$liq.semestr} <br />
Форма контроля: {$liq.control} <br />
Преподаватель: {$liq.teacher.fio} <br />
Выдано: {$liq.date_create}<br />
Действительно до {$liq.date_end}
</td>
<td width="10%">{if $liq.date_mark == '01.01.1970'} НЕТ {else}{$liq.date_mark}{/if}</td>
<td width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #f8ffd1;">{$liq.mark}</td>
</tr></tbody>
{/foreach}
</table>
</div>
</div>
{/if}
{if count($ocenki)}
<div class="widget orange">
<div class="widget-title">
<h4>Ваши оценки</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
<span class="display-phone" style="font-weight: bold;">
<span style="color: #006400;">Зеленым цветом</span> выделены обычные оценки; <br />
<span style="color: #FFD700;">желтым</span> - модульные; <br />
<span style="color: #8B0000;">красным</span> - итоговые.
</span>
<table class="table table-striped table-bordered table-advance table-hover">
<thead><tr>
<th>Дисциплина</th>
<!--th>Специальность</th-->
<th class="hidden-phone">Курс/Семестр</th>
<th class="hidden-phone">Тип</th>
<th class="hidden-phone" style="text-align: center;">Успеваемость</th>
<th class="hidden-phone" style="text-align: center;"><!--Текущая оценка (модуль)--> Модуль</th>
<th class="hidden-phone" style="text-align: center;"><!--Промежуточная оценка (зачет,экзамен)--> Зачет/Экзамен</th>
<th class="display-phone" style="text-align: center;">Успеваемость</th>
</tr></thead>
<tbody>
{foreach from=$ocenki item=oc}
<tr>
<td><b>{$oc.name}</b>{if $oc.type!="lection"}<br /> <i>({$oc.descrip})</i>{/if}</td>
<!--td>{$oc.specialnost}</td-->
<td class="hidden-phone">{$oc.kurs}-{$oc.semestr}</td>
<td class="hidden-phone">{if $oc.type=="lection"}Лекция{/if}{if $oc.type=="practich"}Практическая{/if}{if $oc.type=="controln"}Контрольная{/if}</td>
<td class="hidden-phone" width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #d1ffea;">{if $oc.type!="lection"}{$oc.oc[2]}{/if}</td>
<td class="hidden-phone" width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #f8ffd1;">{$oc.oc[1]}</td>
<td class="hidden-phone" width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #ffd1d1;">{if $oc.type=="lection"}{$oc.oc[2]}{/if}</td>
<td class="display-phone" style="text-align: center; font-size: 14px; font-weight: bold;">
{if $oc.oc[2]!=""}{if $oc.type!="lection"}<span style="background: #006400; color: white; padding: 5px; margin: 5px;"> {$oc.oc[2]}</span> <br /><br />{/if}{/if}
{if $oc.oc[1]!=""}<span style="background: #FFD700; color: black; padding: 5px; margin: 5px;"> {$oc.oc[1]}</span> <br /><br />{/if}
{if $oc.oc[2]!=""}{if $oc.type=="lection"}<span style="background: #8B0000; color: white; padding: 5px; margin: 5px;"> {$oc.oc[2]}</span> {/if}{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
{/if}
</div>
</div>
</div>