2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2015-12-02 17:26:58 +00:00
|
|
|
<vn-param id="user"/>
|
|
|
|
<vn-hash-param key="user" param="user"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
<db-form id="user-form">
|
2015-12-02 17:26:58 +00:00
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
|
|
|
SELECT Id_Cliente, Cliente, Telefono, movil
|
|
|
|
FROM vn2008.Clientes WHERE Id_Cliente = #user
|
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
<sql-batch property="batch">
|
2015-12-02 17:26:58 +00:00
|
|
|
<custom>
|
|
|
|
<item name="user" param="user"/>
|
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
</vn-group>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>AccessLog</t></h1>
|
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="access-log">
|
2016-12-23 08:57:49 +00:00
|
|
|
<div class="card form">
|
|
|
|
<p>
|
|
|
|
<htk-text form="user-form" column="Id_Cliente"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<htk-text form="user-form" column="Cliente"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<htk-text form="user-form" column="Telefono"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<htk-text form="user-form" column="movil"/>
|
|
|
|
</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">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
2016-10-15 18:58:30 +00:00
|
|
|
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-12-02 17:26:58 +00:00
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
<sql-batch property="batch">
|
2015-12-02 17:26:58 +00:00
|
|
|
<custom>
|
|
|
|
<item name="user" param="user"/>
|
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
</sql-batch>
|
|
|
|
</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>
|
2016-10-15 18:58:30 +00:00
|
|
|
<htk-text form="iter" column="stamp" format="_%a, %e %b %Y at %T"/>
|
2015-12-02 17:26:58 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2016-01-10 13:10:51 +00:00
|
|
|
<htk-text form="iter" column="platform"/> -
|
2015-12-02 17:26:58 +00:00
|
|
|
<htk-text form="iter" column="browser"/>
|
|
|
|
<htk-text form="iter" column="version"/>
|
|
|
|
</p>
|
2016-10-15 18:58:30 +00:00
|
|
|
</div>
|
2015-12-02 17:26:58 +00:00
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|