mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 00:35:15 +02:00
Added Remote Debug UI.
This commit is contained in:
@@ -3,4 +3,10 @@ require('./remote-debug.css')
|
||||
module.exports = angular.module('stf.remote-debug', [
|
||||
|
||||
])
|
||||
.run(["$templateCache", function ($templateCache) {
|
||||
$templateCache.put(
|
||||
'control-panes/advanced/remote-debug/remote-debug.jade',
|
||||
require('./remote-debug.jade')
|
||||
)
|
||||
}])
|
||||
.controller('RemoteDebugCtrl', require('./remote-debug-controller'))
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
module.exports = function RemoteDebugCtrl($scope) {
|
||||
|
||||
|
||||
$scope.remoteDebugCommand = function () {
|
||||
var server = '127.0.0.1:5555'
|
||||
return 'adb connect ' + server
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.widget-container.fluid-height.stf-remote-debug
|
||||
.widget-container.fluid-height.stf-remote-debug(ng-controller='RemoteDebugCtrl')
|
||||
.heading
|
||||
i.fa
|
||||
i.fa.fa-bug
|
||||
span(translate) Remote debug
|
||||
.widget-content.padded
|
||||
div
|
||||
pre(ng-bind='remoteDebugCommand()')
|
||||
|
||||
Reference in New Issue
Block a user