-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #538 from sohailamjad12/single_select
Karma Quest: Re assign single select ui implemented
- Loading branch information
Showing
6 changed files
with
699 additions
and
7 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
58 changes: 58 additions & 0 deletions
58
...outes/home/components/request-list/single-assign-popup/single-assign-popup.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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<div class="main-container"> | ||
<div class="full-table-container" *ngIf="requestTypeData?.length > 0"> | ||
<form [formGroup]="requestForm"> | ||
<div class="header-section"> | ||
<div class="title"> | ||
<h2 class="titleText">{{'Re-Assign'}}</h2> | ||
</div> | ||
<div class="actions"> | ||
<button mat-button type="button" class="search-btn" [ngClass]="{'disableBtn': !requestForm.valid}" (click)="onSubmitAssign()" [disabled]="!requestForm.valid" >{{submitAssign}}</button> | ||
|
||
<button mat-button class="cancel" (click)="cancel()"> | ||
<span>Cancel</span> | ||
</button> | ||
|
||
</div> | ||
|
||
</div> | ||
<!-- <div class="input-group rounded search-btns"> | ||
<input type="search" class="form-control rounded search-int" formControlName="orgSearch" placeholder="Search" aria-label="Search" (keyup)="searchText('orgSearch')" aria-describedby="search-addon" /> | ||
<span class="input-group-text border-0" id="search-addon"> | ||
<i class="fas fa-search"></i> | ||
</span> | ||
</div> --> | ||
|
||
<mat-radio-group formControlName="assignee"> | ||
<div class="nav-container"> | ||
<div class="sidenav-content"> | ||
<div class="table-class"> | ||
<table mat-table [dataSource]="dataSource"> | ||
<ng-container matColumnDef="select"> | ||
<th mat-header-cell *matHeaderCellDef class="row-heading radio-width"></th> | ||
<td mat-cell class="title-class" *matCellDef="let provider"> | ||
<mat-radio-button [value]="provider" ></mat-radio-button> | ||
</td> | ||
</ng-container> | ||
|
||
<ng-container matColumnDef="name"> | ||
<th mat-header-cell *matHeaderCellDef class="row-heading">Provider Name</th> | ||
<td mat-cell class="title-class" *matCellDef="let provider">{{ provider?.orgName }}</td> | ||
</ng-container> | ||
|
||
|
||
<tr mat-header-row *matHeaderRowDef="displayedColumns" class="table-row-data"></tr> | ||
<tr mat-row *matRowDef="let row; columns: displayedColumns" [ngClass]="{'row-bg':row === this.requestTypeData[0]}"></tr> | ||
</table> | ||
<!-- <mat-paginator [pageSize]=5 [length]="this.requestTypeData?.length" [pageSizeOptions]="[5,10,20]" | ||
(page)="onChangePage($event)"></mat-paginator> --> | ||
<mat-paginator [pageSizeOptions]="[5,10,20]" showFirstLastButtons | ||
></mat-paginator> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</mat-radio-group> | ||
</form> | ||
</div> | ||
</div> | ||
|
Oops, something went wrong.