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
c4deda19
Commit
c4deda19
authored
Mar 21, 2019
by
Adarsh K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new changes
parent
b2cd0fb0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
21 deletions
+6
-21
app-routing.module.ts
src/app/app-routing.module.ts
+1
-1
currency-edit.component.ts
src/app/checker/currency-edit/currency-edit.component.ts
+4
-10
login.component.html
src/app/start/login/login.component.html
+1
-10
No files found.
src/app/app-routing.module.ts
View file @
c4deda19
import
{
NgModule
}
from
'@angular/core'
;
import
{
Routes
,
RouterModule
}
from
'@angular/router'
;
import
{
InvalidComponent
}
from
'./'
;
import
{
InvalidComponent
}
from
'./
start/invalid/invalid.component
'
;
const
routes
:
Routes
=
[
{
...
...
src/app/checker/currency-edit/currency-edit.component.ts
View file @
c4deda19
...
...
@@ -119,7 +119,7 @@ export class CurrencyEditComponent implements OnInit {
symbol
:
this
.
currency
.
symbol
,
rate
:
this
.
currency
.
rate
,
start_from
:
this
.
currency
.
start_from
,
flag
:
''
flag
:
this
.
currency
.
flag
});
}
else
{
this
.
error
=
true
;
...
...
@@ -144,14 +144,8 @@ export class CurrencyEditComponent implements OnInit {
this
.
router
.
navigate
([
'/checker/currency_list'
]);
}
goToPage
(
path
,
data
=
null
)
{
console
.
log
(
data
);
this
.
router
.
navigateByUrl
(
path
,
{
queryParams
:
data
});
document
.
body
.
scrollTop
=
document
.
documentElement
.
scrollTop
=
0
;
}
logout
()
{
this
.
service
.
logout
();
}
logout
()
{
this
.
service
.
logout
();
}
}
src/app/start/login/login.component.html
View file @
c4deda19
...
...
@@ -31,7 +31,7 @@
</div>
<div
class=
"s_error"
*
ngIf=
"passwordErr"
>
<div
class=
"s_validation"
>
{{error_msg.password}}
</div>
</div>
</div>
</div>
<div
*
ngIf=
"loginError"
class=
"s_validation"
>
{{loginMsg}}
</div>
<div
class=
"login_row"
>
...
...
@@ -40,15 +40,6 @@
<div
class=
"login_row"
>
<h6
(
click
)="
goToPage
('
start
/
forgot
')"
>
Forgot Password
</h6>
</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>
...
...
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