--- /dev/null
+//- Copyright (c) 2019 AT&T Intellectual Property. #\r
+//- #\r
+//- Licensed under the Apache License, Version 2.0 (the "License"); #\r
+//- you may not use this file except in compliance with the License. #\r
+//- You may obtain a copy of the License at #\r
+//- #\r
+//- http://www.apache.org/licenses/LICENSE-2.0 #\r
+//- #\r
+//- Unless required by applicable law or agreed to in writing, software #\r
+//- distributed under the License is distributed on an "AS IS" BASIS, #\r
+//- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #\r
+//- See the License for the specific language governing permissions and #\r
+//- limitations under the License. #\r
+//- #############################################################################\r
+\r
+\r
+div(*ngIf = 'type == "warning"')\r
+ h2(mat-dialog-title)\r
+ i.fa.fa-warning\r
+ div Warning\r
+ mat-dialog-content\r
+ p(style="text-align: center") {{data.message}}\r
+ mat-dialog-actions\r
+ button(mat-raised-button, color="primary", aria-label='View', (click) = "okay()") OK\r
+\r
+div(*ngIf = 'type == "confirmation"')\r
+ h2(mat-dialog-title)\r
+ i.fa.fa-check\r
+ div Confirm\r
+ mat-dialog-content\r
+ p(style="text-align: center") {{data.message}}\r
+ mat-dialog-actions\r
+ button(mat-raised-button, color="primary", aria-label='Yes', (click) = "confirmed()") Yes\r
+ button(mat-raised-button, color="primary", aria-label='Cancel', (click) = "canceled()") Cancel\r
+\r
+div(*ngIf = 'type == "userAdmin"')\r
+ h2(mat-dialog-title)\r
+ i.fa.fa-question\r
+ div Choose\r
+ mat-dialog-content\r
+ p(style="text-align: center") {{data.message}}\r
+ mat-dialog-actions\r
+ button(mat-raised-button, color="primary", aria-label='Yes', (click) = "confirmed()") Admin\r
+ button(mat-raised-button, color="primary", aria-label='Cancel', (click) = "canceled()") User\r
+\r
+div(*ngIf = 'type == "alert"')\r
+ h2(mat-dialog-title)\r
+ i.fa.fa-times-circle-o\r
+ div Error\r
+ mat-dialog-content\r
+ p(style="text-align: center") {{data.message}}\r
+ mat-dialog-actions\r
+ button.bg-primary.mbtn.text-white.mr-1(mat-raised-button, aria-label='OK', (click) = "okay()") OK\r
+\r
+div(*ngIf = 'type == "ok"')\r
+ h2(mat-dialog-title)\r
+ i.fa.fa-check\r
+ div Alert\r
+ mat-dialog-content\r
+ p(*ngIf="html", [innerHtml]="html")\r
+ p(*ngIf="!html", style="text-align: center") {{data.message}}\r
+ mat-dialog-actions\r
+ button.bg-primary.mbtn.text-white.mr-1(mat-raised-button, aria-label='OK', (click) = "okay()") OK\r
+\r
+div(*ngIf = 'type == "info"')\r
+ h2(mat-dialog-title)\r
+ div Info\r
+ mat-dialog-content\r
+ p(*ngIf="html", [innerHtml]="html")\r
+ p(*ngIf="!html", style="text-align: center") {{data.message}}\r
+ mat-dialog-actions\r
+ button.bg-primary.mbtn.text-white.mr-1(mat-raised-button, aria-label='OK', (click) = "okay()") OK\r
+\r
+\r
+\r
+//<h1 mat-dialog-title>Add file</h1>\r
+ <mat-dialog-content>\r
+ Content goes here\r
+ </mat-dialog-content>\r
+ <mat-dialog-actions>\r
+ <button mat-button>Add</button>\r
+ <button mat-button>Cancel</button>\r
+ </mat-dialog-actions>\r