make setupdns try to get status forever

During domain migration, the box code restarts. the getStatus() will
fail temporarily. In the future, we can make this code forward to
error.html after a few retries.
This commit is contained in:
Girish Ramakrishnan
2018-01-08 11:01:46 -08:00
parent a53214cb29
commit e8ca423ac4
2 changed files with 29 additions and 24 deletions

View File

@@ -36,7 +36,7 @@
<body class="setup" ng-app="Application" ng-controller="SetupDNSController">
<div class="main-container ng-cloak text-center" ng-show="busy">
<div class="main-container ng-cloak text-center" ng-show="state === 'waitingForDnsSetup' || state === 'waitingForBox'">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<i class="fa fa-circle-o-notch fa-spin fa-5x"></i><br/>
@@ -45,7 +45,7 @@
</div>
</div>
<div class="main-container ng-cloak" ng-show="initialized && !busy">
<div class="main-container ng-cloak" ng-show="state === 'initialized'">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="card" style="max-width: none; padding: 20px;">