Fix more minor code issues
This commit is contained in:
parent
b27f272719
commit
971994aee0
@ -12,6 +12,11 @@
|
|||||||
<p>Dashboard</p>
|
<p>Dashboard</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a [routerLink]="['backlog']">
|
||||||
|
<p>Backlog</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a [routerLink]="['sprints']">
|
<a [routerLink]="['sprints']">
|
||||||
<p>Sprints</p>
|
<p>Sprints</p>
|
||||||
|
@ -1,32 +1,36 @@
|
|||||||
<div class="card" style="width: 100%;">
|
<div class="card" style="width: 100%;">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div style="text-align: right;">
|
<div style="text-align: right;">
|
||||||
<i class="fa fa-times fa-2x" (click)="onClose()"></i>
|
<i class="fa fa-times fa-2x" (click)="onClose()"></i>
|
||||||
|
</div>
|
||||||
|
<h4 class="card-title">Neuen Sprint anlegen</h4>
|
||||||
|
<form (ngSubmit)="onSubmit()">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="Title">Titel</label>
|
||||||
|
<input type="text" class="form-control" id="Title" required name="title" [(ngModel)]="sprint.title"
|
||||||
|
id="titleField">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="date">Startdatum</label>
|
||||||
|
<input #startDate type="Date" class="form-control" id="Date" required name="date"
|
||||||
|
[value]="sprint.startDate | date: 'yyyy-MM-dd'" (change)="sprint.startDate=startDate.value"
|
||||||
|
id="startDateField">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="Date">Enddatum</label>
|
||||||
|
<input #endDate type="date" class="form-control" id="Date" required name="date"
|
||||||
|
[value]="sprint.endDate | date: 'yyyy-MM-dd'" (change)="sprint.endDate=endDate.value"
|
||||||
|
id="endDateField">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<button (click)="onClose()" type="dismiss" class="btn btn-secondary"
|
||||||
|
data-dismiss="modal">Abbrechen
|
||||||
|
</button>
|
||||||
|
<button type="submit" class="btn btn-primary">Sprint starten</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<h4 class="card-title">Neuen Sprint anlegen</h4>
|
</div>
|
||||||
<form (ngSubmit)="onSubmit()">
|
</div>
|
||||||
<div class="form-group">
|
|
||||||
<label for="Title">Titel</label>
|
|
||||||
<input type="text" class="form-control" id="Title" required name="title" [(ngModel)]="sprint.title"
|
|
||||||
id="titleField">
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="date">Startdatum</label>
|
|
||||||
<input #startDate type="Date" class="form-control" id="Date" required name="date" [value]="sprint.startDate | date: 'yyyy-MM-dd'" (change)="sprint.startDate=startDate.value"
|
|
||||||
id="titleField">
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="Date">Enddatum</label>
|
|
||||||
<input #endDate type="date" class="form-control" id="Date" required name="date" [value]="sprint.endDate | date: 'yyyy-MM-dd'" (change)="sprint.endDate=endDate.value"
|
|
||||||
id="titleField">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<button (click)="onClose()" type="dismiss" class="btn btn-secondary"
|
|
||||||
data-dismiss="modal">Abbrechen</button>
|
|
||||||
<button type="submit" class="btn btn-primary">Sprint starten</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div ngbDropdown class="dropdown" [autoClose]="false">
|
<div ngbDropdown class="dropdown" [autoClose]="false">
|
||||||
<button ngbDropdownToggle class="btn btn-secondary dropdown-toggle" type="button"
|
<button ngbDropdownToggle class="btn btn-secondary dropdown-toggle" type="button"
|
||||||
id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true"
|
id="dropdownMenu3" data-toggle="dropdown" aria-haspopup="true"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
Status: {{getStatusTitleById(task.statusid)}}
|
Status: {{getStatusTitleById(task.statusid)}}
|
||||||
</button>
|
</button>
|
||||||
@ -83,7 +83,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div ngbDropdown class="dropdown" [autoClose]="true">
|
<div ngbDropdown class="dropdown" [autoClose]="true">
|
||||||
<button ngbDropdownToggle class="btn btn-secondary dropdown-toggle" type="button"
|
<button ngbDropdownToggle class="btn btn-secondary dropdown-toggle" type="button"
|
||||||
id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true"
|
id="dropdownMenu4" data-toggle="dropdown" aria-haspopup="true"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
Bearbeiter: {{getAuthorById(task.assignedtoid)}}
|
Bearbeiter: {{getAuthorById(task.assignedtoid)}}
|
||||||
</button>
|
</button>
|
||||||
@ -115,4 +115,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -133,7 +133,7 @@ export class TaskFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
getAllPriorities(): string[] {
|
getAllPriorities(): Priority[] {
|
||||||
return Object.values(Priority);
|
return Object.values(Priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ export class UserstoryFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
getAllPriorities(): string[] {
|
getAllPriorities(): Priority[] {
|
||||||
return Object.values(Priority);
|
return Object.values(Priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user