diff --git a/package-lock.json b/package-lock.json index ab685f8..ffb94b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1153,6 +1153,14 @@ "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", "dev": true }, + "angular2-datetimepicker": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/angular2-datetimepicker/-/angular2-datetimepicker-1.1.1.tgz", + "integrity": "sha1-acTZkcSKYNq4CiDYfoU5bBhfH0I=", + "requires": { + "font-awesome": "*" + } + }, "ansi-colors": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", @@ -4016,6 +4024,11 @@ } } }, + "font-awesome": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", + "integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=" + }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", diff --git a/package.json b/package.json index ce48a88..06804f4 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "@coreui/icons": "0.3.0", "ajv": "^6.10.0", "ajv-keywords": "^3.4.0", + "angular2-datetimepicker": "^1.1.1", "chart.js": "^2.8.0", "chartjs-adapter-luxon": "^0.2.0", "core-js": "^2.6.9", diff --git a/src/app/app.module.ts b/src/app/app.module.ts index cc8229e..baf5a2a 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -41,7 +41,6 @@ import { P500Component } from './pages/500.component'; // Submodules import { AuthModule } from './auth/auth.module'; import { DashboardModule } from './dashboard/dashboard.module'; - import { ChartsModule } from 'ng2-charts'; // import { StackedBarChartComponent } from './panels/stacked-bar.component'; import { MoreStuffComponent } from './dashboard/more-graphs-and-tables.component'; diff --git a/src/app/dashboard/add-data.component.html b/src/app/dashboard/add-data.component.html index a6e52a6..8f73ecc 100644 --- a/src/app/dashboard/add-data.component.html +++ b/src/app/dashboard/add-data.component.html @@ -24,6 +24,7 @@ Enter the amount spent, such as 5.35 for £5.35. +