Ensure that all API calls and static resources are in their own unique paths. This makes it easier to add a load balancer on top of everything.

This commit is contained in:
Simo Kinnunen
2014-07-14 17:09:50 +09:00
parent 7da3c91289
commit 1d77d8c97d
34 changed files with 37 additions and 36 deletions

View File

@@ -20,7 +20,7 @@
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
p
.device-small-image
img(ng-src='/static/devices/icon/x24/{{ device.image || "E30HT.jpg" }}')
img(ng-src='/static/app/devices/icon/x24/{{ device.image || "E30HT.jpg" }}')
span.device-name-text {{ device.name }}
span.caret(ng-show='groupDevices.length > 0')
//span(ng-show='device && !device.present', translate) (Absent)
@@ -29,7 +29,7 @@
li(ng-repeat='groupDevice in groupDevices')
a(ng-click='controlDevice(groupDevice); $event.stopPropagation()')
.device-small-image
img(ng-src='/static/devices/icon/x24/{{ groupDevice.image || "E30HT.jpg" }}')
img(ng-src='/static/app/devices/icon/x24/{{ groupDevice.image || "E30HT.jpg" }}')
span(ng-class='{"current-device": groupDevice.serial === device.serial }') {{ groupDevice.name }}
span.pull-right(ng-click='kickDevice(groupDevice); $event.stopPropagation()').kick-device