Added first part of table redesign
This commit is contained in:
parent
5ceee645b9
commit
86c9e21d3f
@ -46,13 +46,13 @@
|
|||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<th (click)="sortByPrio()" class="sortable">
|
<th (click)="sortByPrio()" class="sortable">
|
||||||
<span>Priorität</span>
|
<div ngbDropdown class="d-inline-block">
|
||||||
<label class="pl-3" (click)="$event.stopPropagation()">
|
<button class="btn btn-outline-primary" id="dropdownBasic1" ngbDropdownToggle>Priorität</button>
|
||||||
<select [(ngModel)]="filterPriority">
|
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
|
||||||
<option [ngValue]="null" selected="selected"></option>
|
<li [ngValue]="null" selected="selected">All</li>
|
||||||
<option *ngFor="let p of getAllPriorities()" [ngValue]="p">{{p}}</option>
|
<li *ngFor="let p of getAllPriorities()" [ngValue]="p">{{p}}</li>
|
||||||
</select>
|
</div>
|
||||||
</label>
|
</div>
|
||||||
<span *ngIf="sortBy === 'priority'" (click)="sortByPrio()" class="pl-3">
|
<span *ngIf="sortBy === 'priority'" (click)="sortByPrio()" class="pl-3">
|
||||||
<span *ngIf="sortDescending">▲</span>
|
<span *ngIf="sortDescending">▲</span>
|
||||||
<span *ngIf="sortDescending === false">▼</span>
|
<span *ngIf="sortDescending === false">▼</span>
|
||||||
@ -102,8 +102,12 @@
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button class="btn btn-secondary m-2" (click)="openTaskForm(task)">Bearbeiten</button>
|
<button type="button" rel="tooltip" (click)="openTaskForm(task)" class="btn btn-success btn-sm btn-icon">
|
||||||
<button class="btn btn-secondary m-2" (click)="deleteTask(task)">Löschen</button>
|
<i class="fa fa-pencil-alt"></i>
|
||||||
|
</button>
|
||||||
|
<button type="button" rel="tooltip" (click)="deleteTask(task)" class="btn btn-danger btn-sm btn-icon">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user