Adding new Settings shortcuts.

This commit is contained in:
Gunther Brunner
2014-05-22 22:27:28 +09:00
parent d14b9965b0
commit f5ffd14c92
9 changed files with 125 additions and 29 deletions

View File

@@ -9,9 +9,10 @@
.widget-content.padded
.input-group.form-inline
input(type=text, ng-model='command', ng-enter='run(command)').form-control
input(type=text, ng-model='command', ng-enter='run(command)').form-control.shell-input
span.input-group-btn
button.btn.btn-primary-outline(ng-click='run(command)', ng-disabled='!command', tooltip-html-unsafe='{{"Run Command"|translate}}<br /><br /><code>Enter</code>')
// , tooltip='{{"Run Command"|translate}}'
button.btn.btn-primary-outline(ng-click='run(command)', ng-disabled='!command')
i.fa.fa-play
pre.shell-results(ng-show='data') {{data}}
pre.shell-results(ng-show='result.settled && !data').shell-results-empty No output
@@ -20,4 +21,4 @@
// table
tr(ng-repeat='result in results track by result.device.serial')
td {{ result.device.serial }}
td {{ result.data }}
td {{ result.data }}