diff --git a/package.json b/package.json index 37c9287..c8a6295 100644 --- a/package.json +++ b/package.json @@ -1,62 +1,62 @@ -{ - "name": "frontend", - "version": "0.0.0", - "scripts": { - "ng": "ng", - "start": "ng serve", - "build": "ng build", - "test": "ng test", - "lint": "ng lint", - "e2e": "ng e2e" - }, - "private": true, - "dependencies": { - "@angular/animations": "~9.1.9", - "@angular/common": "~9.1.9", - "@angular/compiler": "~9.1.9", - "@angular/core": "~9.1.9", - "@angular/forms": "~9.1.9", - "@angular/localize": "~9.1.9", - "@angular/platform-browser": "~9.1.9", - "@angular/platform-browser-dynamic": "~9.1.9", - "@angular/router": "~9.1.9", - "@ng-bootstrap/ng-bootstrap": "^6.0.0", - "bootstrap": "^4.4.0", - "chart.js": "^2.9.3", - "component": "^1.1.0", - "rxjs": "~6.5.4", - "tslib": "^1.10.0", - "zone.js": "~0.10.2" - }, - "devDependencies": { - "@angular-devkit/build-angular": "~0.901.7", - "@angular/cli": "~9.1.7", - "@angular/compiler-cli": "~9.1.9", - "@types/jasmine": "~3.5.0", - "@types/jasminewd2": "~2.0.3", - "@types/node": "^12.11.1", - "codelyzer": "^5.1.2", - "jasmine-core": "~3.5.0", - "jasmine-spec-reporter": "~4.2.1", - "karma": "~5.0.0", - "karma-chrome-launcher": "~3.1.0", - "karma-coverage-istanbul-reporter": "~2.1.0", - "karma-jasmine": "~3.0.1", - "karma-jasmine-html-reporter": "^1.4.2", - "prettier": "2.0.5", - "karma-spec-reporter": "0.0.32", - "protractor": "~7.0.0", - "puppeteer": "^5.1.0", - "ts-node": "~8.3.0", - "tslint": "~6.1.0", - "typescript": "~3.8.3" - }, - "description": "This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.7.", - "main": "karma.conf.js", - "repository": { - "type": "git", - "url": "https://git.informatik.fh-nuernberg.de/scrum-taskboard/frontend.git" - }, - "author": "", - "license": "ISC" -} +{ + "name": "frontend", + "version": "0.0.0", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "test": "ng test", + "lint": "ng lint", + "e2e": "ng e2e" + }, + "private": true, + "dependencies": { + "@angular/animations": "~9.1.9", + "@angular/common": "~9.1.9", + "@angular/compiler": "~9.1.9", + "@angular/core": "~9.1.9", + "@angular/forms": "~9.1.9", + "@angular/localize": "~9.1.9", + "@angular/platform-browser": "~9.1.9", + "@angular/platform-browser-dynamic": "~9.1.9", + "@angular/router": "~9.1.9", + "@ng-bootstrap/ng-bootstrap": "^6.0.0", + "bootstrap": "^4.4.0", + "chart.js": "^2.9.3", + "component": "^1.1.0", + "rxjs": "~6.5.4", + "tslib": "^1.10.0", + "zone.js": "~0.10.2" + }, + "devDependencies": { + "@angular-devkit/build-angular": "~0.901.7", + "@angular/cli": "~9.1.7", + "@angular/compiler-cli": "~9.1.9", + "@types/jasmine": "~3.5.0", + "@types/jasminewd2": "~2.0.3", + "@types/node": "^12.11.1", + "codelyzer": "^5.1.2", + "jasmine-core": "~3.5.0", + "jasmine-spec-reporter": "~4.2.1", + "karma": "~5.0.0", + "karma-chrome-launcher": "~3.1.0", + "karma-coverage-istanbul-reporter": "~2.1.0", + "karma-jasmine": "~3.0.1", + "karma-jasmine-html-reporter": "^1.4.2", + "prettier": "2.0.5", + "karma-spec-reporter": "0.0.32", + "protractor": "~7.0.0", + "puppeteer": "^5.1.0", + "ts-node": "~8.3.0", + "tslint": "~6.1.0", + "typescript": "~3.8.3" + }, + "description": "This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.7.", + "main": "karma.conf.js", + "repository": { + "type": "git", + "url": "https://git.informatik.fh-nuernberg.de/scrum-taskboard/frontend.git" + }, + "author": "", + "license": "ISC" +} diff --git a/src/app/userstory-inner-table/userstory-inner-table.component.css b/src/app/userstory-inner-table/userstory-inner-table.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/userstory-inner-table/userstory-inner-table.component.html b/src/app/userstory-inner-table/userstory-inner-table.component.html new file mode 100644 index 0000000..2706790 --- /dev/null +++ b/src/app/userstory-inner-table/userstory-inner-table.component.html @@ -0,0 +1,90 @@ + + +
+ ID + + + + + | ++ Titel + + + + + | ++ Tasks + + + + + | ++ Status + + + + + | ++ Priorität + + + + + + | ++ Category + + + + + | ++ |
---|---|---|---|---|---|---|
{{userstory.id}} | +{{userstory.title}} | ++ + {{getNumberOfTasks(userstory)}} Tasks + + | ++ + {{getStatusTitleById(userstory.statusid)}} + + | +{{userstory.priority}} | ++ + {{getCategoryTitleById(userstory.categoryid)}} + + | ++ + + | +