43 |
44 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { BlockchainProgressComponent } from './blockchain-progress.component';
19 |
20 | describe('BlockchainProgressComponent', () => {
21 | let component: BlockchainProgressComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ BlockchainProgressComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(BlockchainProgressComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/blockchain-progress/blockchain.interface.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | export interface Block {
17 | caption: string;
18 | date: Date;
19 | title: string;
20 | selected: boolean;
21 | content: string;
22 | txCount: number;
23 | txInBlock: Array;
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/donorchart/contribution.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | export interface Contribution {
17 | id: number;
18 | donation: string;
19 | donorName: string;
20 | type: any;
21 | }
22 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/donorchart/donorchart.component.html:
--------------------------------------------------------------------------------
1 |
18 |
19 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/donorchart/donorchart.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | // .wrapper{
17 | // display: inline-block;
18 | // position: relative;
19 | // width: 100%;
20 | // }
21 |
22 | .pie-chart {
23 | width: 100%;
24 | display: inline-block;
25 | // position: absolute;
26 | // top:0px;
27 | height: 400px !important;
28 |
29 | /deep/ path {
30 | stroke: #fff;
31 | stroke-width: 2;
32 | }
33 | /deep/ .totalspend{
34 | font-size: 1.6em;
35 | }
36 |
37 | /deep/ .label{
38 | font-size: 1.2em;
39 | }
40 |
41 | /deep/ .percent{
42 | font-size: 1.4em;
43 | }
44 | }
45 |
46 | .legend{
47 | font-weight: bold;
48 |
49 | .item{
50 | padding: 0 30px;
51 |
52 | .circle{
53 | height: 30px;
54 | width: 30px;
55 | border-radius: 50%;
56 | margin-right: 5px;
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/donorchart/donorchart.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { DonorchartComponent } from './Donorchart.component';
19 |
20 | describe('DonorchartComponent', () => {
21 | let component: DonorchartComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [DonorchartComponent]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(DonorchartComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/gallery/gallery.component.html:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
Gallery
23 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/gallery/gallery.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/gallery/gallery.component.spec.ts:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License").
6 | # You may not use this file except in compliance with the License.
7 | # A copy of the License is located at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # or in the "license" file accompanying this file. This file is distributed
12 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13 | # express or implied. See the License for the specific language governing
14 | # permissions and limitations under the License.
15 | #
16 | */
17 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
18 |
19 | import { GalleryComponent } from './gallery.component';
20 |
21 | describe('GalleryComponent', () => {
22 | let component: GalleryComponent;
23 | let fixture: ComponentFixture;
24 |
25 | beforeEach(async(() => {
26 | TestBed.configureTestingModule({
27 | declarations: [ GalleryComponent ]
28 | })
29 | .compileComponents();
30 | }));
31 |
32 | beforeEach(() => {
33 | fixture = TestBed.createComponent(GalleryComponent);
34 | component = fixture.componentInstance;
35 | fixture.detectChanges();
36 | });
37 |
38 | it('should create', () => {
39 | expect(component).toBeTruthy();
40 | });
41 | });
42 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/gallery/gallery.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, OnInit, Input, ChangeDetectorRef, AfterViewInit } from '@angular/core';
17 |
18 | @Component({
19 | selector: 'app-gallery',
20 | templateUrl: './gallery.component.html',
21 | styleUrls: ['./gallery.component.scss']
22 | })
23 |
24 |
25 | export class GalleryComponent implements AfterViewInit {
26 |
27 |
28 | images = [];
29 | private _itemId: any;
30 | @Input()
31 | set itemId(value: any) {
32 | this._itemId = value;
33 | this._cdr.detectChanges();
34 | this.ngAfterViewInit();
35 | }
36 |
37 | constructor(private _cdr: ChangeDetectorRef) { }
38 |
39 | ngAfterViewInit() {
40 | this.images = [
41 | `assets/images/${this._itemId}/activities/01.jpg`,
42 | `assets/images/${this._itemId}/activities/02.jpg`,
43 | `assets/images/${this._itemId}/activities/03.jpg`,
44 | `assets/images/${this._itemId}/activities/04.jpg`,
45 | ];
46 | }
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/rating/rating.component.html:
--------------------------------------------------------------------------------
1 |
18 |
34 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/rating/rating.component.scss:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License").
6 | # You may not use this file except in compliance with the License.
7 | # A copy of the License is located at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # or in the "license" file accompanying this file. This file is distributed
12 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13 | # express or implied. See the License for the specific language governing
14 | # permissions and limitations under the License.
15 | #
16 | */
17 |
18 | .rating {
19 | float: left;
20 | min-width: 84px;
21 | &:not(:checked) {
22 | > {
23 | input {
24 | position: absolute;
25 | top: -100000px;
26 | clip: rect(0, 0, 0, 0);
27 | }
28 | span {
29 | float: right;
30 | width: 1em;
31 | padding: 0.1em;
32 | overflow: hidden;
33 | white-space: nowrap;
34 | cursor: pointer;
35 | font-size: 110%;
36 | line-height: 1.2;
37 | color: #ddd;
38 | &:before {
39 | content: '★';
40 | }
41 | }
42 | }
43 | > span:hover {
44 | color: #ffc107;
45 | ~ span {
46 | color: #ffc107;
47 | }
48 | }
49 | }
50 | > input:checked ~ span {
51 | color: #ffc107;
52 | }
53 | > {
54 | span:checked ~ span:hover {
55 | color: #ffc107;
56 | ~ span {
57 | color: #ffc107;
58 | }
59 | }
60 | span:hover ~ input:checked ~ span {
61 | color: #ffc107;
62 | }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/rating/rating.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { RatingComponent } from './rating.component';
19 |
20 | describe('RatingComponent', () => {
21 | let component: RatingComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ RatingComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(RatingComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/components/rating/rating.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, Input, Injectable, Output, EventEmitter, OnInit } from '@angular/core';
17 |
18 |
19 | @Injectable()
20 | export class RatingService {
21 | ratingClick = new EventEmitter();
22 | }
23 | @Component({
24 | selector: 'app-star-rating',
25 | templateUrl: './rating.component.html',
26 | styleUrls: ['./rating.component.scss']
27 | })
28 | export class RatingComponent implements OnInit {
29 |
30 | @Input() rating: number;
31 | @Input() itemId: string;
32 | @Input() iseditable: false;
33 |
34 | inputName: string;
35 |
36 | constructor(private ratingService: RatingService) { }
37 |
38 | ngOnInit() {
39 | this.inputName = this.itemId + '_rating';
40 | }
41 |
42 | onClick(rating: number): void {
43 | if (this.iseditable) {
44 | this.rating = rating;
45 | this.ratingService.ratingClick.emit({
46 | itemId: this.itemId,
47 | rating: rating
48 | });
49 | }
50 | }
51 |
52 | }
53 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/dashboard/dashboard.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/dashboard/dashboard.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { DashboardComponent } from './dashboard.component';
19 |
20 | describe('DashboardComponent', () => {
21 | let component: DashboardComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ DashboardComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(DashboardComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/donate/donate.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/donate/donate.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { DonateComponent } from './donate.component';
19 |
20 | describe('DonateComponent', () => {
21 | let component: DonateComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ DonateComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(DonateComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/donate/donate.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, OnInit } from '@angular/core';
17 |
18 | @Component({
19 | selector: 'app-donate',
20 | templateUrl: './donate.component.html',
21 | styleUrls: ['./donate.component.scss']
22 | })
23 | export class DonateComponent implements OnInit {
24 |
25 | constructor() { }
26 |
27 | ngOnInit() {
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/ngo-details/ngo-details.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/ngo-details/ngo-details.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { NgoDetailsComponent } from './ngo-details.component';
19 |
20 | describe('NgoDetailsComponent', () => {
21 | let component: NgoDetailsComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ NgoDetailsComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(NgoDetailsComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/ngos-list/ngos-list.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | .wrapper{
17 | display: inline-block;
18 | position: relative;
19 | width: 100%;
20 | // height: 900px;
21 | }
22 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/ngos-list/ngos-list.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { NgosListComponent } from './ngos-list.component';
19 |
20 | describe('NgosListComponent', () => {
21 | let component: NgosListComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ NgosListComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(NgosListComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/blockchain/blockchain.component.html:
--------------------------------------------------------------------------------
1 |
18 |
19 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/blockchain/blockchain.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/blockchain/blockchain.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { BlockchainComponent } from './blockchain.component';
19 |
20 | describe('BlockchainComponent', () => {
21 | let component: BlockchainComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ BlockchainComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(BlockchainComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.html:
--------------------------------------------------------------------------------
1 |
18 |
19 |
27 |
28 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { BreadcrumbComponent } from './breadcrumb.component';
19 |
20 | describe('BreadcrumbComponent', () => {
21 | let component: BreadcrumbComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ BreadcrumbComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(BreadcrumbComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, OnInit, Injectable } from '@angular/core';
17 | import { Router, NavigationEnd, ActivatedRoute } from '@angular/router';
18 | import { BreadCrumb } from './breadcrumb.interface';
19 |
20 | @Component({
21 | selector: 'app-breadcrumb',
22 | templateUrl: './breadcrumb.component.html',
23 | styleUrls: ['./breadcrumb.component.scss']
24 | })
25 | export class BreadcrumbComponent implements OnInit {
26 | breadcrumbs: Array = [{ label: 'Dashboard', url: '/dashboard' }];
27 | constructor(private router: Router, activatedRoute: ActivatedRoute) {
28 | this.router.events.subscribe(e => {
29 | if (e instanceof NavigationEnd) {
30 | this.buildBreadCrumb(e.url);
31 | }
32 | });
33 | }
34 |
35 | ngOnInit() {
36 | }
37 |
38 | buildBreadCrumb(url) {
39 | const label = url.split('/')[1];
40 | const nextUrl = url;
41 | const breadcrumb = {
42 | label: label,
43 | url: nextUrl
44 | };
45 | let previousState: Array = [];
46 | previousState = previousState.concat(this.breadcrumbs);
47 |
48 | let newState: Array = [];
49 |
50 | for (const item of previousState) {
51 | if (item && nextUrl === item.url) {
52 | break;
53 | }
54 | newState = newState.concat([item]);
55 | }
56 | newState = newState.concat([breadcrumb]);
57 | this.breadcrumbs = newState;
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.interface.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | export interface BreadCrumb {
17 | label: string;
18 | url: string;
19 | }
20 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/footer/footer.component.html:
--------------------------------------------------------------------------------
1 |
18 |
22 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/footer/footer.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/footer/footer.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { FooterComponent } from './footer.component';
19 |
20 | describe('FooterComponent', () => {
21 | let component: FooterComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ FooterComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(FooterComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/footer/footer.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, OnInit } from '@angular/core';
17 |
18 | @Component({
19 | selector: 'app-footer',
20 | templateUrl: './footer.component.html',
21 | styleUrls: ['./footer.component.scss']
22 | })
23 | export class FooterComponent implements OnInit {
24 |
25 | currentYear = new Date().getFullYear();
26 |
27 | constructor() { }
28 |
29 | ngOnInit() {
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/header/header.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | /* change the background color */
17 | .navbar-custom {
18 | background-color: #212529 !important;
19 | }
20 | .toggle-button{
21 | margin:10px;
22 | color: white;
23 | }
24 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/header/header.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { HeaderComponent } from './header.component';
19 |
20 | describe('HeaderComponent', () => {
21 | let component: HeaderComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ HeaderComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(HeaderComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/header/header.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, OnInit } from '@angular/core';
17 | import { Router } from '@angular/router';
18 | import { DonorService } from 'src/app/services/shared';
19 | import { Donor } from 'src/app/models';
20 | import { DashboardService } from 'src/app/services';
21 |
22 |
23 | @Component({
24 | selector: 'app-header',
25 | templateUrl: './header.component.html',
26 | styleUrls: ['./header.component.scss']
27 | })
28 | export class HeaderComponent implements OnInit {
29 |
30 | isVisible = false;
31 | currentUser: Donor = null;
32 |
33 | greetingMsg = 'Hello';
34 | donationAmount = 0.00;
35 | actionButton = 'Logout';
36 |
37 | constructor(
38 | private donorService: DonorService, private userDonationsService: DashboardService
39 | ) { }
40 |
41 | ngOnInit() {
42 | this.donorService.currentDonor.subscribe(
43 | (userData) => {
44 | this.currentUser = userData;
45 | }
46 | );
47 | }
48 |
49 | doAction() {
50 | if (this.actionButton === 'Logout') {
51 | this.donorService.signout();
52 | this.currentUser = null;
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/sidenav/sidenav.component.html:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/sidenav/sidenav.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
17 |
18 | import { SidenavComponent } from './sidenav.component';
19 |
20 | describe('SidenavComponent', () => {
21 | let component: SidenavComponent;
22 | let fixture: ComponentFixture;
23 |
24 | beforeEach(async(() => {
25 | TestBed.configureTestingModule({
26 | declarations: [ SidenavComponent ]
27 | })
28 | .compileComponents();
29 | }));
30 |
31 | beforeEach(() => {
32 | fixture = TestBed.createComponent(SidenavComponent);
33 | component = fixture.componentInstance;
34 | fixture.detectChanges();
35 | });
36 |
37 | it('should create', () => {
38 | expect(component).toBeTruthy();
39 | });
40 | });
41 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/shared/sidenav/sidenav.component.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 | import { Component, OnInit } from '@angular/core';
17 |
18 | @Component({
19 | selector: 'app-sidenav',
20 | templateUrl: './sidenav.component.html',
21 | styleUrls: ['./sidenav.component.scss']
22 | })
23 | export class SidenavComponent implements OnInit {
24 |
25 | constructor() { }
26 |
27 | ngOnInit() {
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/signin/signin.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/signin/signin.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
17 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
18 |
19 | import { SigninComponent } from './signin.component';
20 |
21 | describe('SigninComponent', () => {
22 | let component: SigninComponent;
23 | let fixture: ComponentFixture;
24 |
25 | beforeEach(async(() => {
26 | TestBed.configureTestingModule({
27 | declarations: [ SigninComponent ]
28 | })
29 | .compileComponents();
30 | }));
31 |
32 | beforeEach(() => {
33 | fixture = TestBed.createComponent(SigninComponent);
34 | component = fixture.componentInstance;
35 | fixture.detectChanges();
36 | });
37 |
38 | it('should create', () => {
39 | expect(component).toBeTruthy();
40 | });
41 | });
42 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/signup/signup.component.scss:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
--------------------------------------------------------------------------------
/ngo-ui/src/app/ui/signup/signup.component.spec.ts:
--------------------------------------------------------------------------------
1 | /*
2 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License").
5 | # You may not use this file except in compliance with the License.
6 | # A copy of the License is located at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # or in the "license" file accompanying this file. This file is distributed
11 | # on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 | # express or implied. See the License for the specific language governing
13 | # permissions and limitations under the License.
14 | #
15 | */
16 |
17 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
18 |
19 | import { SignupComponent } from './signup.component';
20 |
21 | describe('SignupComponent', () => {
22 | let component: SignupComponent;
23 | let fixture: ComponentFixture;
24 |
25 | beforeEach(async(() => {
26 | TestBed.configureTestingModule({
27 | declarations: [ SignupComponent ]
28 | })
29 | .compileComponents();
30 | }));
31 |
32 | beforeEach(() => {
33 | fixture = TestBed.createComponent(SignupComponent);
34 | component = fixture.componentInstance;
35 | fixture.detectChanges();
36 | });
37 |
38 | it('should create', () => {
39 | expect(component).toBeTruthy();
40 | });
41 | });
42 |
--------------------------------------------------------------------------------
/ngo-ui/src/assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/.gitkeep
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-medium-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-medium-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-medium-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-medium-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-mediumitalic-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-mediumitalic-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-mediumitalic-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazon-ember-mediumitalic-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bd-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bd-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bd-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bd-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bdit-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bdit-webfont.ttf
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bdit-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bdit-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bdit-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_bdit-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_he-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_he-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_he-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_he-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_heit-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_heit-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_heit-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_heit-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_lt-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_lt-webfont.ttf
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_lt-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_lt-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_lt-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_lt-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_ltit-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_ltit-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_ltit-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_ltit-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rg-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rg-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rg-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rg-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rgit-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rgit-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rgit-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_rgit-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_th-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_th-webfont.ttf
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_th-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_th-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_th-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_th-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_thit-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_thit-webfont.woff
--------------------------------------------------------------------------------
/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_thit-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/fonts/amazon-type-fonts/amazonember_thit-webfont.woff2
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1101/1101.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1101/1101.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1101/activities/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1101/activities/01.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1101/activities/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1101/activities/02.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1101/activities/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1101/activities/03.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1101/activities/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1101/activities/04.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1102/1102.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1102/1102.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1102/activities/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1102/activities/01.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1102/activities/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1102/activities/02.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1102/activities/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1102/activities/03.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1102/activities/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1102/activities/04.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1103/1103.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1103/1103.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1103/activities/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1103/activities/01.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1103/activities/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1103/activities/02.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1103/activities/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1103/activities/03.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1103/activities/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1103/activities/04.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1104/1104.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1104/1104.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1104/activities/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1104/activities/01.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1104/activities/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1104/activities/02.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1104/activities/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1104/activities/03.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1105/1105.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1105/1105.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1105/activities/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1105/activities/01.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1105/activities/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1105/activities/02.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/1105/activities/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/1105/activities/03.jpg
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/arrow-gr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/arrow-gr.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/arrow-gr@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/arrow-gr@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/aws-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/aws-logo.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/awslogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/awslogo.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/awslogo@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/awslogo@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-bendline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-bendline.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-bendline@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-bendline@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-bg.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-bg@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-bg@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-dark.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-dark@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-dark@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-light.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-light@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-light@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-line.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/block-line@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/block-line@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/cal-sym.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/cal-sym.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/cal-sym@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/cal-sym@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/compassion-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/compassion-logo.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/direct-relief-logo-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/direct-relief-logo-2.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/direct-relief-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/direct-relief-logo.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/dollar-sym.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/dollar-sym.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/dollar-sym@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/dollar-sym@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/gallery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/gallery.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/gallery@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/gallery@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/gold-star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/gold-star.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/gold-star@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/gold-star@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/green-tick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/green-tick.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/green-tick@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/green-tick@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/login-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/login-bg.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/login-bg@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/login-bg@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-aha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-aha.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-aha@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-aha@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-ameri.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-ameri.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-ameri@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-ameri@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-com.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-com.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-com@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-com@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-dir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-dir.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-dir@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-dir@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-hab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-hab.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-hab@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-hab@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-wv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-wv.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/npo-wv@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/npo-wv@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo-alb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo-alb.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo-alb@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo-alb@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo1-alb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo1-alb.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo1-alb@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo1-alb@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo2-alb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo2-alb.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo2-alb@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo2-alb@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo3-alb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo3-alb.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo3-alb@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo3-alb@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo4-alb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo4-alb.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/photo4-alb@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/photo4-alb@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/star-regular.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/white-star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/white-star.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/images/white-star@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aws-samples/non-profit-blockchain/20f68358441bbb9771838e9e8dfbec61c752766f/ngo-ui/src/assets/images/white-star@2x.png
--------------------------------------------------------------------------------
/ngo-ui/src/assets/scss/_alert.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Base styles
3 | //
4 |
5 | .alert {
6 | position: relative;
7 | padding: $alert-padding-y $alert-padding-x;
8 | margin-bottom: $alert-margin-bottom;
9 | border: $alert-border-width solid transparent;
10 | @include border-radius($alert-border-radius);
11 | }
12 |
13 | // Headings for larger alerts
14 | .alert-heading {
15 | // Specified to prevent conflicts of changing $headings-color
16 | color: inherit;
17 | }
18 |
19 | // Provide class for links that match alerts
20 | .alert-link {
21 | font-weight: $alert-link-font-weight;
22 | }
23 |
24 |
25 | // Dismissible alerts
26 | //
27 | // Expand the right padding and account for the close button's positioning.
28 |
29 | .alert-dismissible {
30 | padding-right: ($close-font-size + $alert-padding-x * 2);
31 |
32 | // Adjust close link position
33 | .close {
34 | position: absolute;
35 | top: 0;
36 | right: 0;
37 | padding: $alert-padding-y $alert-padding-x;
38 | color: inherit;
39 | }
40 | }
41 |
42 |
43 | // Alternate styles
44 | //
45 | // Generate contextual modifier classes for colorizing the alert.
46 |
47 | @each $color, $value in $theme-colors {
48 | .alert-#{$color} {
49 | @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/ngo-ui/src/assets/scss/_amazon.scss:
--------------------------------------------------------------------------------
1 | // Utilities
2 | @import "amazon/theme";
--------------------------------------------------------------------------------
/ngo-ui/src/assets/scss/_badge.scss:
--------------------------------------------------------------------------------
1 | // Base class
2 | //
3 | // Requires one of the contextual, color modifier classes for `color` and
4 | // `background-color`.
5 |
6 | .badge {
7 | display: inline-block;
8 | padding: $badge-padding-y $badge-padding-x;
9 | font-size: $badge-font-size;
10 | font-weight: $badge-font-weight;
11 | line-height: 1;
12 | text-align: center;
13 | white-space: nowrap;
14 | vertical-align: baseline;
15 | @include border-radius($badge-border-radius);
16 |
17 | // Empty badges collapse automatically
18 | &:empty {
19 | display: none;
20 | }
21 | }
22 |
23 | // Quick fix for badges in buttons
24 | .btn .badge {
25 | position: relative;
26 | top: -1px;
27 | }
28 |
29 | // Pill badges
30 | //
31 | // Make them extra rounded with a modifier to replace v3's badges.
32 |
33 | .badge-pill {
34 | padding-right: $badge-pill-padding-x;
35 | padding-left: $badge-pill-padding-x;
36 | @include border-radius($badge-pill-border-radius);
37 | }
38 |
39 | // Colors
40 | //
41 | // Contextual variations (linked badges get darker on :hover).
42 |
43 | @each $color, $value in $theme-colors {
44 | .badge-#{$color} {
45 | @include badge-variant($value);
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/ngo-ui/src/assets/scss/_bootstrap-grid.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Grid v4.1.3 (https://getbootstrap.com/)
3 | * Copyright 2011-2018 The Bootstrap Authors
4 | * Copyright 2011-2018 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6 | */
7 |
8 | @at-root {
9 | @-ms-viewport { width: device-width; } // stylelint-disable-line at-rule-no-vendor-prefix
10 | }
11 |
12 | html {
13 | box-sizing: border-box;
14 | -ms-overflow-style: scrollbar;
15 | }
16 |
17 | *,
18 | *::before,
19 | *::after {
20 | box-sizing: inherit;
21 | }
22 |
23 | @import "functions";
24 | @import "variables";
25 |
26 | @import "mixins/breakpoints";
27 | @import "mixins/grid-framework";
28 | @import "mixins/grid";
29 |
30 | @import "grid";
31 | @import "utilities/display";
32 | @import "utilities/flex";
33 |
--------------------------------------------------------------------------------
/ngo-ui/src/assets/scss/_bootstrap-reboot.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
3 | * Copyright 2011-2018 The Bootstrap Authors
4 | * Copyright 2011-2018 Twitter, Inc.
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
7 | */
8 |
9 | @import "functions";
10 | @import "variables";
11 | @import "mixins";
12 | @import "reboot";
13 |
--------------------------------------------------------------------------------
/ngo-ui/src/assets/scss/_breadcrumb.scss:
--------------------------------------------------------------------------------
1 | .breadcrumb {
2 | display: flex;
3 | flex-wrap: wrap;
4 | padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5 | margin-bottom: $breadcrumb-margin-bottom;
6 | list-style: none;
7 | background-color: $breadcrumb-bg;
8 | @include border-radius($breadcrumb-border-radius);
9 | }
10 |
11 | .breadcrumb-item {
12 | // The separator between breadcrumbs (by default, a forward-slash: "/")
13 | + .breadcrumb-item {
14 | padding-left: $breadcrumb-item-padding;
15 |
16 | &::before {
17 | display: inline-block; // Suppress underlining of the separator in modern browsers
18 | padding-right: $breadcrumb-item-padding;
19 | color: $breadcrumb-divider-color;
20 | content: $breadcrumb-divider;
21 | }
22 | }
23 |
24 | // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
25 | // without `