Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
getme
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
getme
Commits
88d20df1
Commit
88d20df1
authored
5 years ago
by
Arjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changeaddress
parent
a2d45ac1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
7 deletions
+41
-7
changeaddress.page.html
src/app/changeaddress/changeaddress.page.html
+4
-1
changeaddress.page.scss
src/app/changeaddress/changeaddress.page.scss
+36
-0
auth.service.ts
src/config/auth.service.ts
+1
-6
No files found.
src/app/changeaddress/changeaddress.page.html
View file @
88d20df1
...
@@ -19,9 +19,12 @@
...
@@ -19,9 +19,12 @@
</ion-header>
</ion-header>
<ion-content>
<ion-content>
<div
class=
"nearby_map"
>
<div
class=
"nearby_map"
>
<div
class=
"map-inner"
>
<agm-map
[
latitude
]="
latitude
"
[
longitude
]="
longitude
"
[
zoom
]="
8
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-map
[
latitude
]="
latitude
"
[
longitude
]="
longitude
"
[
zoom
]="
8
"
[
backgroundColor
]="'
rgba
(
29
,
27
,
130
,
0
.
2
)'"
>
<agm-marker
[
latitude
]="
latitude
"
[
longitude
]="
longitude
"
[
markerDraggable
]="
true
"
(
dragEnd
)="
markerDragEnd
($
event
)"
></agm-marker>
<agm-marker
[
markerDraggable
]="
true
"
(
dragEnd
)="
markerDragEnd
($
event
)"
></agm-marker>
</agm-map>
</agm-map>
<span
class=
"map-pin"
><img
src=
"../../assets/pin.svg"
alt=
""
></span>
</div>
<form
(
ngSubmit
)="
onSubmit
(
addressForm
.
value
);
addressForm
.
reset
()"
#
addressForm=
"ngForm"
method=
"post"
class=
"form-horizontal"
>
<form
(
ngSubmit
)="
onSubmit
(
addressForm
.
value
);
addressForm
.
reset
()"
#
addressForm=
"ngForm"
method=
"post"
class=
"form-horizontal"
>
<div
class=
"add_address_wrapper"
>
<div
class=
"add_address_wrapper"
>
<h5>
DELIVERY
</h5>
<h5>
DELIVERY
</h5>
...
...
This diff is collapsed.
Click to expand it.
src/app/changeaddress/changeaddress.page.scss
View file @
88d20df1
.nearby_map
{
.nearby_map
{
width
:
100%
;
width
:
100%
;
height
:
100vh
;
height
:
100vh
;
.map-inner
{
height
:
calc
(
100%
-
348px
);
position
:
relative
;
.map-pin
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
-webkit-transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
width
:
20px
;
img
{
margin-top
:
-23px
;
}
}
}
.overlay
{
.overlay
{
position
:
absolute
;
position
:
absolute
;
top
:
0px
;
top
:
0px
;
...
@@ -112,3 +127,23 @@
...
@@ -112,3 +127,23 @@
transform
:
rotate
(
45deg
);
transform
:
rotate
(
45deg
);
}
}
}
}
@media
only
screen
and
(
max-width
:
350px
)
{
.nearby_map
{
.add_address_wrapper
{
padding
:
10px
20px
!
important
;
p
{
margin
:
2px
0
;
}
input
{
margin-bottom
:
5px
;
}
h6
{
margin
:
0
;
}
}
.map-inner
{
height
:
calc
(
100%
-
235px
);
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/config/auth.service.ts
View file @
88d20df1
...
@@ -373,11 +373,6 @@ export class AuthService {
...
@@ -373,11 +373,6 @@ export class AuthService {
}
}
resend
()
{
resend
()
{
this
.
service
.
showToast
(
this
.
service
.
showToast
(
'OTP sent successfully'
,
'top'
,
'my-toast'
,
1000
);
'OTP sent successfully'
,
'top'
,
'my-toast'
,
1000
);
}
}
}
}
This diff is collapsed.
Click to expand it.
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