1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00
OpenSTF/res/app/components/stf/screen/screen.jade

16 lines
889 B
Text

div.screen-center
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', focus-element='$root.screenFocus')