This commit is contained in:
Daniel Ponte 2024-12-30 13:12:41 -05:00
parent 41d75e512b
commit 2d9c9e8ef5
6 changed files with 42 additions and 42 deletions

View file

@ -0,0 +1 @@
<p>incident works!</p>

View file

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { IncidentComponent } from './incident.component';
describe('IncidentComponent', () => {
let component: IncidentComponent;
let fixture: ComponentFixture<IncidentComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [IncidentComponent]
})
.compileComponents();
fixture = TestBed.createComponent(IncidentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View file

@ -0,0 +1,11 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-incident',
imports: [],
templateUrl: './incident.component.html',
styleUrl: './incident.component.scss'
})
export class IncidentComponent {
}

View file

@ -89,7 +89,7 @@
</ng-container>
<ng-container matColumnDef="numCalls">
<th mat-header-cell *matHeaderCellDef>Calls</th>
<td mat-cell *matCellDef="let incident">
<td mat-cell *matCellDef="let incident" class="callCount">
{{ incident.callCount }}
</td>
</ng-container>

View file

@ -7,10 +7,14 @@ table,
width: 100%;
}
.duration {
.callCount {
text-align: right;
}
.mat-column-numCalls {
width: 50px;
}
.tabContainer {
max-height: calc(
(
@ -28,10 +32,6 @@ table,
align-content: center;
}
.playButton {
cursor: pointer;
}
tr.mat-mdc-row {
height: 2.3rem !important;
font-size: 12pt;
@ -41,34 +41,7 @@ tr.mat-mdc-row {
display: block !important;
}
.mat-column-select,
.mat-column-time,
.mat-column-play,
.mat-column-download,
.mat-column-duration {
width: 10px;
padding: 0 2px;
}
.mat-column-date {
width: 10px;
padding: 0 6px;
}
.mat-column-system {
width: 4%;
}
.mat-column-talkgroup {
width: 40%;
}
@media screen and (max-width: 768px) {
.mat-column-group,
.mat-column-system {
display: none;
}
.tabFootContainer {
padding: 0;
}
@ -87,12 +60,4 @@ form {
.filterBox {
flex: 1 1 300px;
}
.durationFilter {
flex: 0 0 80px;
}
.tagSelect {
flex: 1 1 250px;
}
}