owners styles
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
<ion-select [(ngModel)]='job_duration' label="Stacked label" label-placement="stacked">
|
||||
<ion-select class="job_duration" [(ngModel)]='job_duration' label="Duration" label-placement="stacked">
|
||||
<ion-select-option value="0" selected="true">Select Duration</ion-select-option>
|
||||
<ion-select-option value="1">1 Day</ion-select-option>
|
||||
<ion-select-option value="2">2 Days</ion-select-option>
|
||||
@@ -88,7 +88,7 @@
|
||||
(click)="sendOfferToMarket()">Place Task to the Market</ion-button></ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col>{{assign_mak_result}}</ion-col>
|
||||
<ion-col class="result">{{assign_mak_result}}</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<ion-col>
|
||||
<ion-list>
|
||||
<ion-item>
|
||||
<ion-input label="Email of recipient" [(ngModel)]='job_recipient' placeholder="Enter Recipient Email" maxlength="35"></ion-input>
|
||||
<ion-input class="job_recipient" label="Email of recipient" [(ngModel)]='job_recipient' placeholder="Enter Recipient Email" maxlength="35"></ion-input>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</ion-col>
|
||||
@@ -122,7 +122,7 @@
|
||||
(click)="sendOfferToIndividual()">Send offer to individual</ion-button></ion-col>
|
||||
</ion-row>
|
||||
<ion-row>
|
||||
<ion-col>{{assign_ind_result}}</ion-col>
|
||||
<ion-col class="result">{{assign_ind_result}}</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
|
||||
|
||||
@@ -97,6 +97,15 @@ ion-content {
|
||||
font-weight: bold;
|
||||
color: #4a0b4c;
|
||||
}
|
||||
.job_recipient,
|
||||
.job_duration{
|
||||
background-color: aliceblue;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.result{
|
||||
font-weight: bold;
|
||||
color: #2dd36f;
|
||||
}
|
||||
}
|
||||
|
||||
.about {
|
||||
|
||||
@@ -54,6 +54,7 @@ export class OwnersjobPage implements OnInit {
|
||||
});
|
||||
|
||||
if ( this.job_recipient== undefined || !this.validateEmail( this.job_recipient)){
|
||||
this.job_recipient='';
|
||||
alert("Enter valid email");
|
||||
return;
|
||||
}
|
||||
@@ -79,7 +80,8 @@ export class OwnersjobPage implements OnInit {
|
||||
this.assigResult = assigResult;
|
||||
console.log("assigResult RETURN->", this.assigResult);
|
||||
if ( this.assigResult != undefined && this.assigResult.internal_return > 0){
|
||||
this.assign_ind_result = "Task sent to the email;"
|
||||
this.assign_ind_result = "Task sent to the email - " +this.job_recipient;
|
||||
this.job_recipient='';
|
||||
setTimeout(() => {
|
||||
this.assign_ind_result ='';
|
||||
}, 3000);
|
||||
|
||||
Reference in New Issue
Block a user