diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html new file mode 100644 index 000000000..657e0d605 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html @@ -0,0 +1,19 @@ +<div [ngClass]="pageURL ? 'modal' : ''"> + <div [ngClass]="pageURL ? 'modal-dialog' : ''"> + <div class="modal-content"> + <div class="modal-header"> + <h4 class="modal-title float-left"> + <ng-content select=".modal-title"></ng-content> + </h4> + <button type="button" + class="close float-right" + aria-label="Close" + (click)="close()"> + <span aria-hidden="true">×</span> + </button> + </div> + + <ng-content select=".modal-content"></ng-content> + </div> + </div> +</div> |