Files
stf-DeviceFarmer/res/app/components/stf/screen/screen.jade
Gunther Brunner da40f061b4 Implemented change charset with the native PC charset keys.
Hacking was needed:
- Textarea changed to Input type "password", so that Alphanumeric keyboard is forced all the time.
- All the key input events are heavily browser/platform/keyboard dependent.
2014-07-16 22:57:50 +09:00

17 lines
846 B
Plaintext

canvas(ng-show='device')
div(ng-if='displayError').screen-error
.screen-error-message
nothing-to-show(message='{{"No device screen"|translate}}', icon='fa-eye-slash', ng-show='true')
// TODO: PING here to check for connectivity http://172.19.9.107:7401/api/v1/displays/0
.well
.screen-error-alert(ng-show='displayError === "secure"', translate) This might be caused by a network error, or you might be trying to access a secure view.
.screen-error-alert(ng-show='displayError === "timeout"', translate) Retrieving the device screen has timed out.
.well
button(ng-click='retryLoadingScreen()', style='text-align: center;').btn.btn-primary.btn-block
i.fa.fa-refresh
span(translate) Retry
input(type='password', tabindex='40', accesskey='C', autocorrect='off', autocapitalize='off')
span.finger