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

57 lines
1.3 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<vn-group>
<db-form id="user-form">
2017-04-07 11:00:33 +00:00
<db-model property="model" lot="hash">
SELECT Id_Cliente, Cliente, Telefono, movil
FROM vn2008.Clientes WHERE Id_Cliente = #user
2015-03-06 23:33:54 +00:00
</db-model>
</db-form>
</vn-group>
2017-03-17 12:42:10 +00:00
<h1 id="title">
<t>AccessLog</t>
</h1>
2017-03-23 16:20:51 +00:00
<div id="main" class="access-log">
2016-12-23 08:57:49 +00:00
<div class="card form">
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="user-form" name="Id_Cliente"/>
2016-12-23 08:57:49 +00:00
</p>
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="user-form" name="Cliente"/>
2016-12-23 08:57:49 +00:00
</p>
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="user-form" name="Telefono"/>
2016-12-23 08:57:49 +00:00
</p>
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="user-form" name="movil"/>
2016-12-23 08:57:49 +00:00
</p>
2015-12-02 17:26:58 +00:00
</div>
2016-12-23 08:57:49 +00:00
<div class="card">
2015-03-06 23:33:54 +00:00
<div>
2015-12-02 17:26:58 +00:00
<htk-repeater form-id="iter">
2017-04-07 11:00:33 +00:00
<db-model property="model" lot="hash">
SELECT u.stamp, a.platform, a.browser, a.version, a.javascript, a.cookies
FROM visitUser u
JOIN visitAccess c ON c.id = u.access
JOIN visitAgent a ON a.id = c.agent
WHERE u.user = #user
ORDER BY u.stamp DESC
LIMIT 8
2015-03-06 23:33:54 +00:00
</db-model>
2015-12-02 17:26:58 +00:00
<custom>
2016-12-23 08:57:49 +00:00
<div class="list-row">
2015-12-02 17:26:58 +00:00
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="iter" name="stamp" format="_%a, %e %b %Y at %T"/>
2015-12-02 17:26:58 +00:00
</p>
<p>
2017-04-05 14:06:07 +00:00
<htk-text lot="iter" name="platform"/> -
<htk-text lot="iter" name="browser"/>
<htk-text lot="iter" name="version"/>
2015-12-02 17:26:58 +00:00
</p>
</div>
2015-12-02 17:26:58 +00:00
</custom>
</htk-repeater>
2015-03-06 23:33:54 +00:00
</div>
</div>
</div>
</vn>