diff options
author | 2020-08-25 10:40:42 +0200 | |
---|---|---|
committer | 2020-08-25 10:40:42 +0200 | |
commit | 543868e6267b62e84d01f611cfab79d493a8c197 (patch) | |
tree | 5ffcaf4b25fcf7f961526b3451e499670191d874 /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html | |
parent | 6bf663a71fb034ff0961bd21404b23bd71de6289 (diff) |
fixing issues in configuration package
Issue-ID: CCSDK-2336
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I38e542a7959f98548a5494b0ee40ddb236f2595f
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html index c04053747..0d0f5ef93 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html @@ -22,20 +22,20 @@ <div class="container"> <div class="creat-action-container"> - <a class="action-button save" (click)="editBluePrint()"> + <button class="action-button save" (click)="editBluePrint()" [disabled]="!isSaveEnabled"> <i class="icon-save-sm" aria-hidden="true"></i> <span>Save</span> - </a> - <a class="action-button" (click)="discardChanges()"> + </button> + <button data-target="#discardChangesModal" data-toggle="modal" class="action-button" [disabled]="!isSaveEnabled"> <i class="icon-discard-sm" aria-hidden="true"></i> <span>Discard Changes</span> - </a> + </button> <hr> - <a class="action-button"> + <button class="action-button"> <i class="icon-clone-sm" aria-hidden="true"></i> <span>Clone</span> - </a> + </button> <a href="#" class="action-button"> <i class="icon-archive-sm" aria-hidden="true"></i> @@ -790,3 +790,26 @@ </div> </div> </div> + +<div class="modal fade" id="discardChangesModal" tabindex="-1" role="dialog" aria-labelledby="discardChangesModalLabel" + aria-hidden="true"> + <div class="modal-dialog" role="document"> + <div class="modal-content"> + <div class="modal-header"> + <h5 class="modal-title" id="discardChangesModalLabel">Discard Changes</h5> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"> + <i class="icon-action-close"></i> + </button> + </div> + <div class="modal-body"> + <p>Are you sure you want to discard the changes?</p> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button> + <button type="button" (click)="discardChanges()" data-dismiss="modal" + class="btn btn-primary">Discard Changes + </button> + </div> + </div> + </div> +</div> |