capacitor storage
This commit is contained in:
@@ -7,6 +7,7 @@ import { IonicModule } from '@ionic/angular';
|
||||
import { ActivetaskPageRoutingModule } from './activetask-routing.module';
|
||||
|
||||
import { ActivetaskPage } from './activetask.page';
|
||||
import {TaskactivitiesComponent} from "../../components/taskactivities/taskactivities.component";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -15,6 +16,6 @@ import { ActivetaskPage } from './activetask.page';
|
||||
IonicModule,
|
||||
ActivetaskPageRoutingModule
|
||||
],
|
||||
declarations: [ActivetaskPage]
|
||||
declarations: [ActivetaskPage,TaskactivitiesComponent]
|
||||
})
|
||||
export class ActivetaskPageModule {}
|
||||
|
||||
@@ -42,31 +42,34 @@
|
||||
<ion-label>Send Updates</ion-label>
|
||||
</ion-segment-button>
|
||||
<ion-segment-button value="review">
|
||||
<ion-label>Completed ?</ion-label>
|
||||
<ion-label>Actions</ion-label>
|
||||
</ion-segment-button>
|
||||
</ion-segment>
|
||||
|
||||
<div *ngIf="tabs =='about'" class="about">
|
||||
<!-- <ion-label class="head_text">Mentor</ion-label>-->
|
||||
|
||||
<div class="mentor">
|
||||
<div class="left">
|
||||
<div class="bg_image men_image" [style.backgroundImage]="'url(assets/images/taskbanners/'+jobData.banner+')'"></div>
|
||||
<div style="margin-left: 10px;">
|
||||
<ion-label class="bold">Due Date</ion-label>
|
||||
<ion-label class="grey">{{jobData.delivery_date}}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <ion-icon name="chatbubble-ellipses-outline" color="primary"></ion-icon>-->
|
||||
</div>
|
||||
<!-- <div class="mentor">-->
|
||||
<!-- <div class="left">-->
|
||||
<!-- <div class="bg_image men_image" [style.backgroundImage]="'url(assets/images/taskbanners/'+jobData.banner+')'"></div>-->
|
||||
<!-- <div style="margin-left: 10px;">-->
|
||||
<!-- <ion-label class="bold">Due Date</ion-label>-->
|
||||
<!-- <ion-label class="grey">{{jobData.delivery_date}}</ion-label>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <!– <ion-icon name="chatbubble-ellipses-outline" color="primary"></ion-icon>–>-->
|
||||
<!-- </div>-->
|
||||
<div class="work_area">
|
||||
<ion-label class="head_text">Description</ion-label>
|
||||
<ion-label class="description">{{jobData.job_description}}
|
||||
</ion-label>
|
||||
|
||||
<ion-label class="head_text">Delivery Details</ion-label>
|
||||
<ion-label class="description">{{jobData.description}}
|
||||
</ion-label>
|
||||
</div>
|
||||
|
||||
<ion-label class="head_text">Description</ion-label>
|
||||
<ion-label class="description">{{jobData.job_description}}
|
||||
</ion-label>
|
||||
|
||||
<ion-label class="head_text">Delivery Details</ion-label>
|
||||
<ion-label class="description">{{jobData.description}}
|
||||
</ion-label>
|
||||
</div>
|
||||
|
||||
<div *ngIf="tabs =='lesson'" class="lesson">
|
||||
@@ -75,15 +78,15 @@
|
||||
<!-- <ion-label class="color">See all</ion-label>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<div class="sec">
|
||||
<ion-label class="grey">Due Date:{{jobData.delivery_date}}</ion-label>
|
||||
<ion-label class="color">{{jobData.contract}}</ion-label>
|
||||
</div>
|
||||
<!-- <div class="sec">-->
|
||||
<!-- <ion-label class="grey">Due Date:{{jobData.delivery_date}}</ion-label>-->
|
||||
<!-- <ion-label class="color">{{jobData.contract}}</ion-label>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<ion-card>
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Send Updates</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
<!-- <ion-card-header>-->
|
||||
<!-- <ion-card-subtitle>Send Updates</ion-card-subtitle>-->
|
||||
<!-- </ion-card-header>-->
|
||||
|
||||
<ion-card-content>
|
||||
<ion-textarea label="Your Message to Job Owner" placeholder="Type message here" [(ngModel)]='yourmessage' ></ion-textarea>
|
||||
@@ -94,66 +97,90 @@
|
||||
</ion-label>
|
||||
</ion-card>
|
||||
|
||||
<div class="video {{item.who}}" *ngFor="let item of msgListData">
|
||||
<div class="left">
|
||||
<div class="bg_image men_image" [style.backgroundImage]="'url(https://www.wrenchboard.com/assets/images/apps/msg/TEXT.svg)'"></div>
|
||||
<!-- <div class="video {{item.who}}" *ngFor="let item of msgListData">-->
|
||||
<!-- <div class="left">-->
|
||||
<!-- <div class="bg_image men_image" [style.backgroundImage]="'url(https://www.wrenchboard.com/assets/images/apps/msg/TEXT.svg)'"></div>-->
|
||||
|
||||
<div class="text">
|
||||
<ion-label class="bold_text">{{item.msg_firstname}}-{{item.msg_date}}</ion-label>
|
||||
<ion-label class="grey_text">{{item.message}}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="right">-->
|
||||
<!--<!– <ion-icon name="lock-closed-outline"></ion-icon>–>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<!-- <div class="text">-->
|
||||
<!-- <ion-label class="bold_text">{{item.msg_firstname}}-{{item.msg_date}}</ion-label>-->
|
||||
<!-- <ion-label class="grey_text">{{item.message}}</ion-label>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <!– <div class="right">–>-->
|
||||
<!-- <!–<!– <ion-icon name="lock-closed-outline"></ion-icon>–>–>-->
|
||||
<!-- <!– </div>–>-->
|
||||
<!-- </div>-->
|
||||
|
||||
</div>
|
||||
|
||||
<div *ngIf="tabs =='review'" class="review_tab">
|
||||
<div class="total">
|
||||
<div class="star-rate">
|
||||
<!-- <ion-icon name="star-half-outline" color="warning"></ion-icon>-->
|
||||
<ion-label class="bold">Task Actions</ion-label>
|
||||
</div>
|
||||
<!-- <ion-label class="color">See all</ion-label>-->
|
||||
</div>
|
||||
<!-- <div class="total">-->
|
||||
<!-- <div class="star-rate">-->
|
||||
<!-- <!– <ion-icon name="star-half-outline" color="warning"></ion-icon>–>-->
|
||||
<!-- <ion-label class="bold">Task Actions</ion-label>-->
|
||||
<!-- </div>-->
|
||||
<!-- <!– <ion-label class="color">See all</ion-label>–>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<ion-card>
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Completed the task?</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
<!-- <ion-card-header>-->
|
||||
<!-- <ion-card-subtitle>Completed the task?</ion-card-subtitle>-->
|
||||
<!-- </ion-card-header>-->
|
||||
|
||||
<ion-card-content>
|
||||
<ion-button color="secondary" expand="block" >Send completion Message</ion-button>
|
||||
<ion-grid>
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
<div color="warning" class="ion-text-wrap task_button" (click)="taskCancel()">Send cancellation request</div>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<div color="secondary" class="ion-text-wrap task_button cpl" (click)="taskCompleted()">Send completion Message</div>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
|
||||
<ion-label class="description">{{interest_status}}
|
||||
</ion-label>
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
|
||||
<ion-card color="warning">
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Cancel the task?</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
<!-- <ion-card color="warning">-->
|
||||
<!-- <ion-card-header>-->
|
||||
<!-- <ion-card-subtitle>Cancel the task?</ion-card-subtitle>-->
|
||||
<!-- </ion-card-header>-->
|
||||
|
||||
<ion-card-content>
|
||||
<ion-button color="secondary" expand="block" >Send cancellation request</ion-button>
|
||||
<ion-label class="description">{{interest_status}}
|
||||
</ion-label>
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
<!-- <ion-card-content>-->
|
||||
<!-- <ion-label class="description">{{interest_status}}-->
|
||||
<!-- </ion-label>-->
|
||||
<!-- </ion-card-content>-->
|
||||
<!-- </ion-card>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="status_description == 'PASTDUE'" >
|
||||
PAST DUE
|
||||
<ion-card color="danger">
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Task is pat due date</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content>
|
||||
<ion-button color="secondary" expand="block" >Request Extension</ion-button>
|
||||
</ion-card-content>
|
||||
</ion-card>
|
||||
</div>
|
||||
|
||||
<div *ngIf="status_description == 'REVIEW'" >
|
||||
IN REVIEW
|
||||
<ion-card color="success">
|
||||
<ion-card-header>
|
||||
<ion-card-subtitle>Task is in Review</ion-card-subtitle>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content> THis task is in review , the owner will give feedback soon. </ion-card-content>
|
||||
</ion-card>
|
||||
</div>
|
||||
|
||||
|
||||
<app-taskactivities [jobData]="jobData"></app-taskactivities>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
|
||||
ion-content {
|
||||
|
||||
.task_button{
|
||||
background-color: orange;
|
||||
height: 100px;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
font-weight: bolder;
|
||||
|
||||
}
|
||||
.cpl{
|
||||
background-color: lightgreen;
|
||||
}
|
||||
|
||||
.SENDER{
|
||||
background-color: yellow;
|
||||
margin-left: 50px;
|
||||
|
||||
@@ -136,4 +136,10 @@ export class ActivetaskPage implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
taskCompleted(){
|
||||
// alert(100);
|
||||
}
|
||||
taskCancel(){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user