ChatbotUI/src/app/dialogue-box/dialogue-box.component.html (27 lines of code) (raw):

<!-- Copyright 2025 Google LLC. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <div class="forgot-password-container"> <div class="sub-parent-container"> <div class="heading-container"> <span class="heading-span"> {{data?.title}}</span> <button mat-icon-button class="close-button" (click)="getCallBackFunction(data?.cancelCallBackFunction)"> <mat-icon class="close-icon" color="warn">close</mat-icon> </button> </div> <div class="logo-container"> <mat-icon>{{data?.icon}}</mat-icon> </div> <div class="text-css"> <div class="forgot-password-subtext-container"> <span> {{data?.description}}</span> </div> </div> <div class="button-css"> <button class="ok-button" (click)="getCallBackFunction(data?.cancelCallBackFunction)"> <span class="mat-button-wrapper"> {{data?.cancelBtnText ? data?.cancelBtnText : 'Cancel'}} </span> </button> <button class="login-button" *ngIf="data?.showConfirmBtn" (click)="getCallBackFunction(data?.confirmCallBackFunction)"> <span class="mat-button-wrapper"> {{data?.confirmBtnText ? data.confirmBtnText : 'Ok'}} </span> </button> </div> </div> </div>