mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 07:53:28 +02:00
- Bringing back browser, navigation, input, dashboard and shell templates.
This commit is contained in:
17
res/app/control-panes/dashboard/input/input.jade
Normal file
17
res/app/control-panes/dashboard/input/input.jade
Normal file
@@ -0,0 +1,17 @@
|
||||
.widget-container.fluid-height
|
||||
.heading
|
||||
i.fa.fa-gear
|
||||
span(translate) Keyboard Input
|
||||
button(title='{{"Switch Charset"|translate}}', ng-click='press("KEYCODE_SWITCH_CHARSET")').btn.btn-sm.btn-primary-outline.pull-right
|
||||
span(translate) Aa
|
||||
button(tooltip='{{"Power Button"|translate}}', ng-click='press("KEYCODE_POWER")').btn.btn-sm.btn-danger-outline.pull-right
|
||||
i.fa.fa-power-off
|
||||
|
||||
.widget-content.padded
|
||||
.input-group.form-inline
|
||||
textarea.form-control(rows='1', ng-model='textType', ng-keydown='textTypeKeydown($event)'
|
||||
ng-focus='$parent.textTypeIsFocused = true', ng-blur='$parent.textTypeIsFocused = false',
|
||||
title='{{"Types text. Only ASCII characters are supported."|translate}}')
|
||||
span.input-group-btn
|
||||
button(title='{{"Type text"|translate', type='button', ng-click='type(textType)', ng-disabled='!textType').btn.btn-primary-outline
|
||||
i.fa.fa-keyboard-o
|
||||
Reference in New Issue
Block a user