Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ForexWeb
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amal
ForexWeb
Commits
7884a9ca
Commit
7884a9ca
authored
Mar 07, 2019
by
Adarsh K
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into adarsh
parents
16bebfd3
c7b59446
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
172 additions
and
21 deletions
+172
-21
package-lock.json
package-lock.json
+21
-7
addforex.component.html
src/app/checker/addforex/addforex.component.html
+5
-1
addprovider.component.html
src/app/checker/addprovider/addprovider.component.html
+3
-0
currency-add.component.html
src/app/checker/currency-add/currency-add.component.html
+4
-0
currency-edit.component.html
src/app/checker/currency-edit/currency-edit.component.html
+9
-2
currency-edit.component.scss
src/app/checker/currency-edit/currency-edit.component.scss
+25
-0
currency-edit.component.ts
src/app/checker/currency-edit/currency-edit.component.ts
+1
-1
currency-list.component.html
src/app/checker/currency-list/currency-list.component.html
+3
-0
currency.component.html
src/app/checker/currency/currency.component.html
+5
-2
currency.component.scss
src/app/checker/currency/currency.component.scss
+8
-4
editforex.component.html
src/app/checker/editforex/editforex.component.html
+3
-0
editprovider.component.html
src/app/checker/editprovider/editprovider.component.html
+3
-0
forexprovider.component.html
src/app/checker/forexprovider/forexprovider.component.html
+3
-0
home.component.html
src/app/checker/home/home.component.html
+3
-0
index.component.html
src/app/checker/index/index.component.html
+0
-1
addprovider.component.html
src/app/delivery/addprovider/addprovider.component.html
+3
-0
editprovider.component.html
src/app/delivery/editprovider/editprovider.component.html
+3
-0
manageprovider.component.html
...app/delivery/manageprovider/manageprovider.component.html
+3
-0
transaction.component.html
src/app/delivery/transaction/transaction.component.html
+3
-0
addprovider.component.html
src/app/forex/addprovider/addprovider.component.html
+3
-0
editprovider.component.html
src/app/forex/editprovider/editprovider.component.html
+3
-0
manageprovider.component.html
src/app/forex/manageprovider/manageprovider.component.html
+3
-0
transaction.component.html
src/app/forex/transaction/transaction.component.html
+3
-0
login.component.html
src/app/start/login/login.component.html
+9
-0
login.component.scss
src/app/start/login/login.component.scss
+8
-0
login.component.ts
src/app/start/login/login.component.ts
+10
-0
asset_logout.png
src/assets/images/asset_logout.png
+0
-0
translation.scss
src/assets/styles/translation.scss
+6
-0
server.config.ts
src/environments/server.config.ts
+2
-2
index.html
src/index.html
+1
-1
styles.scss
src/styles.scss
+16
-0
No files found.
package-lock.json
View file @
7884a9ca
...
@@ -3759,12 +3759,14 @@
...
@@ -3759,12 +3759,14 @@
"balanced-match"
:
{
"balanced-match"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"brace-expansion"
:
{
"brace-expansion"
:
{
"version"
:
"1.1.11"
,
"version"
:
"1.1.11"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"balanced-match"
:
"^1.0.0"
,
"balanced-match"
:
"^1.0.0"
,
"concat-map"
:
"0.0.1"
"concat-map"
:
"0.0.1"
...
@@ -3779,17 +3781,20 @@
...
@@ -3779,17 +3781,20 @@
"code-point-at"
:
{
"code-point-at"
:
{
"version"
:
"1.1.0"
,
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"concat-map"
:
{
"concat-map"
:
{
"version"
:
"0.0.1"
,
"version"
:
"0.0.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"console-control-strings"
:
{
"console-control-strings"
:
{
"version"
:
"1.1.0"
,
"version"
:
"1.1.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"core-util-is"
:
{
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
...
@@ -3906,7 +3911,8 @@
...
@@ -3906,7 +3911,8 @@
"inherits"
:
{
"inherits"
:
{
"version"
:
"2.0.3"
,
"version"
:
"2.0.3"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"ini"
:
{
"ini"
:
{
"version"
:
"1.3.5"
,
"version"
:
"1.3.5"
,
...
@@ -3918,6 +3924,7 @@
...
@@ -3918,6 +3924,7 @@
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"number-is-nan"
:
"^1.0.0"
"number-is-nan"
:
"^1.0.0"
}
}
...
@@ -3932,6 +3939,7 @@
...
@@ -3932,6 +3939,7 @@
"version"
:
"3.0.4"
,
"version"
:
"3.0.4"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"brace-expansion"
:
"^1.1.7"
"brace-expansion"
:
"^1.1.7"
}
}
...
@@ -3939,12 +3947,14 @@
...
@@ -3939,12 +3947,14 @@
"minimist"
:
{
"minimist"
:
{
"version"
:
"0.0.8"
,
"version"
:
"0.0.8"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"minipass"
:
{
"minipass"
:
{
"version"
:
"2.3.5"
,
"version"
:
"2.3.5"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"safe-buffer"
:
"^5.1.2"
,
"safe-buffer"
:
"^5.1.2"
,
"yallist"
:
"^3.0.0"
"yallist"
:
"^3.0.0"
...
@@ -3963,6 +3973,7 @@
...
@@ -3963,6 +3973,7 @@
"version"
:
"0.5.1"
,
"version"
:
"0.5.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"minimist"
:
"0.0.8"
"minimist"
:
"0.0.8"
}
}
...
@@ -4043,7 +4054,8 @@
...
@@ -4043,7 +4054,8 @@
"number-is-nan"
:
{
"number-is-nan"
:
{
"version"
:
"1.0.1"
,
"version"
:
"1.0.1"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
"dev"
:
true
,
"optional"
:
true
},
},
"object-assign"
:
{
"object-assign"
:
{
"version"
:
"4.1.1"
,
"version"
:
"4.1.1"
,
...
@@ -4055,6 +4067,7 @@
...
@@ -4055,6 +4067,7 @@
"version"
:
"1.4.0"
,
"version"
:
"1.4.0"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"wrappy"
:
"1"
"wrappy"
:
"1"
}
}
...
@@ -4176,6 +4189,7 @@
...
@@ -4176,6 +4189,7 @@
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
"bundled"
:
true
,
"bundled"
:
true
,
"dev"
:
true
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"requires"
:
{
"code-point-at"
:
"^1.0.0"
,
"code-point-at"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
"is-fullwidth-code-point"
:
"^1.0.0"
,
...
...
src/app/checker/addforex/addforex.component.html
View file @
7884a9ca
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
@@ -159,7 +162,8 @@
...
@@ -159,7 +162,8 @@
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['deli_provider_id'].valid && providerSubmit"
>
<div
class=
"s_error"
*
ngIf=
"!providerForm.controls['deli_provider_id'].valid && providerSubmit"
>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['deli_provider_id'].hasError('required')"
>
{{error_msg.required}}
</div>
<div
class=
"s_validation"
*
ngIf=
"providerForm.controls['deli_provider_id'].hasError('required')"
>
{{error_msg.required}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"col"
></div>
</div>
</div>
...
...
src/app/checker/addprovider/addprovider.component.html
View file @
7884a9ca
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/checker/currency-add/currency-add.component.html
View file @
7884a9ca
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
<h4>
Currency Management
</h4>
<h4>
Currency Management
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
@@ -76,6 +79,7 @@
...
@@ -76,6 +79,7 @@
<div
class=
"s_validation"
*
ngIf=
"currencyForm.controls['start_from'].hasError('required')"
>
{{error_msg.required}}
</div>
<div
class=
"s_validation"
*
ngIf=
"currencyForm.controls['start_from'].hasError('required')"
>
{{error_msg.required}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"col"
></div>
</div>
</div>
<!-- <div class="row">
<!-- <div class="row">
<div class="col">
<div class="col">
...
...
src/app/checker/currency-edit/currency-edit.component.html
View file @
7884a9ca
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
<h4>
Currency Management
</h4>
<h4>
Currency Management
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
@@ -49,8 +52,11 @@
...
@@ -49,8 +52,11 @@
<div
class=
"col"
>
<div
class=
"col"
>
<img
[
src
]="
getImage
()"
width=
"100"
height=
"100"
*
ngIf=
"image_url"
/>
<img
[
src
]="
getImage
()"
width=
"100"
height=
"100"
*
ngIf=
"image_url"
/>
<div
class=
"provider_data_content"
>
<div
class=
"provider_data_content"
>
<p>
flag
</p>
<p>
Flag
</p>
<input
class=
"provider_input"
placeholder=
""
type=
"file"
formControlName=
"flag"
(
change
)="
onFileChange
($
event
)"
>
<div
class=
"provider_choose_btn"
>
<input
class=
""
placeholder=
""
type=
"file"
formControlName=
"flag"
(
change
)="
onFileChange
($
event
)"
>
</div>
</div>
</div>
<div
class=
"s_error"
*
ngIf=
"!currencyForm.controls['flag'].valid && currencySubmit"
>
<div
class=
"s_error"
*
ngIf=
"!currencyForm.controls['flag'].valid && currencySubmit"
>
<div
class=
"s_validation"
*
ngIf=
"currencyForm.controls['flag'].hasError('required')"
>
{{error_msg.required}}
</div>
<div
class=
"s_validation"
*
ngIf=
"currencyForm.controls['flag'].hasError('required')"
>
{{error_msg.required}}
</div>
...
@@ -77,6 +83,7 @@
...
@@ -77,6 +83,7 @@
<div
class=
"s_validation"
*
ngIf=
"currencyForm.controls['start_from'].hasError('required')"
>
{{error_msg.required}}
</div>
<div
class=
"s_validation"
*
ngIf=
"currencyForm.controls['start_from'].hasError('required')"
>
{{error_msg.required}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"col"
></div>
</div>
</div>
<!-- <div class="row">
<!-- <div class="row">
<div class="col">
<div class="col">
...
...
src/app/checker/currency-edit/currency-edit.component.scss
View file @
7884a9ca
...
@@ -59,6 +59,31 @@
...
@@ -59,6 +59,31 @@
outline
:
none
;
outline
:
none
;
}
}
}
}
.provider_choose_btn
{
input
{
border
:
1px
solid
#b4b4b4
;
}
}
// .provider_choose_btn{
// width: 130px;
// background: #1a5c7c;
// color: #fff;
// position: relative;
// height: 40px;
// text-align: center;
// padding: 7px;
// border-radius: 20px;
// cursor: pointer;
// input{
// position: absolute;
// top:0px;
// left:0px;
// right:0px;
// bottom: 0px;
// opacity: 0;
// }
// }
.provider_pin
{
.provider_pin
{
border
:
1px
solid
#b4b4b4
;
border
:
1px
solid
#b4b4b4
;
height
:
40px
;
height
:
40px
;
...
...
src/app/checker/currency-edit/currency-edit.component.ts
View file @
7884a9ca
...
@@ -43,7 +43,7 @@ export class CurrencyEditComponent implements OnInit {
...
@@ -43,7 +43,7 @@ export class CurrencyEditComponent implements OnInit {
const
parm
=
decodeURIComponent
(
this
.
route
.
snapshot
.
params
[
'id'
]);
const
parm
=
decodeURIComponent
(
this
.
route
.
snapshot
.
params
[
'id'
]);
// tslint:disable-next-line:radix
// tslint:disable-next-line:radix
const
id
=
parseInt
(
parm
);
const
id
=
parseInt
(
parm
);
this
.
getCurrency
(
id
);
//
this.getCurrency(id);
this
.
currencyForm
=
this
.
formBuilder
.
group
({
this
.
currencyForm
=
this
.
formBuilder
.
group
({
'name'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'name'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'symbol'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
'symbol'
:
[
''
,
Validators
.
compose
([
Validators
.
required
])],
...
...
src/app/checker/currency-list/currency-list.component.html
View file @
7884a9ca
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
<h4>
Manage Currency
</h4>
<h4>
Manage Currency
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/checker/currency/currency.component.html
View file @
7884a9ca
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
@@ -62,8 +65,8 @@
...
@@ -62,8 +65,8 @@
</div>
</div>
<div
formArrayName=
"currency"
>
<div
formArrayName=
"currency"
>
<div
class=
"row"
*
ngFor=
"let address of currencyForm.controls.currency.controls; let i=index"
[
formGroupName
]="
i
"
>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<div
class=
"col-md-6"
*
ngFor=
"let address of currencyForm.controls.currency.controls; let i=index"
[
formGroupName
]="
i
"
>
<h6>
{{selectedList[i].name}}
</h6>
<h6>
{{selectedList[i].name}}
</h6>
<input
class=
""
type=
"hidden"
formControlName=
"currency_id"
>
<input
class=
""
type=
"hidden"
formControlName=
"currency_id"
>
<input
class=
""
type=
"number"
formControlName=
"rate"
>
<input
class=
""
type=
"number"
formControlName=
"rate"
>
...
...
src/app/checker/currency/currency.component.scss
View file @
7884a9ca
...
@@ -76,6 +76,10 @@
...
@@ -76,6 +76,10 @@
margin-bottom
:
3px
;
margin-bottom
:
3px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.active
{
background
:
#a8a8a8
;
color
:
#fff
;
}
}
}
}
}
.add_btn
{
.add_btn
{
...
@@ -105,8 +109,8 @@
...
@@ -105,8 +109,8 @@
border-radius
:
20px
;
border-radius
:
20px
;
height
:
40px
;
height
:
40px
;
border
:none
;
border
:none
;
padding-left
:
4
%
;
padding-left
:
6
%
;
padding-right
:
4
%
;
padding-right
:
6
%
;
margin
:
1%
;
margin
:
1%
;
&
:hover
{
&
:hover
{
outline
:
none
;
outline
:
none
;
...
@@ -121,8 +125,8 @@
...
@@ -121,8 +125,8 @@
color
:
#fff
;
color
:
#fff
;
border-radius
:
20px
;
border-radius
:
20px
;
height
:
40px
;
height
:
40px
;
padding-left
:
4
%
;
padding-left
:
6
%
;
padding-right
:
4
%
;
padding-right
:
6
%
;
border
:none
;
border
:none
;
margin
:
1%
;
margin
:
1%
;
&
:hover
{
&
:hover
{
...
...
src/app/checker/editforex/editforex.component.html
View file @
7884a9ca
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
<h4>
Forex Provider
</h4>
<h4>
Forex Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/checker/editprovider/editprovider.component.html
View file @
7884a9ca
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/checker/forexprovider/forexprovider.component.html
View file @
7884a9ca
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
<h4>
Forex Provider
</h4>
<h4>
Forex Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
checker
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/checker/home/home.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
</div>
</div>
</div>
</div>
...
...
src/app/checker/index/index.component.html
View file @
7884a9ca
<div
class=
"delivery_provider_content"
>
<div
class=
"delivery_provider_content"
>
<router-outlet></router-outlet>
<router-outlet></router-outlet>
</div>
</div>
src/app/delivery/addprovider/addprovider.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/delivery/editprovider/editprovider.component.html
View file @
7884a9ca
...
@@ -19,6 +19,9 @@
...
@@ -19,6 +19,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/delivery/manageprovider/manageprovider.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
delivery
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/delivery/transaction/transaction.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Delivery Transaction List
</h4>
<h4>
Delivery Transaction List
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/forex/addprovider/addprovider.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/forex/editprovider/editprovider.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/forex/manageprovider/manageprovider.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Delivery Service Provider
</h4>
<h4>
Forex Delivery Service Provider
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/forex/transaction/transaction.component.html
View file @
7884a9ca
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
<h4>
Forex Transaction List
</h4>
<h4>
Forex Transaction List
</h4>
</div>
</div>
<div
class=
"col-md-6 textRight relative"
>
<div
class=
"col-md-6 textRight relative"
>
<button
class=
"logout"
>
<img
src=
"assets/images/asset_logout.png"
>
Logout
</button>
<img
src=
"assets/images/asset_logo1.png"
>
<img
src=
"assets/images/asset_logo1.png"
>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
<span
(
click
)="
goToPage
('
forex
/
changepin
')"
>
Change PIN
</span>
</div>
</div>
...
...
src/app/start/login/login.component.html
View file @
7884a9ca
...
@@ -40,6 +40,15 @@
...
@@ -40,6 +40,15 @@
<div
class=
"login_row"
>
<div
class=
"login_row"
>
<h6
(
click
)="
goToPage
('
start
/
forgot
')"
>
Forgot Password
</h6>
<h6
(
click
)="
goToPage
('
start
/
forgot
')"
>
Forgot Password
</h6>
</div>
</div>
<div
class=
"login_row"
>
<p
class=
"textCenter"
style=
"text-align:center !important;"
>
Choose Language
</p>
<br>
<select
id=
"translation"
class=
"translation"
(
change
)="
changeLang
($
event
.
target
.
value
)"
>
<option
value=
"0"
>
English
</option>
<option
value=
"1"
>
Arabic
</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/app/start/login/login.component.scss
View file @
7884a9ca
...
@@ -83,4 +83,11 @@
...
@@ -83,4 +83,11 @@
}
}
}
}
}
}
.translation
{
border
:
1px
solid
#d8d8d8
;
height
:
40px
;
padding-left
:
10px
;
padding-right
:
10px
;
}
}
}
\ No newline at end of file
src/app/start/login/login.component.ts
View file @
7884a9ca
...
@@ -4,6 +4,7 @@ import { ValidationService } from './../../providers/validation.service';
...
@@ -4,6 +4,7 @@ import { ValidationService } from './../../providers/validation.service';
import
{
SubjectService
}
from
'./../../providers/subject.service'
;
import
{
SubjectService
}
from
'./../../providers/subject.service'
;
import
{
WebService
}
from
'./../../providers/web.service'
;
import
{
WebService
}
from
'./../../providers/web.service'
;
import
*
as
$
from
'jquery'
;
@
Component
({
@
Component
({
selector
:
'app-login'
,
selector
:
'app-login'
,
templateUrl
:
'./login.component.html'
,
templateUrl
:
'./login.component.html'
,
...
@@ -87,6 +88,15 @@ export class LoginComponent implements OnInit {
...
@@ -87,6 +88,15 @@ export class LoginComponent implements OnInit {
}
}
}
}
changeLang
(
val
:
string
)
{
if
(
val
===
'1'
)
{
$
(
'body'
).
addClass
(
'ar'
);
}
else
{
$
(
'body'
).
removeClass
(
'ar'
);
}
}
processBack
(
e
:
any
,
el
:
any
)
{
processBack
(
e
:
any
,
el
:
any
)
{
console
.
log
(
e
);
console
.
log
(
e
);
if
(
e
.
keyCode
===
8
)
{
if
(
e
.
keyCode
===
8
)
{
...
...
src/assets/images/asset_logout.png
0 → 100644
View file @
7884a9ca
2.67 KB
src/assets/styles/translation.scss
View file @
7884a9ca
...
@@ -27,9 +27,15 @@
...
@@ -27,9 +27,15 @@
h3
{
h3
{
text-align
:
right
;
text-align
:
right
;
}
}
p
{
text-align
:
right
;
}
}
}
.provider_inner_content
{
.provider_inner_content
{
direction
:
rtl
;
direction
:
rtl
;
h6
{
text-align
:
right
;
}
.provider_data_content
{
.provider_data_content
{
text-align
:
right
;
text-align
:
right
;
p
{
p
{
...
...
src/environments/server.config.ts
View file @
7884a9ca
//
export const ImageStorage = 'http://forex.nuvento.com/';
//
export const ImageStorage = 'http://forex.nuvento.com/';
export
const
ImageStorage
=
'http://localhost:3000/'
;
export
const
ImageStorage
=
'http://localhost:3000/'
;
export
const
apiConfig
=
'http://localhost:3000/api/'
;
export
const
apiConfig
=
'http://localhost:3000/api/'
;
//
export const apiConfig = 'http://forex.nuvento.com/api/';
//
export const apiConfig = 'http://forex.nuvento.com/api/';
src/index.html
View file @
7884a9ca
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"favicon.ico"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"favicon.ico"
>
</head>
</head>
<body
class=
""
>
<body
class=
"
ar
"
>
<app-root></app-root>
<app-root></app-root>
</body>
</body>
</html>
</html>
src/styles.scss
View file @
7884a9ca
...
@@ -633,3 +633,18 @@ section.module.parallax {
...
@@ -633,3 +633,18 @@ section.module.parallax {
}
}
}
}
.logout
{
background
:
transparent
;
color
:
#fff
;
border
:none
;
font-size
:
14px
;
padding-left
:
20px
;
padding-right
:
20px
;
&
:focus
{
outline
:
none
;
}
img
{
width
:
24px
;
margin-right
:
5px
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment