UI для выбора преподавателем или секретарем деканата старосты группы в системе
This commit is contained in:
parent
b3ceee1515
commit
b4345c1e55
|
@ -26,7 +26,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{if $des == 'headman_add_edit'}
|
||||
{if $des == 'add_edit'}
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<div class="widget blue">
|
||||
|
@ -40,7 +40,7 @@
|
|||
<tbody>
|
||||
{foreach from=$facult_groups key=key item=group}
|
||||
<tr>
|
||||
<td><a href="/modul/attendancelog/headman/add_edit/{$group['id']}?fo={$group['fo']}}/">{$group.sokr}</a></td>
|
||||
<td style="text-align: center"><a href="/modul/attendancelog/headman/add_edit/{$group['id']}/"> <h4>{$group.sokr}</h4></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
|
@ -49,13 +49,32 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="span9">
|
||||
{if isset($headmanPageActionResult.headman) }
|
||||
<div style="width: 100%; text-align: center"> <h3>Староста выбран(а)! <br>{$headmanPageActionResult.headman}</h3> </div>
|
||||
{/if}
|
||||
<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">
|
||||
<h2>Выберите группу для назначения старосты в системе! <div> <--</div></h2>
|
||||
<div class="widget-body" {if isset($headmanPageActionResult.headman) } style="display: none" {/if}>
|
||||
<form action="" method="post">
|
||||
<table class="table table-striped table-bordered">
|
||||
<caption><h4>{$headmanPageActionResult.current_group.sokr}</h4></caption>
|
||||
<tbody>
|
||||
{foreach from=$headmanPageActionResult.students key=user_id item=info}
|
||||
<tr>
|
||||
<td> <h5>{$info.student_name}</h5> </td>
|
||||
<td style="min-width: 30%"><h5><input type="radio" name="headman_request" value="{$user_id}" {if $info.headman == 1} checked {/if}></h5></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="" style="width: 100%; text-align: center">
|
||||
<button type="submit" class="btn btn-success"> Сделать старостой</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -74,7 +93,7 @@
|
|||
<tbody>
|
||||
{foreach from=$facult_groups key=key item=group}
|
||||
<tr>
|
||||
<td style="text-align: center"><a href="/modul/attendancelog/headman/add_edit/{$group['id']}?fo={$group['fo']}/"><h4>{$group.sokr}</h4></a></td>
|
||||
<td style="text-align: center"><a href="/modul/attendancelog/headman/add_edit/{$group['id']}/"><h4>{$group.sokr}</h4></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue