EIOS/tpl/tpl_learn_polls.html

100 lines
3.3 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>
<li class="active"><a href="/learn/polls/">Опросы</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="alert alert-danger"><b>Опросник пока не работает. Идут технические работы.</b></div>
<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">
<table class="table table-striped table-bordered table-advance table-hover">
{foreach from=$crit item=cr key=k}
<thead>
<tr>
<th><h4>{$k+1}</h4></th>
<th><h4>{$cr.name}</h4></th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<table class="table">
<tr>
<th>Дисциплина</th>
<th>Преподаватель</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
<th>7</th>
<th>8</th>
<th>9</th>
<th>10</th>
<th>нет</th>
</tr>
{foreach from=$lections item=lc}
{if ({$lc.fio_pr} != '')}
<tr>
<td>{$lc.name}</td>
<td>{$lc.fio_pr}</td>
<td><input type="radio" value="1" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="2" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="3" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="4" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="5" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="6" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="7" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="8" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="9" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="10" name="{$lc.id}crit{$k+1}" /></td>
<td><input type="radio" value="0" name="{$lc.id}crit{$k+1}" checked /></td>
</tr>
{/if}
{/foreach}
</table>
</td>
</tr>
</tbody>
{/foreach}
</table>
<br />
<p align="center"><input type="submit" class="btn btn-success poll-ok" value="Завершить опрос" /></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('.poll-ok').click(function(){
alert("123");
});
});
</script>