-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
57 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 24 additions & 18 deletions
42
ui/src/app/metadata/configuration/container/restore.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
<h2 class="mb-4"> | ||
<translate-i18n key="label.restore-version" [params]="{ 'date': (date$ | async) }"> | ||
Restore Version ( date ) | ||
</translate-i18n> | ||
</h2> | ||
<div class="d-flex justify-content-center align-items-center"> | ||
<div class="card m-4 w-50"> | ||
<div class="card-body"> | ||
<h3 class="card-title" translate="message.create-new-version-from-version"> | ||
Create New Version from Previous Settings | ||
</h3> | ||
<p translate="message.restoring-this-version-will-copy" | ||
[translateParams]="{ 'date': date$ | async }"> | ||
Restoring this version will copy the Version ( date ) configuration and create a new Version from the selected version settings. You can then edit the configuration before saving the new version. | ||
</p> | ||
<button class="btn btn-light" (click)="cancel()" translate="action.cancel">Cancel</button> | ||
<button class="btn btn-primary" (click)="restore()" translate="action.restore">Restore</button> | ||
<ng-container *ngIf="loaded$ | async"> | ||
<h2 class="mb-4"> | ||
<translate-i18n key="label.restore-version" [params]="{ 'date': (date$ | async) }"> | ||
Restore Version ( date ) | ||
</translate-i18n> | ||
</h2> | ||
<div class="d-flex justify-content-center align-items-center"> | ||
<div class="card m-4 w-50"> | ||
<div class="card-body"> | ||
<h3 class="card-title" translate="message.create-new-version-from-version"> | ||
Create New Version from Previous Settings | ||
</h3> | ||
<p translate="message.restoring-this-version-will-copy" | ||
[translateParams]="{ 'date': date$ | async }"> | ||
Restoring this version will copy the Version ( date ) configuration and create a new Version from the selected version settings. You can then edit the configuration before saving the new version. | ||
</p> | ||
<button class="btn btn-light" (click)="cancel()" translate="action.cancel">Cancel</button> | ||
<button class="btn btn-primary" (click)="restore()" translate="action.restore">Restore</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</ng-container> | ||
<div *ngIf="loading$ | async" class="d-flex justify-content-center"> | ||
<i class="fa fa-spinner fa-pulse fa-4x fa-fw"></i> | ||
<span class="sr-only">Loading...</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters