rework the repair view
This commit is contained in:
@@ -757,15 +757,22 @@
|
||||
<div class="card" ng-show="view === 'repair'">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<label class="control-label">Repair</label>
|
||||
<p>Use the repair button to retry failed operations or if the app is down.</p>
|
||||
|
||||
<p>If the app is not starting up because of a broken plugin or misconfiguration, use the <a ng-href="{{ '/terminal.html?id=' + app.id }}" target="_blank">Terminal</a>
|
||||
and click 'Pause' to edit the app's filesystem.</p>
|
||||
|
||||
<label class="control-label">Crash Recovery</label>
|
||||
<p>If the app is constantly restarting because of a broken plugin or misconfiguration, place the app in recovery mode.
|
||||
Use the following <a target="_blank" ng-href="{{ config.webServerOrigin }}/documentation/troubleshooting/#unresponsive-apps">instructions</a>
|
||||
to get the app running again.
|
||||
</p>
|
||||
<button class="btn btn-danger pull-right" ng-click="repair.pauseAppBegin()" ng-show="!app.debugMode" ng-disabled="repair.pauseBusy || app.error">Enable Recovery Mode</button>
|
||||
<button class="btn btn-success pull-right" ng-click="repair.pauseAppDone()" ng-show="app.debugMode" ng-disabled="repair.pauseBusy || app.error">Disable Recovery Mode</button>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<label class="control-label">Error Recovery</label>
|
||||
<p>If a task (configuration, update, restore, backup) resulted in the app ending up in an error state, you can retry the operation.</p>
|
||||
<p ng-show="app.error">An error occurred during the <b>{{ app.error.installationState | taskName }}</b> operation: <span class="text-danger"><b>{{ app.error.reason + ': ' + app.error.message }}</b></span></p>
|
||||
<!--<p ng-show="app.error" class="text-info"><b>{{ app.error | errorSuggestion }}</b></p>-->
|
||||
<button class="btn btn-success pull-right" ng-click="repair.confirm()" ng-disabled="app.taskId">Repair</button>
|
||||
<button class="btn btn-success pull-right" ng-click="repair.confirm()" ng-disabled="app.taskId">Retry {{ app.error.installationState | taskName }}</button>
|
||||
|
||||
<button class="btn btn-danger pull-right" ng-click="repair.stopAppTask(app.taskId)" ng-show="app.taskId">Cancel Current Task</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user