dialog.device-unreachable.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <md-dialog aria-label="Device Unreachable">
  2. <form ng-cloak>
  3. <md-toolbar>
  4. <div class="md-toolbar-tools">
  5. <h2 translate>deviceUnreachable.DEVICE_UNREACHABLE</h2>
  6. </div>
  7. </md-toolbar>
  8. <md-dialog-content>
  9. <div class="md-dialog-content">
  10. <h3 translate>deviceUnreachable.UNABLE_TO_CONNECT</h3>
  11. <ul class="material-icons-list">
  12. <li class="help">
  13. <span translate>troubleshooting.PHONE_ONLINE</span>
  14. </li>
  15. <li class="help">
  16. <span translate>troubleshooting.APP_STARTED</span>
  17. </li>
  18. <li class="help">
  19. <span translate>troubleshooting.WEBCLIENT_ENABLED</span>
  20. </li>
  21. <li class="info">
  22. <span translate>troubleshooting.UNLOCK_OR_CHARGE</span>
  23. </li>
  24. <li class="info">
  25. <span translate>troubleshooting.PUSH_FAQ</span>
  26. </li>
  27. </ul>
  28. </div>
  29. </md-dialog-content>
  30. <md-dialog-actions layout="row">
  31. <span flex></span>
  32. <md-button role="button" class="md-primary reload-btn" ng-click="ctrl.reload()" aria-labelledby="aria-label-reload">
  33. <span translate id="aria-label-reload">welcome.RELOAD</span>
  34. </md-button>
  35. <md-button ng-if="ctrl.canRetry" role="button" class="md-primary reload-btn circular-progress-button" ng-click="ctrl.retry()" ng-disabled="ctrl.retrying" aria-labelledby="aria-label-retry">
  36. <md-progress-circular ng-if="ctrl.retrying" md-mode="determinate" md-diameter="20" value="{{ctrl.progress}}"></md-progress-circular>
  37. <i ng-if="!ctrl.retrying" class="material-icons">refresh</i>
  38. <span translate id="aria-label-retry">welcome.RETRY</span>
  39. </md-button>
  40. </md-dialog-actions>
  41. </form>
  42. </md-dialog>