Add warning on data loss
This commit is contained in:
@@ -214,11 +214,15 @@
|
||||
</h4>
|
||||
</div>
|
||||
<div class="modal-body" style="padding: 0 15px">
|
||||
<p>This will restore this app to the data from <b>{{ restore.backup.creationTime | prettyDate }}</b></p>
|
||||
<p>This will restore this app to the data from <b>{{ restore.backup.creationTime | prettyDate }}</b>.</p>
|
||||
<p class="text-danger">Any data generated between now and the last known backup will be irrevocably lost.
|
||||
It is recommended to create a backup of the current data before attempting a restore.
|
||||
</p>
|
||||
<br/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-success" ng-click="restore.submit()"><i class="fas fa-history" ng-hide="restore.busy"></i><i class="fa fa-circle-notch fa-spin" ng-show="clone.busy"></i> Restore</button>
|
||||
<button type="button" class="btn btn-danger" ng-click="restore.submit()"><i class="fas fa-history" ng-hide="restore.busy"></i><i class="fa fa-circle-notch fa-spin" ng-show="clone.busy"></i> Restore</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user