fixed views

This commit is contained in:
Eberhard Mayer 2017-09-11 13:57:04 +02:00
parent cb91b5cfb2
commit 70f391398f
9 changed files with 6155 additions and 2739 deletions

8870
admin/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,12 +24,13 @@
"bootstrap": "^3.3.7",
"bootstrap-vertical-tabs": "^1.2.2",
"core-js": "^2.4.1",
"ngx-bootstrap": "^1.7.1",
"magic-string": "^0.22.4",
"ngx-bootstrap": "^1.9.3",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.0.3",
"@angular/cli": "1.4.0",
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",

View File

@ -2,7 +2,8 @@ export class Category {
constructor(
public id: string,
public name: string,
public owner: string,
public description: string,
public priorty: number,
public priority: number,
public serviceLevel: string) { }
}

View File

@ -11,7 +11,7 @@ export class CategoryeditorComponent implements OnInit {
constructor() { }
ngOnInit() {
this.categorySelected = new Category('', '', '', 0,'');
this.categorySelected = new Category('', '', '', '', 0,'');
}
@Input()

View File

@ -9,7 +9,7 @@ import { Category } from '../categoriesadministration/category';
@Injectable()
export class CategoryService {
private categoryServiceUrl = environment.taskanaRestUrl + '/v1/categories'; // URL to web API
private categoryServiceUrl = environment.taskanaRestUrl + '/v1/classifications'; // URL to web API
constructor(private http: Http) { }
getCategories(): Observable<Category[]> {
return this.http.get(this.categoryServiceUrl, this.createAuthorizationHeader())

View File

@ -24,12 +24,12 @@
"chart.js": "^2.5.0",
"core-js": "^2.4.1",
"ng2-charts": "^1.5.0",
"ngx-bootstrap": "^1.6.6",
"ngx-bootstrap": "^1.9.3",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.0.3",
"@angular/cli": "1.4.0",
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",

View File

@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.3.RELEASE</version>
<version>1.5.6.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@ -23,12 +23,12 @@
"bootstrap": "^3.3.7",
"core-js": "^2.4.1",
"ng2-auto-complete": "^0.12.0",
"ngx-bootstrap": "^1.6.6",
"ngx-bootstrap": "^1.9.3",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular/cli": "1.0.3",
"@angular/cli": "1.4.0",
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",

View File

@ -7,7 +7,7 @@
<th class="clickable" (click)="orderTasks('state')">State</th>
<th>Actions</th>
</thead>
<tr *ngFor="let task of tasks | orderTasksBy: columnForOrdering">
<tr *ngFor="let task of tasks">
<td>{{ task.id }}</td>
<td>{{ task.name }}</td>
<td>{{ task.due | date:'medium' }}</td>