Attempt to cover most repair cases

This commit is contained in:
Johannes Zellner
2019-09-23 15:01:44 +02:00
parent b742dc51fb
commit fe6baf8dba
3 changed files with 49 additions and 15 deletions

View File

@@ -111,15 +111,13 @@
<h4 class="modal-title">Repair {{ app.fqdn }}</h4>
</div>
<div class="modal-body">
<p>TBD info about error and potential solution</p>
<!-- show this if alternate domains may need to be disabled -->
<div>
<p>The app task {{ app.error.task.installationState }} {{ app.error.crashed ? 'crashed' : '' }}{{ app.error.stopped ? 'stopped' : '' }} . Repair will attempt to retry.</p>
<div ng-show="repair.optionalDomains.length">
<p ng-repeat="alternateDomain in repair.optionalDomains">
<label class="control-label"><input type="checkbox" ng-model="alternateDomain.enabled"> {{ alternateDomain.subdomain }}.{{ alternateDomain.domain }}</label>
</p>
</div>
<!-- show this for restore -->
<div>
<div ng-show="repair.backups.length">
<label class="control-label">Restore from Backup:</label>
<select class="form-control" ng-model="repair.backupId">
<option ng-repeat="backup in repair.backups" value="{{ backup.id }}">{{ backup.creationTime | prettyDate }} - v{{ backup.version }}</option>