From 67905c92bea9c7a0c7033710a7698f2cf4e03c9e Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Sun, 3 Nov 2024 07:21:07 -0500 Subject: [PATCH] wip --- .../admin/src/app/alerts/alerts.component.css | 0 .../src/app/alerts/alerts.component.html | 1 + .../src/app/alerts/alerts.component.spec.ts | 23 +++++++++++++++++++ .../admin/src/app/alerts/alerts.component.ts | 12 ++++++++++ client/admin/src/app/app.routes.ts | 10 +++++++- .../admin/src/app/calls/calls.component.css | 0 .../admin/src/app/calls/calls.component.html | 1 + .../src/app/calls/calls.component.spec.ts | 23 +++++++++++++++++++ client/admin/src/app/calls/calls.component.ts | 12 ++++++++++ .../src/app/incidents/incidents.component.css | 0 .../app/incidents/incidents.component.html | 1 + .../app/incidents/incidents.component.spec.ts | 23 +++++++++++++++++++ .../src/app/incidents/incidents.component.ts | 12 ++++++++++ .../app/talkgroups/talkgroups.component.css | 0 .../app/talkgroups/talkgroups.component.html | 1 + .../talkgroups/talkgroups.component.spec.ts | 23 +++++++++++++++++++ .../app/talkgroups/talkgroups.component.ts | 12 ++++++++++ 17 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 client/admin/src/app/alerts/alerts.component.css create mode 100644 client/admin/src/app/alerts/alerts.component.html create mode 100644 client/admin/src/app/alerts/alerts.component.spec.ts create mode 100644 client/admin/src/app/alerts/alerts.component.ts create mode 100644 client/admin/src/app/calls/calls.component.css create mode 100644 client/admin/src/app/calls/calls.component.html create mode 100644 client/admin/src/app/calls/calls.component.spec.ts create mode 100644 client/admin/src/app/calls/calls.component.ts create mode 100644 client/admin/src/app/incidents/incidents.component.css create mode 100644 client/admin/src/app/incidents/incidents.component.html create mode 100644 client/admin/src/app/incidents/incidents.component.spec.ts create mode 100644 client/admin/src/app/incidents/incidents.component.ts create mode 100644 client/admin/src/app/talkgroups/talkgroups.component.css create mode 100644 client/admin/src/app/talkgroups/talkgroups.component.html create mode 100644 client/admin/src/app/talkgroups/talkgroups.component.spec.ts create mode 100644 client/admin/src/app/talkgroups/talkgroups.component.ts diff --git a/client/admin/src/app/alerts/alerts.component.css b/client/admin/src/app/alerts/alerts.component.css new file mode 100644 index 0000000..e69de29 diff --git a/client/admin/src/app/alerts/alerts.component.html b/client/admin/src/app/alerts/alerts.component.html new file mode 100644 index 0000000..9bdc2fd --- /dev/null +++ b/client/admin/src/app/alerts/alerts.component.html @@ -0,0 +1 @@ +

alerts works!

diff --git a/client/admin/src/app/alerts/alerts.component.spec.ts b/client/admin/src/app/alerts/alerts.component.spec.ts new file mode 100644 index 0000000..e5c0655 --- /dev/null +++ b/client/admin/src/app/alerts/alerts.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AlertsComponent } from './alerts.component'; + +describe('AlertsComponent', () => { + let component: AlertsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [AlertsComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(AlertsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/client/admin/src/app/alerts/alerts.component.ts b/client/admin/src/app/alerts/alerts.component.ts new file mode 100644 index 0000000..66b67b3 --- /dev/null +++ b/client/admin/src/app/alerts/alerts.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-alerts', + standalone: true, + imports: [], + templateUrl: './alerts.component.html', + styleUrl: './alerts.component.css' +}) +export class AlertsComponent { + +} diff --git a/client/admin/src/app/app.routes.ts b/client/admin/src/app/app.routes.ts index a94f40b..0aa8a2a 100644 --- a/client/admin/src/app/app.routes.ts +++ b/client/admin/src/app/app.routes.ts @@ -2,10 +2,18 @@ import { Routes } from '@angular/router'; import { HomeComponent } from './home/home.component'; import { LoginComponent } from './login/login.component'; +import { TalkgroupsComponent } from './talkgroups/talkgroups.component'; +import { CallsComponent } from './calls/calls.component'; +import { IncidentsComponent } from './incidents/incidents.component'; +import { AlertsComponent } from './alerts/alerts.component'; import { AuthGuard } from './auth.guard'; export const routes: Routes = [ - { path: '', redirectTo: 'home', pathMatch: 'full' }, + { path: '', redirectTo: 'login', pathMatch: 'full' }, { path: 'home', component: HomeComponent, canActivate: [AuthGuard] }, { path: 'login', component: LoginComponent }, + { path: 'talkgroups', component: TalkgroupsComponent }, + { path: 'calls', component: CallsComponent }, + { path: 'incidents', component: IncidentsComponent }, + { path: 'alerts', component: AlertsComponent }, ]; diff --git a/client/admin/src/app/calls/calls.component.css b/client/admin/src/app/calls/calls.component.css new file mode 100644 index 0000000..e69de29 diff --git a/client/admin/src/app/calls/calls.component.html b/client/admin/src/app/calls/calls.component.html new file mode 100644 index 0000000..50bc349 --- /dev/null +++ b/client/admin/src/app/calls/calls.component.html @@ -0,0 +1 @@ +

calls works!

diff --git a/client/admin/src/app/calls/calls.component.spec.ts b/client/admin/src/app/calls/calls.component.spec.ts new file mode 100644 index 0000000..b21bcce --- /dev/null +++ b/client/admin/src/app/calls/calls.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { CallsComponent } from './calls.component'; + +describe('CallsComponent', () => { + let component: CallsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [CallsComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(CallsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/client/admin/src/app/calls/calls.component.ts b/client/admin/src/app/calls/calls.component.ts new file mode 100644 index 0000000..b2c1bef --- /dev/null +++ b/client/admin/src/app/calls/calls.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-calls', + standalone: true, + imports: [], + templateUrl: './calls.component.html', + styleUrl: './calls.component.css' +}) +export class CallsComponent { + +} diff --git a/client/admin/src/app/incidents/incidents.component.css b/client/admin/src/app/incidents/incidents.component.css new file mode 100644 index 0000000..e69de29 diff --git a/client/admin/src/app/incidents/incidents.component.html b/client/admin/src/app/incidents/incidents.component.html new file mode 100644 index 0000000..2fbdfba --- /dev/null +++ b/client/admin/src/app/incidents/incidents.component.html @@ -0,0 +1 @@ +

incidents works!

diff --git a/client/admin/src/app/incidents/incidents.component.spec.ts b/client/admin/src/app/incidents/incidents.component.spec.ts new file mode 100644 index 0000000..7e7a549 --- /dev/null +++ b/client/admin/src/app/incidents/incidents.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { IncidentsComponent } from './incidents.component'; + +describe('IncidentsComponent', () => { + let component: IncidentsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [IncidentsComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(IncidentsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/client/admin/src/app/incidents/incidents.component.ts b/client/admin/src/app/incidents/incidents.component.ts new file mode 100644 index 0000000..dcbc656 --- /dev/null +++ b/client/admin/src/app/incidents/incidents.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-incidents', + standalone: true, + imports: [], + templateUrl: './incidents.component.html', + styleUrl: './incidents.component.css' +}) +export class IncidentsComponent { + +} diff --git a/client/admin/src/app/talkgroups/talkgroups.component.css b/client/admin/src/app/talkgroups/talkgroups.component.css new file mode 100644 index 0000000..e69de29 diff --git a/client/admin/src/app/talkgroups/talkgroups.component.html b/client/admin/src/app/talkgroups/talkgroups.component.html new file mode 100644 index 0000000..d574412 --- /dev/null +++ b/client/admin/src/app/talkgroups/talkgroups.component.html @@ -0,0 +1 @@ +

talkgroups works!

diff --git a/client/admin/src/app/talkgroups/talkgroups.component.spec.ts b/client/admin/src/app/talkgroups/talkgroups.component.spec.ts new file mode 100644 index 0000000..2efde98 --- /dev/null +++ b/client/admin/src/app/talkgroups/talkgroups.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TalkgroupsComponent } from './talkgroups.component'; + +describe('TalkgroupsComponent', () => { + let component: TalkgroupsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [TalkgroupsComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(TalkgroupsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/client/admin/src/app/talkgroups/talkgroups.component.ts b/client/admin/src/app/talkgroups/talkgroups.component.ts new file mode 100644 index 0000000..2beb598 --- /dev/null +++ b/client/admin/src/app/talkgroups/talkgroups.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-talkgroups', + standalone: true, + imports: [], + templateUrl: './talkgroups.component.html', + styleUrl: './talkgroups.component.css' +}) +export class TalkgroupsComponent { + +}