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')