diff --git a/projects/project-3/frontend/src/app/app.module.ts b/projects/project-3/frontend/src/app/app.module.ts index a00ca57..eb91b13 100644 --- a/projects/project-3/frontend/src/app/app.module.ts +++ b/projects/project-3/frontend/src/app/app.module.ts @@ -24,13 +24,15 @@ import {MatNativeDateModule} from '@angular/material/core'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatInputModule} from '@angular/material/input'; import {MatTableModule} from '@angular/material/table'; +import {AutoRefreshComponent} from './map/auto-refresh/auto-refresh.component'; @NgModule({ declarations: [ AppComponent, MapComponent, DashboardComponent, - PopUpComponent + PopUpComponent, + AutoRefreshComponent ], imports: [ BrowserModule, diff --git a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html index acb397a..43907e5 100644 --- a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html +++ b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html @@ -19,63 +19,54 @@
-
-
- - -
- {{bikePoint?.commonName}} -
- -
-
- -
-
-
-
-
-
- - -
- - Enter a range - - - - - - - -
-
- -
-
-
-
-
+ + +
+ {{bikePoint?.commonName}} +
+ +
+
+ + Enter a range + + + + + + + +
+
+ +
+
+
+
+ +
+
+
+
- - +
diff --git a/projects/project-3/frontend/src/app/dashboard/dashboard.component.scss b/projects/project-3/frontend/src/app/dashboard/dashboard.component.scss index ee6593f..b0639ea 100644 --- a/projects/project-3/frontend/src/app/dashboard/dashboard.component.scss +++ b/projects/project-3/frontend/src/app/dashboard/dashboard.component.scss @@ -14,28 +14,14 @@ a { background: #086ed2; } +.submit-date { + margin-bottom: 15px; +} + #chart { margin-right: 16px; } -#submit-date-span { - padding: 10px; -} - -.user-input { - height: 10em; -} - -.datepicker { - margin-top: 2em; - margin-left: 1em; - margin-right: 1em -} - -.submit-date { - padding-bottom: 2em; -} - .mat-card { padding: 1px 1px 1px; margin: 10px; diff --git a/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.html b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.html new file mode 100644 index 0000000..4f5dd3b --- /dev/null +++ b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.html @@ -0,0 +1 @@ +

auto-refresh works!

diff --git a/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.scss b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.spec.ts b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.spec.ts new file mode 100644 index 0000000..16695ab --- /dev/null +++ b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AutoRefreshComponent } from './auto-refresh.component'; + +describe('AutoRefreshComponent', () => { + let component: AutoRefreshComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AutoRefreshComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AutoRefreshComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.ts b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.ts new file mode 100644 index 0000000..8ea2a6c --- /dev/null +++ b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-auto-refresh', + templateUrl: './auto-refresh.component.html', + styleUrls: ['./auto-refresh.component.scss'] +}) +export class AutoRefreshComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}