0
1
Fork 0
hedera-web-mindshore/forms/admin/users/ui.xml

55 lines
1.3 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<vn-group>
<vn-param id="user-name"/>
<vn-hash-param key="user" param="user-name"/>
</vn-group>
2017-03-17 12:42:10 +00:00
<h1 id="title">
<t>UserManagement</t>
</h1>
<div id="actions">
<htk-search-entry
param="user-name"/>
</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">
<db-model property="model">
<custom>
2015-03-06 23:33:54 +00:00
SELECT u.id, u.name, c.Cliente
FROM account.user u
INNER JOIN vn2008.Clientes c ON u.id = c.Id_Cliente
WHERE u.name LIKE CONCAT('%', #user, '%')
OR c.Cliente LIKE CONCAT('%', #user, '%')
OR u.id = #user
ORDER BY u.name LIMIT 200
</custom>
<sql-batch property="batch">
<custom>
2015-03-06 23:33:54 +00:00
<item name="user" param="user-name"/>
</custom>
</sql-batch>
</db-model>
<custom>
2016-12-23 08:57:49 +00:00
<a id="link" class="list-row" title="_AccessLog">
<div class="actions">
<htk-button
form="iter"
column="id"
tip="_AccessAsUser"
icon="incognito"
on-click="onChangeUserClick"/>
</div>
<p class="important">
<htk-text form="iter" column="Cliente"/>
</p>
<p>
<htk-text form="iter" column="id"/> -
<htk-text form="iter" column="name"/>
</p>
2016-12-23 08:57:49 +00:00
</a>
</custom>
</htk-repeater>
2015-03-06 23:33:54 +00:00
</div>
</div>
</vn>