diff --git a/SystemKonkursow/4.2.1/angular/package-lock.json b/SystemKonkursow/4.2.1/angular/package-lock.json index db6a031..9607840 100644 --- a/SystemKonkursow/4.2.1/angular/package-lock.json +++ b/SystemKonkursow/4.2.1/angular/package-lock.json @@ -123,6 +123,14 @@ "tslib": "1.9.2" } }, + "@angular/cdk": { + "version": "6.4.7", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-6.4.7.tgz", + "integrity": "sha512-18x0U66fLD5kGQWZ9n3nb75xQouXlWs7kUDaTd8HTrHpT1s2QIAqlLd1KxfrYiVhsEC2jPQaoiae7VnBlcvkBg==", + "requires": { + "tslib": "1.9.2" + } + }, "@angular/cli": { "version": "6.0.8", "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-6.0.8.tgz", @@ -354,6 +362,23 @@ "tslib": "1.9.2" } }, + "@angular/material": { + "version": "6.4.7", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-6.4.7.tgz", + "integrity": "sha512-SdNx7Xovi24Kw9eU6lkLhY/7f2M7L9F+/uh6XuPr4jbGgCUVVpeeVI5ztZhsZRbj1sN+/r1p5w8u62apWWl5Ww==", + "requires": { + "parse5": "5.1.0", + "tslib": "1.9.2" + }, + "dependencies": { + "parse5": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz", + "integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==", + "optional": true + } + } + }, "@angular/platform-browser": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-6.0.5.tgz", diff --git a/SystemKonkursow/4.2.1/angular/package.json b/SystemKonkursow/4.2.1/angular/package.json index 4031707..26c059f 100644 --- a/SystemKonkursow/4.2.1/angular/package.json +++ b/SystemKonkursow/4.2.1/angular/package.json @@ -14,11 +14,13 @@ "private": true, "dependencies": { "@angular/animations": "^6.0.5", + "@angular/cdk": "^6.4.7", "@angular/common": "^6.0.5", "@angular/compiler": "^6.0.5", "@angular/core": "^6.0.5", "@angular/forms": "^6.0.5", "@angular/http": "^6.0.5", + "@angular/material": "^6.4.7", "@angular/platform-browser": "^6.0.5", "@angular/platform-browser-dynamic": "^6.0.5", "@angular/router": "^6.0.5", diff --git a/SystemKonkursow/4.2.1/angular/src/app/app.module.ts b/SystemKonkursow/4.2.1/angular/src/app/app.module.ts index 2732cfb..291b192 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/app.module.ts +++ b/SystemKonkursow/4.2.1/angular/src/app/app.module.ts @@ -38,6 +38,12 @@ import { CompetitionDetailComponent } from '@app/competition-detail/competition- import { FilterClassesPipe } from '@app/pipe/filter-classes.pipe'; +import { + MatSelectModule, + MatOptionModule, + MatFormFieldModule +} from '@angular/material'; + @NgModule({ declarations: [ AppComponent, @@ -74,7 +80,10 @@ import { FilterClassesPipe } from '@app/pipe/filter-classes.pipe'; AppRoutingModule, ServiceProxyModule, SharedModule, - NgxPaginationModule + NgxPaginationModule, + MatSelectModule, + MatOptionModule, + MatFormFieldModule, ], providers: [ diff --git a/SystemKonkursow/4.2.1/angular/src/app/categories-list/categories-list.component.html b/SystemKonkursow/4.2.1/angular/src/app/categories-list/categories-list.component.html index 6ca0e0b..ceaf9d9 100644 --- a/SystemKonkursow/4.2.1/angular/src/app/categories-list/categories-list.component.html +++ b/SystemKonkursow/4.2.1/angular/src/app/categories-list/categories-list.component.html @@ -1,5 +1,7 @@ -
{{ competition.name }}
-Czas trwania: {{ competition.startDate | date:"dd/MM/yyyy" }} - {{ competition.endDate | date:"dd/MM/yyyy" }}
-Przedział klasowy: {{ competition.minClass }}-{{ competition.maxClass }}
+{{ competition.name }}
+Czas trwania: {{ competition.startDate | date:"dd/MM/yyyy" }} - {{ competition.endDate | date:"dd/MM/yyyy" }}
+Przedział klasowy: {{ competition.minClass }}-{{ competition.maxClass }}
+