Update new analytics components.

revert-dabc3590
charithag 9 years ago
parent cfbc36ff2d
commit 03c4768e7d

@ -18,7 +18,7 @@
function onRequest(context) {
var deviceType = context.uriParams.deviceType;
var deviceId = request.getParameter("id");
var deviceId = request.getParameter("deviceId");
if (deviceType != null && deviceType != undefined && deviceId != null && deviceId != undefined) {
var deviceModule = require("/app/modules/device.js").deviceModule;

@ -1,4 +1,3 @@
{{#zone "topCss"}}
{{css "css/graph.css"}}
{{/zone}}
@ -17,7 +16,7 @@
</div>
</div>
<a class="padding-left"
href="{{@app.context}}/device/analytics/{{device.type}}?id={{device.deviceIdentifier}}&deviceName={{device.name}}">
href="{{@app.context}}/device/{{device.type}}/analytics?deviceId={{device.deviceIdentifier}}&deviceName={{device.name}}">
<span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-statistics fw-stack-1x"></i>

Loading…
Cancel
Save