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

59 lines
1.4 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>
<div id="title">
2017-11-27 15:27:13 +00:00
<h1><t>User management</t></h1>
</div>
<div id="actions">
<htk-search-entry
param="user-name"/>
</div>
2015-03-06 23:33:54 +00:00
<div id="form" class="users">
<div class="box">
2017-11-27 15:27:13 +00:00
<htk-repeater form-id="iter" renderer="rendererFunc">
<db-model property="model">
<custom>
2017-11-27 13:53:38 +00:00
SELECT u.id, u.name, u.nickname, u.active
2015-03-06 23:33:54 +00:00
FROM account.user u
WHERE u.name LIKE CONCAT('%', #user, '%')
OR u.nickname LIKE CONCAT('%', #user, '%')
2015-03-06 23:33:54 +00:00
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>
<div class="users-box">
<htk-button
2022-05-21 21:31:56 +00:00
icon="history"
2022-05-24 21:11:12 +00:00
tip="_Access log"
on-click="this.onAccessLogClick(iter.id)"/>
<htk-button
2017-11-27 15:27:13 +00:00
id="impersonate"
2022-05-21 21:31:56 +00:00
icon="supervisor_account"
2022-05-24 21:11:12 +00:00
tip="_Impersonate user"
on-click="this.onChangeUserClick(iter.name)"/>
2017-11-27 15:27:13 +00:00
<span id="disabled" class="disabled">
<t>Disabled</t>
</span>
<p class="important">
<htk-text form="iter" column="nickname"/>
</p>
<p>
2022-05-09 13:52:29 +00:00
#<htk-text form="iter" column="id"/> -
<htk-text form="iter" column="name"/>
</p>
<div class="clear"/>
</div>
</custom>
</htk-repeater>
2015-03-06 23:33:54 +00:00
</div>
</div>
</vn>