fixed views
This commit is contained in:
parent
cb91b5cfb2
commit
70f391398f
File diff suppressed because it is too large
Load Diff
|
@ -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",
|
||||
|
|
|
@ -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) { }
|
||||
}
|
|
@ -11,7 +11,7 @@ export class CategoryeditorComponent implements OnInit {
|
|||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
this.categorySelected = new Category('', '', '', 0,'');
|
||||
this.categorySelected = new Category('', '', '', '', 0,'');
|
||||
}
|
||||
|
||||
@Input()
|
||||
|
|
|
@ -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())
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue