EIOS/tpl/tpl_raspis.html

90 lines
4.6 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.

<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Расписание группы {$grname}</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active"><a href="/learn/raspis/">Расписание</a></li>
</ul>
</div>
</div>
<div id="page-wraper">
{if isset($message)}
<div class="row-fluid">
<div class="span12">
<div class="widget red">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Ошибка</h4>
<span class="tools"><a class="icon-chevron-down" href="javascript:;"></a></span>
</div>
<div class="widget-body">{$message}</div>
</div>
</div>
</div>
{/if}
{if isset($raspis->data)}
<div class="row-fluid">
<table class="table table-hover">
<tr>
<td style="background-color:#77808a;color:#000;width:15%;text-align:center;">Пн</td>
<td style="background-color:#f37b53;color:#000;width:15%;text-align:center;">Вт</td>
<td style="background-color:#0DAED3;color:#000;width:15%;text-align:center;">Ср</td>
<td style="background-color:#FFB400;color:#000;width:15%;text-align:center;">Чт</td>
<td style="background-color:#de577b;color:#000;width:15%;text-align:center;">Пт</td>
<td style="background-color:#9d4a9c;color:#000;width:15%;text-align:center;">Сб</td>
</tr>
</table>
</div>
<div class="row-fluid">
<div class="span6">
<div class="widget red">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Нечетная неделя</h4>
<span class="tools"><a class="icon-chevron-down" href="javascript:;"></a></span>
</div>
<div class="widget-body">
<table class="table table-hover">
<thead><tr><th>#</th><th>Время</th><th>Ауд.</th><th>Предмет</th><th>Преподаватель</th></tr></thead>
<tbody>
{foreach from=$raspis->data item=rp}{if $rp->week1=="1"}
<tr>
<td{if $rp->day1==1} style="background-color:#77808a;color:#000;" data-placement="top" data-original-title="Понедельник"{/if}{if $rp->day1==2} style="background-color:#f37b53;color:#000;" data-placement="top" data-original-title="Вторник"{/if}{if $rp->day1==3} style="background-color:#0DAED3;color:#000;" data-placement="top" data-original-title="Среда"{/if}{if $rp->day1==4} style="background-color:#FFB400;color:#000;" data-placement="top" data-original-title="Четверг"{/if}{if $rp->day1==5} style="background-color:#de577b;color:#000;" data-placement="top" data-original-title="Пятница"{/if}{if $rp->day1==6} style="background-color:#9d4a9c;color:#000;" data-placement="top" data-original-title="Суббота"{/if}>{$rp->time1}</td>
<td>{$rp->time}{if $rp->audit_urls!=''}<br><a href="{$rp->audit_urls}" target="_blank" title="{$rp->adist}">online</a>{/if}</td>
<td>{$rp->audit}</td>
<td>{$rp->predmet}</td>
<td>{$rp->prepod}</td>
</tr>
{/if}{/foreach}
</tbody></table>
</div>
</div>
</div>
<div class="span6">
<div class="widget blue">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Четная неделя</h4>
<span class="tools"><a class="icon-chevron-down" href="javascript:;"></a></span>
</div>
<div class="widget-body">
<table class="table table-hover">
<thead><tr><th>#</th><th>Время</th><th>Ауд.</th><th>Предмет</th><th>Преподаватель</th></tr></thead>
<tbody>
{foreach from=$raspis->data item=rp}{if $rp->week1=="2"}
<tr>
<td{if $rp->day1==1} style="background-color:#77808a;color:#000;" data-placement="top" data-original-title="Понедельник"{/if}{if $rp->day1==2} style="background-color:#f37b53;color:#000;" data-placement="top" data-original-title="Вторник"{/if}{if $rp->day1==3} style="background-color:#0DAED3;color:#000;" data-placement="top" data-original-title="Среда"{/if}{if $rp->day1==4} style="background-color:#FFB400;color:#000;" data-placement="top" data-original-title="Четверг"{/if}{if $rp->day1==5} style="background-color:#de577b;color:#000;" data-placement="top" data-original-title="Пятница"{/if}{if $rp->day1==6} style="background-color:#9d4a9c;color:#000;" data-placement="top" data-original-title="Суббота"{/if}>{$rp->time1}</td>
<td>{$rp->time}{if $rp->audit_urls!=''}<br><a href="{$rp->audit_urls}" target="_blank" title="{$rp->adist}">online</a>{/if}</td>
<td>{$rp->audit}</td>
<td>{$rp->predmet}</td>
<td>{$rp->prepod}</td>
</tr>
{/if}{/foreach}
</tbody></table>
</div>
</div>
</div>
</div>
{/if}
</div>