Added proper standalone support.

This commit is contained in:
Gunther Brunner
2014-09-24 19:38:46 +09:00
parent 7a344e7043
commit 33fad24ed4
9 changed files with 45 additions and 23 deletions

View File

@@ -0,0 +1,3 @@
.interact-control.fill-height.stf-device-control(ng-controller='DeviceControlCtrl').fill-height.fill-width
div(ng-controller='DeviceScreenCtrl', ng-if='device', ng-file-drop='installFile($files)', ng-file-drag-over-class='dragover').fill-height.fill-width
device-screen(device='device', control='control').fill-height.fill-width

View File

@@ -9,6 +9,9 @@ module.exports = angular.module('device-control', [
$templateCache.put('control-panes/device-control/device-control.jade',
require('./device-control.jade')
)
$templateCache.put('control-panes/device-control/device-control-standalone.jade',
require('./device-control-standalone.jade')
)
}])
.controller('DeviceControlCtrl', require('./device-control-controller'))
.directive('deviceControlKey', require('./device-control-key-directive'))