You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.4 KiB
HTML
72 lines
2.4 KiB
HTML
<ion-header>
|
|
<ion-toolbar class="header-toolbar-new">
|
|
<ion-buttons slot="start">
|
|
<nav-buttons backLink="/home"></nav-buttons>
|
|
</ion-buttons>
|
|
<ion-title>WORK LIST</ion-title>
|
|
<!-- <div class="profile-image-container" (click)="openProfilePage()">
|
|
<img [src]="userImage"/>
|
|
</div> -->
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
|
|
<ion-content>
|
|
<div class="contentBg">
|
|
<div class="result-graph">
|
|
<div class="request-heading">
|
|
<span>Open Request Analysis</span>
|
|
</div>
|
|
<div class="result-text-container">
|
|
<h2>{{totalRequestCount}}</h2>
|
|
<span>TOTAL <br> OPEN REQUEST</span>
|
|
</div>
|
|
<p-chart class="today-graph" type="doughnut" [data]="data" [options]="options"></p-chart>
|
|
</div>
|
|
|
|
<ion-row class="filters-row">
|
|
<ion-slides [options]="slideOptsOne">
|
|
<ion-slide *ngFor="let filter of filters; let i=index">
|
|
<app-card-filter
|
|
[value]="filter.value"
|
|
[text]="filter.name"
|
|
[color]="filter.color"
|
|
[active]="filter.active"
|
|
(click)="activeFilter(i)"
|
|
></app-card-filter>
|
|
</ion-slide>
|
|
</ion-slides>
|
|
</ion-row>
|
|
|
|
<ion-row class="search-container">
|
|
<ion-col style="float: left;" size=[6] *ngIf="showSearchButton && selectedFilter === 'ALL'" (click)="clearSearch()">
|
|
<span style="margin-left: 5px;">Clear Search</span>
|
|
<ion-icon name="close" ></ion-icon>
|
|
</ion-col>
|
|
<ion-col style="float: right;" size=[6] (click)="openSearchModal()" *ngIf="selectedFilter === 'ALL'">
|
|
<ion-icon name="search" ></ion-icon>
|
|
<span>Advanced Search</span>
|
|
</ion-col>
|
|
|
|
</ion-row>
|
|
|
|
<div [ngClass]="isEmptyObject() ? 'work-list-container' : ''">
|
|
<div *ngFor="let data of showFormattedData | keyvalue; let i = index">
|
|
<span class="date-span">{{data.key}}</span>
|
|
<div class="date-data" *ngFor="let workList of data.value; let j = index">
|
|
<p>{{workList.SUBJECT}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="no-data-available" *ngIf="!isEmptyObject()">
|
|
<span>No Data Available</span>
|
|
</div>
|
|
</div>
|
|
|
|
<ion-infinite-scroll *ngIf="selectedFilter === 'ALL'" (ionInfinite)="doInfinite($event)">
|
|
<ion-infinite-scroll-content></ion-infinite-scroll-content>
|
|
</ion-infinite-scroll>
|
|
|
|
</ion-content>
|
|
|