diff --git a/client/stillbox/src/app/calls/calls.component.html b/client/stillbox/src/app/calls/calls.component.html index 8355228..30ffa96 100644 --- a/client/stillbox/src/app/calls/calls.component.html +++ b/client/stillbox/src/app/calls/calls.component.html @@ -1,5 +1,4 @@
-
Start - At Least Seconds + Dur (s) > -
-
Filter close -
-
-
@@ -93,7 +87,7 @@ diff --git a/client/stillbox/src/app/calls/calls.component.scss b/client/stillbox/src/app/calls/calls.component.scss index 62bc391..ef0077f 100644 --- a/client/stillbox/src/app/calls/calls.component.scss +++ b/client/stillbox/src/app/calls/calls.component.scss @@ -1,5 +1,5 @@ .timeFilterBox { - width: 240px; + flex: 0 0 240px; } table, @@ -40,7 +40,8 @@ tr.mat-mdc-row { .mat-column-play, .mat-column-download, .mat-column-duration { - width: 2%; + width: 10px; + padding: 0 2px; } .mat-column-system { @@ -52,7 +53,7 @@ tr.mat-mdc-row { } @media screen and (max-width: 768px) { - .mat-column-group { + .mat-column-group, .mat-column-system { display: none; } @@ -63,6 +64,7 @@ tr.mat-mdc-row { .toolbar { display: flex; + flex-flow: row wrap; } .tbRight { @@ -73,9 +75,9 @@ tr.mat-mdc-row { } .filterBox { - width: 300px; + flex: 1 1 300px; } .durationFilter { - width: 150px; + flex: 0 0 80px; } diff --git a/client/stillbox/src/app/calls/calls.component.ts b/client/stillbox/src/app/calls/calls.component.ts index c4d6393..503e4fd 100644 --- a/client/stillbox/src/app/calls/calls.component.ts +++ b/client/stillbox/src/app/calls/calls.component.ts @@ -43,15 +43,16 @@ import { MatTimepickerModule } from '@angular/material/timepicker'; import { MatDatepickerModule } from '@angular/material/datepicker'; import { debounceTime } from 'rxjs/operators'; + @Pipe({ - name: 'date', + name: 'grabDate', standalone: true, pure: true, }) export class DatePipe implements PipeTransform { transform(ts: string, args?: any): string { const timestamp = new Date(ts); - return timestamp.getMonth() + 1 + '/' + timestamp.getDate(); + return (timestamp.getMonth() + 1) + '/' + timestamp.getDate(); } }
Date - {{ call.call_date | date }} + {{ call.call_date | grabDate }}