Skip to content

Commit

Permalink
hook searching back up
Browse files Browse the repository at this point in the history
  • Loading branch information
mlapaglia committed Oct 30, 2023
1 parent 9ec1b27 commit fd659a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</mat-expansion-panel-header>
</mat-expansion-panel>
<mat-expansion-panel *ngFor="let plate of plates">
<mat-expansion-panel-header [ngClass]="{'alert': plate.isAlert === true, 'ignore': plate.isIgnore === true}">
<mat-panel-title style="display: flex; align-content: flex-start;">
<mat-expansion-panel-header [ngClass]="{'alertPlate': plate.isAlert === true, 'ignorePlate': plate.isIgnore === true}">
<mat-panel-title style="display: flex; align-content: flex-start;" [ngClass]="{'ignorePlateText': plate.isIgnore === true}">
<span style="flex: 2; overflow: hidden; word-wrap: break-word;" class="hide-mobile">{{plate.openAlprCameraId}}</span>
<span style="flex: 2; overflow: hidden; word-wrap: break-word;">{{plate.plateNumber}}</span>
<span style="flex: 5; overflow: hidden; word-wrap: break-word;" class="hide-mobile"> {{plate.vehicleDescription}}</span>
Expand Down Expand Up @@ -146,7 +146,8 @@
<button mat-raised-button
style="margin: 8px 8px 8px 0;"
color="primary"
[disabled]="!this.filterPlateNumberIsValid">Apply</button>
[disabled]="!this.filterPlateNumberIsValid"
(click)="searchPlates()">Apply</button>
<button mat-raised-button
color="warn"
(click)="clearFilters()">Clear</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
}
}

.alert {
.alertPlate {
background-color: #FFEB3B;
}

.ignore {
background-color: #9E9E9E
}
.ignorePlate {
background: rgba(0, 0, 0, 0.05);
}

.ignorePlateText {
color: rgba(0, 0, 0, 0.2);
}

.pulse {
margin-right: 7px;
Expand Down

0 comments on commit fd659a4

Please sign in to comment.