-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from cs-worcester-cs-448-sp-2019/Left-Nav-Bar
re-adding components which were part of nav bar including routing module @cs-worcester-cs-448-sp-2019/coders-without-borders
- Loading branch information
Showing
21 changed files
with
258 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path:'hiv-care-lib', | ||
loadChildren:'./hiv-care-lib/hiv-care-lib.module#HivCareLibModule' | ||
}, | ||
{ | ||
path:'patient-search', | ||
loadChildren:'./patient-search/patient-search.module#PatientSearchModule' | ||
}, | ||
{ | ||
path:'patients-program-enrollment', | ||
loadChildren:'./patients-program-enrollment/patients-program-enrollment.module#PatientsProgramEnrollmentModule' | ||
}, | ||
{ | ||
path: '', | ||
redirectTo: '', | ||
pathMatch: 'full' | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [ RouterModule.forRoot(routes)], | ||
exports: [ RouterModule] | ||
}) | ||
export class AppRoutingModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
3 changes: 3 additions & 0 deletions
3
ampath-simple-app/src/app/hiv-care-lib/clinic-flow/clinic-flow.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p> | ||
clinic-flow works! | ||
</p> |
25 changes: 25 additions & 0 deletions
25
ampath-simple-app/src/app/hiv-care-lib/clinic-flow/clinic-flow.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { ClinicFlowComponent } from './clinic-flow.component'; | ||
|
||
describe('ClinicFlowComponent', () => { | ||
let component: ClinicFlowComponent; | ||
let fixture: ComponentFixture<ClinicFlowComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ ClinicFlowComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(ClinicFlowComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
ampath-simple-app/src/app/hiv-care-lib/clinic-flow/clinic-flow.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-clinic-flow', | ||
templateUrl: './clinic-flow.component.html', | ||
styleUrls: ['./clinic-flow.component.css'] | ||
}) | ||
export class ClinicFlowComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
ampath-simple-app/src/app/hiv-care-lib/hiv-care-lib-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
import { ClinicFlowComponent } from './clinic-flow/clinic-flow.component'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path:'', | ||
component: ClinicFlowComponent | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule] | ||
}) | ||
export class HivCareLibRoutingModule { } |
14 changes: 14 additions & 0 deletions
14
ampath-simple-app/src/app/hiv-care-lib/hiv-care-lib.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { HivCareLibRoutingModule } from './hiv-care-lib-routing.module'; | ||
import { ClinicFlowComponent } from './clinic-flow/clinic-flow.component'; | ||
|
||
@NgModule({ | ||
declarations: [ClinicFlowComponent], | ||
imports: [ | ||
CommonModule, | ||
HivCareLibRoutingModule | ||
] | ||
}) | ||
export class HivCareLibModule { } |
16 changes: 16 additions & 0 deletions
16
ampath-simple-app/src/app/patient-search/patient-search-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
import { PatientSearchComponent } from './patient-search.component'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path:'', | ||
component: PatientSearchComponent | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule] | ||
}) | ||
export class PatientSearchRoutingModule { } |
Empty file.
3 changes: 3 additions & 0 deletions
3
ampath-simple-app/src/app/patient-search/patient-search.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p> | ||
patient-search works! | ||
</p> |
25 changes: 25 additions & 0 deletions
25
ampath-simple-app/src/app/patient-search/patient-search.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { PatientSearchComponent } from './patient-search.component'; | ||
|
||
describe('PatientSearchComponent', () => { | ||
let component: PatientSearchComponent; | ||
let fixture: ComponentFixture<PatientSearchComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ PatientSearchComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(PatientSearchComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
ampath-simple-app/src/app/patient-search/patient-search.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-patient-search', | ||
templateUrl: './patient-search.component.html', | ||
styleUrls: ['./patient-search.component.css'] | ||
}) | ||
export class PatientSearchComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
ampath-simple-app/src/app/patient-search/patient-search.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { PatientSearchRoutingModule } from './patient-search-routing.module'; | ||
import { PatientSearchComponent } from './patient-search.component'; | ||
|
||
@NgModule({ | ||
declarations: [PatientSearchComponent], | ||
imports: [ | ||
CommonModule, | ||
PatientSearchRoutingModule | ||
] | ||
}) | ||
export class PatientSearchModule { } |
16 changes: 16 additions & 0 deletions
16
...ple-app/src/app/patients-program-enrollment/patients-program-enrollment-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
import { PatientsProgramEnrollmentComponent } from './patients-program-enrollment.component'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path:'', | ||
component: PatientsProgramEnrollmentComponent | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule] | ||
}) | ||
export class PatientsProgramEnrollmentRoutingModule { } |
Empty file.
3 changes: 3 additions & 0 deletions
3
...simple-app/src/app/patients-program-enrollment/patients-program-enrollment.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p> | ||
patients-program-enrollment works! | ||
</p> |
25 changes: 25 additions & 0 deletions
25
...ple-app/src/app/patients-program-enrollment/patients-program-enrollment.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { PatientsProgramEnrollmentComponent } from './patients-program-enrollment.component'; | ||
|
||
describe('PatientsProgramEnrollmentComponent', () => { | ||
let component: PatientsProgramEnrollmentComponent; | ||
let fixture: ComponentFixture<PatientsProgramEnrollmentComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ PatientsProgramEnrollmentComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(PatientsProgramEnrollmentComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
...h-simple-app/src/app/patients-program-enrollment/patients-program-enrollment.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-patients-program-enrollment', | ||
templateUrl: './patients-program-enrollment.component.html', | ||
styleUrls: ['./patients-program-enrollment.component.css'] | ||
}) | ||
export class PatientsProgramEnrollmentComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
ampath-simple-app/src/app/patients-program-enrollment/patients-program-enrollment.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { PatientsProgramEnrollmentRoutingModule } from './patients-program-enrollment-routing.module'; | ||
import { PatientsProgramEnrollmentComponent } from './patients-program-enrollment.component'; | ||
|
||
@NgModule({ | ||
declarations: [PatientsProgramEnrollmentComponent], | ||
imports: [ | ||
CommonModule, | ||
PatientsProgramEnrollmentRoutingModule | ||
] | ||
}) | ||
export class PatientsProgramEnrollmentModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
/* You can add global styles to this file, and also import other style files */ | ||
@import "~@angular/material/prebuilt-themes/indigo-pink.css"; | ||
@import "~@angular/material/prebuilt-themes/pink-bluegrey.css"; | ||
|
||
|
||
body { | ||
font-family: Roboto, Arial, sans-serif; | ||
} | ||
|
||
p { | ||
text-align: center; | ||
} |