production
haroon amjad 6 years ago
parent 32b9ce319c
commit 8915e67b00

@ -20,6 +20,7 @@
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="fullscreen" value="false" />
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:networkSecurityConfig="@xml/network_security_config" />

@ -1,51 +1,56 @@
<ion-header >
<ion-toolbar class="header-toolbar">
<ion-title color="light"> {{ts.trPK('addAttach','title')}}</ion-title>
<ion-buttons slot="start">
<nav-buttons></nav-buttons>
</ion-buttons>
</ion-toolbar>
<ion-header>
<ion-toolbar class="header-toolbar">
<ion-title color="light"> {{ts.trPK('addAttach','title')}}</ion-title>
<ion-buttons slot="primary">
<ion-button style="background: none !important;" (click)="closeBtnModal()">
<ion-icon slot="icon-only" name="close"></ion-icon>
</ion-button>
</ion-buttons>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-card>
<ion-card-header class="boxHdr">
<div class="hrTitle"> {{ts.trPK('addAttach','title')}}</div>
<div class="fileDiv"> <input end class="inputfile" type="file" ng2FileSelect [uploader]="uploader" (change)="onFileSelected($event)" />
<label end for="file"><ion-icon name="add"></ion-icon></label></div>
<ion-card>
<ion-card-header class="boxHdr">
<div class="hrTitle"> {{ts.trPK('addAttach','title')}}</div>
<div class="fileDiv"> <input end class="inputfile" type="file" ng2FileSelect [uploader]="uploader"
(change)="onFileSelected($event)" />
<label end for="file">
<ion-icon name="add"></ion-icon>
</label></div>
</ion-card-header>
<ion-card-content>
<ion-grid class=" gridAH" *ngIf="uploader?.queue?.length > 0">
<ion-row class="rowAH titleH">
<ion-col size="4">
<label class="Header" for=""> {{ts.trPK('addAttach','name')}}</label>
</ion-col>
<ion-col size="4">
<label class="Header" for="">{{ts.trPK('addAttach','size')}} </label>
</ion-col>
<ion-col size="4">
<label class="Header" for=""> {{ts.trPK('addAttach','remove')}} </label>
</ion-col>
</ion-row>
<ion-row class="rowAH" *ngFor="let item of uploader.queue">
<ion-col size="4">
<label for="">{{ item?.file?.name }}</label>
</ion-col>
<ion-col size="4">
<label *ngIf="uploader.options.isHTML5">{{ item?.file?.size/1024/1024 | number:'.2' }} MB</label>
</ion-col>
<ion-col size="4">
<button class="iconButton" ion-button (click)="removeFile(item)"> <img class="imgSize"
src="../assets/imgs/deletegray.png"></button>
</ion-col>
</ion-row>
</ion-grid>
</ion-card-content>
<ion-card-content>
<ion-grid class=" gridAH" *ngIf="uploader?.queue?.length > 0">
<ion-row class="rowAH titleH">
<ion-col size="4">
<label class="Header" for=""> {{ts.trPK('addAttach','name')}}</label>
</ion-col>
<ion-col size="4">
<label class="Header" for="">{{ts.trPK('addAttach','size')}} </label>
</ion-col>
<ion-col size="4">
<label class="Header" for=""> {{ts.trPK('addAttach','remove')}} </label>
</ion-col>
</ion-row>
<ion-row class="rowAH" *ngFor="let item of uploader.queue">
<ion-col size="4">
<label for="">{{ item?.file?.name }}</label>
</ion-col>
<ion-col size="4">
<label *ngIf="uploader.options.isHTML5">{{ item?.file?.size/1024/1024 | number:'.2' }}
MB</label>
</ion-col>
<ion-col size="4">
<button class="iconButton" ion-button (click)="removeFile(item)"> <img class="imgSize"
src="../assets/imgs/deletegray.png"></button>
</ion-col>
</ion-row>
</ion-grid>
</ion-card-content>
</ion-card>
</ion-content>
<ion-footer>
<div class="centerDiv">
<ion-button color="customnavy" (click)="OkBtnModal()">{{ts.trPK('general','ok')}} </ion-button>
</div>
<div class="centerDiv">
<ion-button color="customnavy" (click)="OkBtnModal()">{{ts.trPK('general','ok')}} </ion-button>
</div>
</ion-footer>

@ -110,7 +110,7 @@ export class AbsenceAttachmentComponent implements OnInit {
} // end ok button
closeBtnModal() {
// this.viewCtrl.dismiss("cancel");
this.modalCtrl.dismiss();
}
onFileSelected(input) {

@ -20,8 +20,8 @@ export class ConnectorService {
// public static host = 'http://10.50.100.113:6060/'; // development service
// public static host = 'https://hmgwebservices.com/';
public static host = 'http://10.50.100.198:6060/'; // development service
public static host = 'https://hmgwebservices.com/';
// public static host = 'http://10.50.100.198:6060/'; // development service
/* public static host = 'http://10.200.204.101:6060/'; // video conference development
public static host = 'http://10.50.100.198:6060/';
public static host = 'http://10.50.100.198:6060/'; // development service

@ -1,7 +1,9 @@
<ion-header>
<ion-toolbar class="header-toolbar">
<nav-buttons></nav-buttons>
<ion-title color="light">{{ 'vacation-rule, notification-type' | translate}}</ion-title>
<ion-buttons slot="start">
<ion-back-button color="light" class="btnBack" defaultHref="/vacation-rule/vacation-type" ></ion-back-button>
</ion-buttons>
<ion-title color="light">{{ 'vacation-rule, notification-type' | translate}}</ion-title>
</ion-toolbar>
</ion-header>

@ -2,6 +2,11 @@
<ion-toolbar class="header-toolbar">
<!-- <nav-buttons></nav-buttons> -->
<ion-title color="light">{{ 'vacation-rule, search-employee' | translate}}</ion-title>
<ion-buttons slot="primary">
<ion-button style="background: none !important;" (click)="closePage()">
<ion-icon slot="icon-only" name="close"></ion-icon>
</ion-button>
</ion-buttons>
</ion-toolbar>
</ion-header>

@ -1,6 +1,8 @@
<ion-header>
<ion-toolbar class="header-toolbar">
<nav-buttons></nav-buttons>
<ion-buttons slot="start">
<ion-back-button color="light" class="btnBack" defaultHref="/vacation-rule/home" ></ion-back-button>
</ion-buttons>
<ion-title color="light">{{ 'vacation-rule, vacation-type' | translate}}</ion-title>
</ion-toolbar>
</ion-header>

Loading…
Cancel
Save