This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(board): add the side-panel and filters to the board view
- Loading branch information
1 parent
c01f98a
commit 7e95914
Showing
5 changed files
with
212 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 62 additions & 49 deletions
111
src/app/work-item/work-item-board/work-item-board.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,69 @@ | ||
<div id="board_topWorkItems" class="container-fluid flex-container flex-grow-1 in-column-direction boardWrapper"> | ||
<div class="board"> | ||
<!-- board columns --> | ||
<div class="board-lane" *ngFor='let lane of lanes'> | ||
|
||
<section class="flex-container in-column-direction board-lane-column"> | ||
<div class="lane-header"> | ||
<span class="dib">{{lane.option}}</span> | ||
<span class="issueCount dib" >{{workItems | almFilterBoardList:lane.option | arrayCount}}</span> | ||
</div> | ||
<div class="container-fluid work-item-page"> | ||
<main class="row"> | ||
<aside> | ||
<div class="contents"> | ||
<side-panel></side-panel> | ||
</div> | ||
</aside> | ||
<section> | ||
<toolbar-panel></toolbar-panel> | ||
<div class="contents"> | ||
<div id="board_topWorkItems" class="container-fluid flex-container flex-grow-1 in-column-direction boardWrapper"> | ||
<div class="board"> | ||
<!-- board columns --> | ||
<div class="board-lane" *ngFor='let lane of lanes'> | ||
|
||
<div class="boardlaneWrapper"> | ||
<!--<div *ngIf="lane.option == 'new'">--> | ||
<!--<div *ngIf="loggedIn" class="boardQuickAddContainer flex-container in-column-direction">--> | ||
<!--<alm-work-item-quick-add [wilistview] = "'wi-card-view'" (close)="close($event)"></alm-work-item-quick-add>--> | ||
<!--</div>--> | ||
<!--</div>--> | ||
<div class="board-card flex-container in-column-direction flex-grow-1" *ngFor='let item of workItems | almFilterBoardList:lane.option' (click)="gotoDetail(item)"> | ||
<div> | ||
<div class="pull-left"> | ||
<span class="wi-type-icon" almIcon [iconType]="item.relationships?.baseType?.data?.id"></span> | ||
<section class="flex-container in-column-direction board-lane-column"> | ||
<div class="lane-header"> | ||
<span class="dib">{{lane.option}}</span> | ||
<span class="issueCount dib" >{{workItems | almFilterBoardList:lane.option | arrayCount}}</span> | ||
</div> | ||
<span class="pull-left"> {{item.id}} </span> | ||
<span dropdown> | ||
<button class="pull-right btn btn-link color-grey" type="button" dropdownToggle> | ||
<span class="fa fa-ellipsis-v"></span> | ||
</button> | ||
<ul class="dropdown-menu-right" dropdownMenu> | ||
<li><a class="workItemList_MoveTop">Move to Top</a></li> | ||
<li><a class="workItemList_MoveBottom">Move to Bottom</a></li> | ||
<li class="divider" role="presentation"></li> | ||
<li><a class="workItemList_Open" href="./detail/429">Open</a></li> | ||
<li><a class="workItemList_Delete">Delete</a></li> | ||
<li><a class="workItemList_Backlog">Move to Backlog</a></li> | ||
</ul> | ||
</span> | ||
</div> | ||
<div> | ||
<div class="col-md-10 col-sm-10 col-xs-9"> | ||
<p class="multiline-truncation">{{ item.attributes['system.title'] }}</p> | ||
</div> | ||
<div class="col-md-2 col-sm-2 col-xs-3 user-avatar pull-right"> | ||
<img *ngIf="item.relationalData?.assignees?.length" | ||
src="{{item.relationalData?.assignees[0]?.attributes.imageURL + '&s=20'}}" | ||
onError="this.src='https://avatars0.githubusercontent.com/u/563119?v=3&s=20'" /> | ||
<span *ngIf="!item.relationalData?.assignees?.length" class="fa fa-user not-assigned-user-icon pull-right"></span> | ||
|
||
<div class="boardlaneWrapper"> | ||
<!--<div *ngIf="lane.option == 'new'">--> | ||
<!--<div *ngIf="loggedIn" class="boardQuickAddContainer flex-container in-column-direction">--> | ||
<!--<alm-work-item-quick-add [wilistview] = "'wi-card-view'" (close)="close($event)"></alm-work-item-quick-add>--> | ||
<!--</div>--> | ||
<!--</div>--> | ||
<div class="board-card flex-container in-column-direction flex-grow-1" *ngFor='let item of workItems | almFilterBoardList:lane.option' (click)="gotoDetail(item)"> | ||
<div> | ||
<div class="pull-left"> | ||
<span class="wi-type-icon" almIcon [iconType]="item.relationships?.baseType?.data?.id"></span> | ||
</div> | ||
<span class="pull-left"> {{item.id}} </span> | ||
<span dropdown> | ||
<button class="pull-right btn btn-link color-grey" type="button" dropdownToggle> | ||
<span class="fa fa-ellipsis-v"></span> | ||
</button> | ||
<ul class="dropdown-menu-right" dropdownMenu> | ||
<li><a class="workItemList_MoveTop">Move to Top</a></li> | ||
<li><a class="workItemList_MoveBottom">Move to Bottom</a></li> | ||
<li class="divider" role="presentation"></li> | ||
<li><a class="workItemList_Open" href="./detail/429">Open</a></li> | ||
<li><a class="workItemList_Delete">Delete</a></li> | ||
<li><a class="workItemList_Backlog">Move to Backlog</a></li> | ||
</ul> | ||
</span> | ||
</div> | ||
<div> | ||
<div class="col-md-10 col-sm-10 col-xs-9"> | ||
<p class="multiline-truncation">{{ item.attributes['system.title'] }}</p> | ||
</div> | ||
<div class="col-md-2 col-sm-2 col-xs-3 user-avatar pull-right"> | ||
<img *ngIf="item.relationalData?.assignees?.length" | ||
src="{{item.relationalData?.assignees[0]?.attributes.imageURL + '&s=20'}}" | ||
onError="this.src='https://avatars0.githubusercontent.com/u/563119?v=3&s=20'" /> | ||
<span *ngIf="!item.relationalData?.assignees?.length" class="fa fa-user not-assigned-user-icon pull-right"></span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
</div> | ||
<router-outlet></router-outlet> | ||
</section> | ||
</main> | ||
</div> | ||
|
||
<router-outlet></router-outlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters