Files
stf-DeviceFarmer/res/app/control-panes/dashboard/shell/shell.pug
Gunther Brunner 1eb6af0119 Replaced old jade with new pug.
Using temporarily npm-shrinkwrap since `template-html-loader` uses an old `consolidate.js` version which doesn't support `pug`.
Follow here: https://github.com/jtangelder/template-html-loader/issues/8
2016-08-05 18:24:30 +09:00

21 lines
1009 B
Plaintext

.widget-container.fluid-height.stf-shell(ng-controller='ShellCtrl')
.heading
stacked-icon(icon='fa-terminal', color='color-darkgray')
span(translate) Shell
clear-button(ng-click='clear()', ng-disabled='!command && !data').btn-xs
help-icon(topic='Remote-Shell', uib-tooltip='{{"Executes remote shell commands" | translate}}')
.widget-content.padded
// NOTE: autofill doesn't work here
form(method='post', enable-autofill, ng-submit='run(command)')
.input-group.form-inline
input(type=text, ng-model='command', Xtext-focus-select,
autocapitalize='off', spellcheck='false',
tabindex='30', accesskey='S', autocomplete='on').form-control.shell-input
span.input-group-btn
button.btn.btn-primary-outline(ng-click='run(command)', ng-disabled='!command')
i.fa.fa-play
pre.shell-results.selectable(ng-show='data') {{data}}
pre.shell-results.selectable.shell-results-empty(ng-show='result.settled && !data') No output