EIOS/tpl/tpl_rejt_admincelpoknr.html

68 lines
4.1 KiB
HTML
Raw Permalink 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 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="25%">Подраздел</th>
<th style="25%">Параметр</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>
<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>
<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>
<td class="alert"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][5][cel]" value="{$item.values[5].cel}" style="width:60px;"></td>
<td class="alert"><input type="text" class="form-control" name="value[{$item.rid}_{$item.iid}_{$item.ipid}][5][stim]" value="{$item.values[5].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>