Skip to content
Snippets Groups Projects
state-variables-dialog.component.html 925 B
Newer Older
  • Learn to ignore specific revisions
  • <h1 mat-dialog-title>{{'manageStateVariables' | translate}}</h1>
    
    <div mat-dialog-content class="fx-column-start-stretch fx-gap-20">
    
      <div *ngFor="let stateVariable of stateVariables; let i = index"
           class="fx-row-start-stretch fx-gap-10">
        <aspect-state-variable-editor
          [(stateVariable)]="stateVariables[i]">
        </aspect-state-variable-editor>
        <button mat-icon-button
                matSuffix
                color="warn"
                (click)="deleteStateVariable(i)">
          <mat-icon>delete</mat-icon>
        </button>
      </div>
      <button mat-button
    
              class="add-button"
              (click)="addStateVariable()">
        <mat-icon class="add-icon">add</mat-icon>
    
      <button mat-button
              [mat-dialog-close]="stateVariables">
    
      <button mat-button
              mat-dialog-close>
        {{'cancel' | translate }}
      </button>