63 lines
3.4 KiB
HTML
63 lines
3.4 KiB
HTML
|
<div id="page-wrap">
|
||
|
<div class="row-fluid">
|
||
|
<div class="span12">
|
||
|
<br><br><br>
|
||
|
{if $des=="show"}
|
||
|
<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">
|
||
|
<form method="post">
|
||
|
<table class="table table-bordered table-advance">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th style="30%">Подраздел</th>
|
||
|
<th style="30%">Параметр</th>
|
||
|
<th style="5%" class="alert-error">Целевой</th>
|
||
|
<th style="5%" class="alert-error">Стимулир</th>
|
||
|
<th style="5%" class="alert-info">Целевой</th>
|
||
|
<th style="5%" class="alert-info">Стимулир</th>
|
||
|
<th style="5%" class="alert-success">Целевой</th>
|
||
|
<th style="5%" class="alert-success">Стимулир</th>
|
||
|
<th style="5%" class="alert">Целевой</th>
|
||
|
<th style="5%" class="alert">Стимулир</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{assign var="razdel" value=""}
|
||
|
{foreach from=$items item=item}
|
||
|
{if $razdel!=$item.rname}<tr>
|
||
|
<td colspan="2"><strong>{$item.rname}</strong></td>
|
||
|
<td colspan="2" style="text-align:center;" class="alert-error">профессор</td>
|
||
|
<td colspan="2" style="text-align:center;" class="alert-info">доцент</td>
|
||
|
<td colspan="2" style="text-align:center;" class="alert-success">старш.препод</td>
|
||
|
<td colspan="2" style="text-align:center;" class="alert">ассис.препод</td>
|
||
|
</tr>{assign var="razdel" value=$item.rname}{/if}
|
||
|
<tr>
|
||
|
<td>{$item.iname}</td>
|
||
|
<td>{$item.ipname}</td>
|
||
|
|
||
|
<td class="alert-error"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][1][cel]" value="{$item.values[1].cel}" style="width:60px;"></td>
|
||
|
<td class="alert-error"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][1][stim]" value="{$item.values[1].stim}" style="width:60px;"></td>
|
||
|
<td class="alert-info"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][2][cel]" value="{$item.values[2].cel}" style="width:60px;"></td>
|
||
|
<td class="alert-info"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][2][stim]" value="{$item.values[2].stim}" style="width:60px;"></td>
|
||
|
<td class="alert-success"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][3][cel]" value="{$item.values[3].cel}" style="width:60px;"></td>
|
||
|
<td class="alert-success"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][3][stim]" value="{$item.values[3].stim}" style="width:60px;"></td>
|
||
|
<td class="alert"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][4][cel]" value="{$item.values[4].cel}" style="width:60px;"></td>
|
||
|
<td class="alert"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][4][stim]" value="{$item.values[4].stim}" style="width:60px;"></td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
<tr>
|
||
|
<td colspan="4"><input type="submit" name="save" value="Сохранить"></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
{/if}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|