Оптимизация UI

This commit is contained in:
RomanGolienko 2024-12-17 13:11:51 +03:00
parent 980b761c4b
commit 2badc08f97
1 changed files with 5 additions and 5 deletions

View File

@ -50,20 +50,20 @@
</div> </div>
<div class="span9"> <div class="span9">
{if isset($headmanPageActionResult.headman) } {if isset($headmanPageActionResult.headman) }
<div style="width: 100%; text-align: center"> <h3>Староста выбран(а)! <br>{$headmanPageActionResult.headman}</h3> </div> <div class="alert alert-info"> <button class="close" data-dismiss="alert">×</button> <h3>Староста уже выбран(а)! - <strong> {$headmanPageActionResult.headman}</strong></h3> </div>
{/if} {/if}
<div class="widget blue"> <div class="widget blue">
<div class="widget-title"> <div class="widget-title">
<h4><i class="icon-reorder"></i> Назначить старосту </h4> <h4><i class="icon-reorder"></i> Назначить старосту </h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span> <span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div> </div>
<div class="widget-body" {if isset($headmanPageActionResult.headman) } style="display: none" {/if}> <div class="widget-body">
<form action="" method="post"> <form action="" method="post">
<table class="table table-striped table-bordered"> <table class="table table-bordered">
<caption><h4>{$headmanPageActionResult.current_group.sokr}</h4></caption> <caption><h4>{$headmanPageActionResult.current_group.sokr}</h4></caption>
<tbody> <tbody>
{foreach from=$headmanPageActionResult.students key=user_id item=info} {foreach from=$headmanPageActionResult.students key=user_id item=info}
<tr> <tr {if $info.headman == 1} style="color: #468847; background-color: #dff0d8;" {/if}>
<td> <h5>{$info.student_name}</h5> </td> <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> <td style="min-width: 30%"><h5><input type="radio" name="headman_request" value="{$user_id}" {if $info.headman == 1} checked {/if}></h5></td>
</tr> </tr>
@ -108,7 +108,7 @@
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span> <span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div> </div>
<div class="widget-body"> <div class="widget-body">
<h2>Выберите группу для назначения старосты в системе! <div> <--</div></h2> <h2>Выберите группу для назначения старосты в системе! </h2>
</div> </div>
</div> </div>
</div> </div>