attendancelog/tpl/main_page.html

174 lines
7.7 KiB
HTML
Raw Normal View History

2024-11-12 13:08:43 +03:00
<div class="row-fluid">
<div class="span">
<h3 class="page-title"> Посещаемость </h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active"><a href="/modul/attendancelog/">Посещаемость</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<ul class="nav ">
2024-11-12 13:41:45 +03:00
<li class="active" ><a href="/modul/attendancelog/">Главная</a></li>
<li><a href="/modul/attendancelog/headman/">Старосты</a></li>
2024-11-12 13:08:43 +03:00
</ul>
<ul class="nav pull-right">
<li><a href="#">{$name}</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
{if $des == 'show'}
2024-11-12 13:41:45 +03:00
<a href="/modul/attendancelog/" role="button" class="btn"> Вернуться </a>
2024-11-12 13:08:43 +03:00
<div class="row-fluid">
2024-11-12 14:57:17 +03:00
<div class="span12">
2024-11-12 13:08:43 +03:00
<div class="widget blue">
<div class="widget-title">
2024-11-12 14:57:17 +03:00
<h4><i class="icon-reorder"></i> Посещение группы {$groupName} </h4>
2024-11-12 13:08:43 +03:00
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
2024-11-12 14:57:17 +03:00
<div class="tabbable custom-tab">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1_1" data-toggle="tab">Понедельник</a></li>
<li class=""><a href="#tab_1_2" data-toggle="tab">Вторник</a></li>
<li class=""><a href="#tab_1_3" data-toggle="tab">Среда</a></li>
<li class=""><a href="#tab_1_4" data-toggle="tab">Четверг</a></li>
<li class=""><a href="#tab_1_5" data-toggle="tab">Пятница</a></li>
<li class=""><a href="#tab_1_6" data-toggle="tab">Суббота</a></li>
<li class=""><a href="#tab_1_7" data-toggle="tab">Воскресенье</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_1_1">
<p>I'm in Section 1.</p>
<p>
Текст
</p>
</div>
<div class="tab-pane" id="tab_1_2">
<p>Howdy, I'm in Section 2.</p>
<p>
Текст
</p>
</div>
<div class="tab-pane" id="tab_1_3">
<p>What up girl, this is Section 3.</p>
<p>
Текст
</p>
</div>
<div class="tab-pane" id="tab_1_4">
<p>What up girl, this is Section 3.</p>
<p>
Текст
</p>
</div>
<div class="tab-pane" id="tab_1_5">
<p>What up girl, this is Section 3.</p>
<p>
Текст
</p>
</div>
<div class="tab-pane" id="tab_1_6">
<p>What up girl, this is Section 3.</p>
<p>
Текст
</p>
</div>
<div class="tab-pane" id="tab_1_7">
<p>What up girl, this is Section 3.</p>
<p>
Текст
</p>
</div>
</div>
</div>
2024-11-12 13:08:43 +03:00
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span9">
<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-striped table-bordered">
2024-11-12 14:57:17 +03:00
<caption> Студенты группы {$groupName}</caption>
2024-11-12 13:08:43 +03:00
<thead>
<tr>
<th>Номер</th>
<th>Имя</th>
</tr>
</thead>
<tbody>
{foreach from=$actionResult['students'] key=key item=name}
<tr>
<td>{$key +1 }</td>
<td>{$name}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div>
{else}
<div class="row-fluid">
2024-11-12 14:57:17 +03:00
<div class="span4">
<div class="widget yellow">
<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">
</div>
</div>
</div>
2024-11-12 13:08:43 +03:00
<div class="span8">
<div class="widget red">
<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" style="height: 40em; overflow:scroll; overflow-x:hidden;">
<table class="table table-striped table-bordered">
<caption><h4>Выберите группу для просмотра</h4> </caption>
<thead>
<tr>
<th>Название</th>
<th>Форма обучения</th>
<th>Курс</th>
</tr>
</thead>
<tbody>
{foreach from=$groups key=key item=group}
{if $key != 0}
<tr>
2024-11-12 13:41:45 +03:00
<td><a href="/modul/attendancelog/main/show/{$group['id']}/">{$group.sokr}</a></td>
2024-11-12 13:08:43 +03:00
<td>{$group['fo']}</td>
<td>{$group['kurs']}</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
2024-11-12 14:57:17 +03:00
2024-11-12 13:08:43 +03:00
</div>
{/if}