virt2/api/mod/users_baza.html

40 lines
904 B
HTML
Executable File

{include file=$header h1="Пользователи базы" title="Пользователи базы"}
<button type="button" data-link="/user_edit/" class="btn btn-outline-success"><i class="fa fa-plus" aria-hidden="true"></i></button>
<table class="table">
{section name=customer loop=$res}
{if $res[customer].id}
<tr id="tr_{$res[customer].id}">
<td><a href="/user_edit/{$res[customer].id}">{$res[customer].fam}</a></td>
<td>{$res[customer].email}</td>
<td>{$res[customer].filial}</td><td>
<div class="btn-group">
<button type="button" class="btn btn-outline-success">{$res[customer].dostup}</button>
<button type="button" class="btn btn-outline-success del" data-ajax="/act/users_baza" data-txt="{$res[customer].id}"><i class="fa fa-trash" aria-hidden="true"></i>
</button>
</div>
</td></tr>
{/if}
{/section}
</table>
{include file=$footer}