Skip to content

Commit

Permalink
add tooltip for settings and enabled checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jwetzell committed Aug 12, 2023
1 parent a6dbc97 commit 7387458
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<ng-container *ngIf="formGroup">
<form [formGroup]="formGroup" class="h-full">
<div class="flex items-center justify-around h-full">
<div class="flex items-center mx-2">
<div class="flex items-center mx-2" matTooltip="{{ this.data?.enabled ? 'Disable' : 'Enable' }}">
<label class="mr-1 text-gray-300">enabled:</label>
<input type="checkbox" formControlName="enabled" />
</div>
<div class="flex items-center justify-center hover:cursor-pointer">
<mat-icon class="text-gray-500 hover:text-gray-400" (click)="openSettingsDialog()">settings</mat-icon>
<mat-icon class="text-gray-500 hover:text-gray-400" matTooltip="Settings" (click)="openSettingsDialog()"
>settings</mat-icon
>
</div>

<ng-template #settingsDialogRef>
Expand Down

0 comments on commit 7387458

Please sign in to comment.