hedera-web/web/forms/admin/access-log/ui.xml

82 lines
1.9 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<vn-group>
2015-10-14 11:51:43 +00:00
<vn-hash-param key="user">
<vn-param id="user"/>
</vn-hash-param>
2015-03-06 23:33:54 +00:00
<db-form id="user-form">
<db-model>
2015-03-06 23:33:54 +00:00
SELECT Id_Cliente, Cliente, Telefono, movil
FROM vn2008.Clientes WHERE Id_Cliente = #user
<sql-batch property="batch">
<item name="user" param="user"/>
</sql-batch>
</db-model>
</db-form>
</vn-group>
<div id="title">
<h1><t>AccessLog</t></h1>
</div>
2015-03-06 23:33:54 +00:00
<div id="form" class="access-log">
<div class="box">
<table class="form">
<tbody>
<tr>
<td class="label">
<label><t>UserNumber:</t></label>
</td>
<td>
<htk-text column="Id_Cliente" form="user-form"/>
2015-03-06 23:33:54 +00:00
</td>
</tr>
<tr>
<td class="label">
<label><t>User:</t></label>
</td>
<td>
<htk-text column="Cliente" form="user-form"/>
2015-03-06 23:33:54 +00:00
</td>
</tr>
<tr>
<td class="label">
<label><t>Phone:</t></label>
</td>
<td>
<htk-text column="Telefono" form="user-form"/>
2015-03-06 23:33:54 +00:00
</td>
</tr>
<tr>
<td class="label">
<label><t>Mobile:</t></label>
</td>
<td>
<htk-text column="movil" form="user-form"/>
2015-03-06 23:33:54 +00:00
</td>
</tr>
</tbody>
</table>
<div>
<htk-grid>
<db-model>
2015-03-06 23:33:54 +00:00
SELECT u.date_time, a.platform, a.browser, a.version, a.javascript, a.cookies
FROM visit_user u
JOIN visit_access c ON u.access_id = c.id
JOIN visit_agent a ON c.agent_id = a.id
WHERE u.user_id = #user
ORDER BY u.date_time DESC
LIMIT 30
<sql-batch property="batch">
<item name="user" param="user"/>
</sql-batch>
</db-model>
2015-03-09 08:36:54 +00:00
<htk-column-date title="_Access" column="date_time" format="_%a, %e %b %Y at %T"/>
<htk-column-text title="_SO" column="platform"/>
<htk-column-text title="_Browser" column="browser"/>
<htk-column-text title="_Version" column="version"/>
<htk-column-check title="_Javascript" column="javascript"/>
<htk-column-check title="_Cookies" column="cookies"/>
2015-03-06 23:33:54 +00:00
</htk-grid>
</div>
</div>
</div>
</vn>