-
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.
- Loading branch information
tmesite
committed
Apr 22, 2019
1 parent
e695674
commit 692ff9d
Showing
26 changed files
with
1,792 additions
and
324 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.container { | ||
position: absolute; | ||
top:0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
} | ||
|
||
.container .mat-drawer { | ||
min-width: 200px; | ||
} | ||
|
||
.container .mat-drawer .mat-button { | ||
display: block; | ||
width: 100%; | ||
text-align: center; | ||
font-size: 1.5em; | ||
} | ||
|
||
.spacer { | ||
flex: 1 1 auto; | ||
} |
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,5 +1,28 @@ | ||
<!--The content below is only a placeholder and can be replaced.--> | ||
<mat-toolbar> | ||
<span>My Application</span> | ||
</mat-toolbar> | ||
<mat-drawer-container class="container" autosize> | ||
<mat-drawer #drawer class="sidenav"> | ||
<br> | ||
<br> | ||
<br> | ||
<button color="accent" mat-button routerLink="/hiv-care-lib">Clinic Flow</button> | ||
<br> | ||
<br> | ||
<button color="accent" mat-button routerLink="/patient-search">Patient Search</button> | ||
<br> | ||
<br> | ||
<button color="accent" mat-button routerLink="/patients-program-enrollment">Patients Program Enrollment</button> | ||
</mat-drawer> | ||
<div class="sidenav-content"> | ||
<mat-toolbar color="accent"> | ||
<mat-toolbar-row> | ||
<button mat-icon-button (click)="drawer.toggle()"> | ||
<mat-icon>menu</mat-icon> | ||
</button> | ||
|
||
<span>Ampath</span> | ||
<span class="spacer"></span> | ||
</mat-toolbar-row> | ||
</mat-toolbar> | ||
|
||
<router-outlet></router-outlet> | ||
</div> | ||
</mat-drawer-container> |
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 { } |
Empty file.
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; | ||
} |