Fairoj : minor issues and copyright year text changes

This commit is contained in:
venbatechnologies@gmail.com 2020-10-22 19:07:32 +05:30
parent 0dc557c1aa
commit 9e881880c8
7 changed files with 18 additions and 9 deletions

View File

@ -1,4 +1,5 @@
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { LoaderService } from 'app/shared/loaderService/loader.service';
import { Ng2ImgMaxService } from 'ng2-img-max';
@Component({
@ -10,7 +11,7 @@ export class CaptureBtnComponent implements OnInit {
@Input() addMoreBtn;
@Output() imageDataEmitter = new EventEmitter
constructor(private ng2ImgMax:Ng2ImgMaxService) { }
constructor(private ng2ImgMax:Ng2ImgMaxService,private loaderService:LoaderService) { }
ngOnInit(): void {
console.log(this.addMoreBtn)
@ -18,15 +19,19 @@ export class CaptureBtnComponent implements OnInit {
capturedImage(event){
console.log(event);
let imageData= event.target.files[0]
this.loaderService.showMatSpinnerDialog();
if(imageData) {
this.ng2ImgMax.resizeImage(imageData, 450, 650).subscribe(
result => {
this.loaderService.closeMatSpinnerDialog();
this.imageDataEmitter.emit(result)
},
error => {
console.log('😢 Oh no!', error);
this.loaderService.closeMatSpinnerDialog();
}
);
}
}
capture(event){
event.preventDefault();

View File

@ -12,12 +12,13 @@
// }
::ng-deep .mat-dialog-container{
::ng-deep{ .no-padding > .mat-dialog-container{
@media (max-width: 768px) {
padding: 0px !important;
will-change: transform, opacity;
}
}
}
.mat-button, .mat-raised-button{
background-color: #e24533;
color: white;

View File

@ -618,7 +618,7 @@ fill="clear">
</ion-button>
<mat-label *ngIf="getDocsSightedGroup['value'].other_doc_pic == ''" style="font-size: 11px">Capture the
Image </mat-label> -->
<mat-error align="end" style="font-size:12px" *ngIf="getDocsSightedGroup.controls['other_doc_pic'].errors?.required || getEmployer_details.controls['other_doc_pic'].touched">Required</mat-error>
<mat-error align="end" style="font-size:12px" *ngIf="getDocsSightedGroup.controls['other_doc_pic'].errors?.required || getDocsSightedGroup.controls['other_doc_pic'].touched">Required</mat-error>
</div>
</div>

View File

@ -52,10 +52,11 @@
// margin-top: 16px;
width: 100%;
}
::ng-deep .mat-dialog-container{
::ng-deep{ .no-padding > .mat-dialog-container{
@media (max-width: 768px) {
padding: 0px !important;
}
}
}
.whole_form {

View File

@ -1,9 +1,9 @@
.mat-list-item-content,.mat-list-base{
padding:0px !important;
}
::ng-deep .mat-dialog-container{
::ng-deep{ .no-padding > .mat-dialog-container{
@media (max-width: 768px) {
padding: 0px !important;
// will-change: transform, opacity;
}
}
}

View File

@ -326,7 +326,8 @@ export class ViewPdComponent implements OnInit, OnDestroy {
pdData.pd_id = childData.assigned_pd;
const dialogSchedule = this.dialog.open(SchedulePdComponent, {
data: pdData,
disableClose: true
disableClose: true,
panelClass:'no-padding'
});
dialogSchedule.afterClosed()
.subscribe(dataresult => {
@ -432,6 +433,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
width: '100%',
disableClose: false,
closeOnNavigation:true,
panelClass:'no-padding'
});
dialogRef.afterClosed()
.subscribe(dataresult => {

View File

@ -42,7 +42,7 @@
<footer class="page-footer">
<!-- © Copyright -->
<div class="footer-copyright text-center">&#169; 2018
<div class="footer-copyright text-center">&#169; 2020
<a href="http://www.sineedge.com" target="_blank"> SineEdge Consulting Pvt Ltd. </a> All rights are reserved
</div>
<!-- © Copyright -->