2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2017-03-17 12:42:10 +00:00
|
|
|
<h1 id="title">
|
|
|
|
<t>UserManagement</t>
|
|
|
|
</h1>
|
2015-11-30 16:46:24 +00:00
|
|
|
<div id="actions">
|
2017-04-07 11:00:33 +00:00
|
|
|
<htk-search-entry lot="hash" name="user"/>
|
2015-11-30 16:46:24 +00:00
|
|
|
</div>
|
2017-03-23 16:20:51 +00:00
|
|
|
<div id="main" class="users">
|
2016-12-23 08:57:49 +00:00
|
|
|
<div class="card list">
|
|
|
|
<htk-repeater form-id="iter" renderer="repeaterFunc">
|
2017-04-07 11:00:33 +00:00
|
|
|
<db-model property="model" lot="hash">
|
|
|
|
SELECT u.id, u.name, c.Cliente
|
|
|
|
FROM account.user u
|
2015-03-06 23:33:54 +00:00
|
|
|
INNER JOIN vn2008.Clientes c ON u.id = c.Id_Cliente
|
2017-04-07 11:00:33 +00:00
|
|
|
WHERE u.name LIKE CONCAT('%', #user, '%')
|
|
|
|
OR c.Cliente LIKE CONCAT('%', #user, '%')
|
|
|
|
OR u.id = #user
|
|
|
|
ORDER BY u.name LIMIT 200
|
2015-11-30 16:46:24 +00:00
|
|
|
</db-model>
|
|
|
|
<custom>
|
2016-12-23 08:57:49 +00:00
|
|
|
<a id="link" class="list-row" title="_AccessLog">
|
|
|
|
<div class="actions">
|
|
|
|
<htk-button
|
2017-04-05 14:06:07 +00:00
|
|
|
lot="iter"
|
|
|
|
name="id"
|
2016-12-23 08:57:49 +00:00
|
|
|
tip="_AccessAsUser"
|
|
|
|
icon="incognito"
|
|
|
|
on-click="onChangeUserClick"/>
|
|
|
|
</div>
|
2015-11-30 16:46:24 +00:00
|
|
|
<p class="important">
|
2017-04-05 14:06:07 +00:00
|
|
|
<htk-text lot="iter" name="Cliente"/>
|
2015-11-30 16:46:24 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2017-04-05 14:06:07 +00:00
|
|
|
<htk-text lot="iter" name="id"/> -
|
|
|
|
<htk-text lot="iter" name="name"/>
|
2015-11-30 16:46:24 +00:00
|
|
|
</p>
|
2016-12-23 08:57:49 +00:00
|
|
|
</a>
|
2015-11-30 16:46:24 +00:00
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|