Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Callmycab-Driverapp
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
kevin
Callmycab-Driverapp
Commits
684aab14
Commit
684aab14
authored
Jul 27, 2018
by
Alen Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'alen' into 'master'
july-26 See merge request alen/CMC-driver!20
parents
5dc7d1df
037b8253
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
39 additions
and
30 deletions
+39
-30
docupdate.html
src/pages/docupdate/docupdate.html
+6
-2
docupdate.scss
src/pages/docupdate/docupdate.scss
+3
-0
forgot.ts
src/pages/forgot/forgot.ts
+1
-1
home.ts
src/pages/home/home.ts
+2
-0
myprofile.html
src/pages/myprofile/myprofile.html
+4
-2
myprofile.scss
src/pages/myprofile/myprofile.scss
+2
-22
myprofile.ts
src/pages/myprofile/myprofile.ts
+2
-0
quickride.html
src/pages/quickride/quickride.html
+3
-3
quickride.ts
src/pages/quickride/quickride.ts
+2
-0
uploaddoc.ts
src/pages/uploaddoc/uploaddoc.ts
+2
-0
userlocation.ts
src/pages/userlocation/userlocation.ts
+12
-0
No files found.
src/pages/docupdate/docupdate.html
View file @
684aab14
...
...
@@ -25,8 +25,12 @@
<h6>
{{filename}}
</h6>
<h5
*
ngIf=
"fileData?.fileStatus=='1'"
>
Processing
</h5>
</div>
<div
class=
"jr_bottom_button_bay"
>
<button
ion-button
class=
"cab_footer_btn"
(
click
)="
upload
()"
*
ngIf=
"fileData?.fileStatus=='0' || fileData?.fileStatus=='3'"
>
DONE
</button>
<button
ion-button
class=
"cab_footer_btn"
(
click
)="
view
()"
*
ngIf=
"fileData?.fileStatus!='0'"
>
view
</button>
</div>
</ion-content>
<ion-footer
padding
>
<
!-- <
ion-footer padding>
<button ion-button class="theme_dark_bg btn_primary" (click)="upload()" *ngIf="fileData?.fileStatus=='0' || fileData?.fileStatus=='3'">DONE</button>
<button ion-button class="theme_dark_bg btn_primary" (click)="view()" *ngIf="fileData?.fileStatus!='0'">view</button>
</ion-footer>
</ion-footer>
-->
src/pages/docupdate/docupdate.scss
View file @
684aab14
...
...
@@ -101,4 +101,7 @@ page-docupdate {
letter-spacing
:
2px
;
color
:
#f7941e
;
}
.jr_bottom_button_bay
{
width
:
100%
;
position
:
fixed
;
bottom
:
0px
;
padding
:
0px
;
left
:
0px
;
right
:
0px
;
text-align
:
center
;}
.cab_footer_btn
{
width
:
100%
;
height
:
50px
;
font-weight
:
300
;
letter-spacing
:
2px
;
border-radius
:
0px
!
important
;
background
:
#f7941e
;
color
:
#FFF
;
text-align
:
center
;
font-size
:
16px
;
margin
:
0px
;
text-transform
:
capitalize
!
important
;}
}
src/pages/forgot/forgot.ts
View file @
684aab14
...
...
@@ -15,7 +15,7 @@ export class ForgotPage {
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
private
formbuilder
:
FormBuilder
,
private
myservice
:
Myservice
)
{
this
.
forgotForm
=
this
.
formbuilder
.
group
({
email
:
[
''
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
"[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}"
)])],
from
:[
'd
octo
r'
]
from
:[
'd
rive
r'
]
})
}
...
...
src/pages/home/home.ts
View file @
684aab14
...
...
@@ -34,6 +34,8 @@ export class HomePage {
this
.
upcoming
=
response
.
data
.
upcoming
this
.
completed
=
response
.
data
.
completed
}
else
this
.
myservice
.
show_alert
(
''
,
response
.
message
)
})
}
})
...
...
src/pages/myprofile/myprofile.html
View file @
684aab14
...
...
@@ -96,8 +96,10 @@
</div>
<br>
<button
ion-button
class=
"primary theme_dark_bg"
(
click
)="
updateProfile
()"
>
SAVE
</button>
<!-- <button ion-button class="changepass_btn" (click)="changepass()">CHANGE PASSWORD</button> -->
<!-- <button ion-button class="primary theme_dark_bg" (click)="updateProfile()">SAVE</button> -->
<div
class=
"jr_bottom_button_bay"
>
<button
ion-button
class=
"cab_footer_btn"
(
click
)="
updateProfile
()"
>
SAVE
</button>
</div>
</div>
</form>
</div>
...
...
src/pages/myprofile/myprofile.scss
View file @
684aab14
...
...
@@ -107,28 +107,6 @@ page-myprofile {
text-align
:
left
;
padding-top
:
10px
;
}
button
{
width
:
100%
;
border-radius
:
20px
;
height
:
45px
;
font-size
:
16px
;
letter-spacing
:
2px
;
}
.changepass_btn
{
border
:
2px
solid
#282828
;
height
:
45px
;
border-radius
:
25px
;
background
:
transparent
;
color
:
#282828
;
text-transform
:
uppercase
;
font-size
:
16px
;
width
:
100%
;
font-weight
:
600
;
letter-spacing
:
2px
;
}
}
}
...
...
@@ -147,4 +125,6 @@ page-myprofile {
padding-top
:
30px
!
important
;
padding-bottom
:
30px
!
important
;
}
.jr_bottom_button_bay
{
width
:
100%
;
position
:
fixed
;
bottom
:
0px
;
padding
:
0px
;
left
:
0px
;
right
:
0px
;
text-align
:
center
;}
.cab_footer_btn
{
width
:
100%
;
height
:
50px
;
font-weight
:
300
;
letter-spacing
:
2px
;
border-radius
:
0px
!
important
;
background
:
#f7941e
;
color
:
#FFF
;
text-align
:
center
;
font-size
:
16px
;
margin
:
0px
;
text-transform
:
capitalize
!
important
;}
}
src/pages/myprofile/myprofile.ts
View file @
684aab14
...
...
@@ -68,6 +68,8 @@ export class MyprofilePage {
this
.
editForm
.
controls
[
'gender'
].
setValue
(
resp
.
data
.
gender
)
this
.
editForm
.
controls
[
'license'
].
setValue
(
resp
.
data
.
license_no
)
}
else
this
.
myservice
.
show_alert
(
''
,
resp
.
message
)
})
}
})
...
...
src/pages/quickride/quickride.html
View file @
684aab14
...
...
@@ -43,9 +43,9 @@
<div
class=
"jr_bottom_button_bay"
>
<button
ion-button
class=
"cab_footer_btn floatLeft accept"
(
click
)="
accept
()"
*
ngIf=
"!pickUp"
>
Accept
</button>
<button
ion-button
class=
"cab_footer_btn floatRight reject"
(
click
)="
reject
()"
*
ngIf=
"!pickUp"
>
Reject
</button>
<
button
ion-button
class=
"cab_footer_btn width100"
(
click
)="
pick
()"
*
ngIf=
"pickUp"
>
Pick Up
</button
>
<button
ion-button
class=
"cab_footer_btn floatLeft accept"
(
click
)="
accept
()"
>
Accept
</button>
<button
ion-button
class=
"cab_footer_btn floatRight reject"
(
click
)="
reject
()"
>
Reject
</button>
<
!-- <button ion-button class="cab_footer_btn width100" (click)="pick()" *ngIf="pickUp">Pick Up</button> --
>
</div>
</div>
...
...
src/pages/quickride/quickride.ts
View file @
684aab14
...
...
@@ -44,6 +44,8 @@ export class QuickridePage {
this
.
data
.
setrideData
(
this
.
rideDetail
)
}
else
this
.
myservice
.
show_alert
(
''
,
resp
.
message
)
})
}
...
...
src/pages/uploaddoc/uploaddoc.ts
View file @
684aab14
...
...
@@ -25,6 +25,8 @@ export class UploaddocPage {
if
(
resp
.
status
==
'success'
){
this
.
docs
=
resp
.
data
}
else
this
.
myservice
.
show_alert
(
''
,
resp
.
message
)
})
})
}
...
...
src/pages/userlocation/userlocation.ts
View file @
684aab14
...
...
@@ -34,6 +34,7 @@ export class UserlocationPage {
lastPos
:
any
;
count
:
number
=
0
;
tempPos
:
any
;
destmarker
:
any
;
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
private
geolocation
:
Geolocation
,
private
db
:
AngularFireDatabase
,
private
storage
:
Storage
,
private
myservice
:
Myservice
,
private
menu
:
MenuController
,
private
data
:
dataService
,
public
events
:
Events
)
{
this
.
loadMap
()
...
...
@@ -124,13 +125,22 @@ export class UserlocationPage {
if
(
This
.
markers
)
This
.
markers
.
setMap
(
null
)
if
(
This
.
destmarker
)
This
.
destmarker
.
setMap
(
null
)
var
marker
=
new
google
.
maps
.
Marker
({
position
:
driverLoc
,
map
:
This
.
map
,
icon
:
dimage
});
var
marker2
=
new
google
.
maps
.
Marker
({
position
:
destLoc
,
map
:
This
.
map
,
})
This
.
markers
=
marker
This
.
destmarker
=
marker2
var
cur
=
new
google
.
maps
.
LatLng
(
myloc
[
0
],
myloc
[
0
])
var
lastPosn
=
new
google
.
maps
.
LatLng
(
This
.
lastPos
[
0
],
This
.
lastPos
[
0
])
...
...
@@ -250,6 +260,8 @@ export class UserlocationPage {
This
.
ride
=
response
.
data
This
.
data
.
setrateData
(
This
.
ride
)
}
else
this
.
myservice
.
show_alert
(
''
,
response
.
message
)
})
}
})
...
...
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