Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers_angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
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
Tobin
dcarfixers_angular
Commits
77c9b877
Commit
77c9b877
authored
Apr 04, 2019
by
amal
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'amal' into 'master'
Amal 04-04-2019|16:30 See merge request
!14
parents
e27cded7
50fb675c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
57 additions
and
16 deletions
+57
-16
dashboard.component.html
src/app/home/dashboard/dashboard.component.html
+11
-4
dashboard.component.scss
src/app/home/dashboard/dashboard.component.scss
+30
-2
index.component.html
src/app/home/index/index.component.html
+9
-5
index.component.scss
src/app/home/index/index.component.scss
+1
-1
server.config.ts
src/environments/server.config.ts
+4
-4
styles.scss
src/styles.scss
+2
-0
No files found.
src/app/home/dashboard/dashboard.component.html
View file @
77c9b877
...
...
@@ -690,6 +690,10 @@
<div
class=
"mechanic_photo"
>
<img
src=
"{{imageServer + mechanic.profile_image}}"
onerror=
"this.src='assets/images/user_avatar.jpg'"
>
</div>
<div
class=
"mechanic_ratting"
>
<p>
4/5 Ratings
</p>
</div>
</div>
<div
class=
"mechanic_detail"
>
<h4>
{{mechanic.display_name}}
</h4>
...
...
@@ -697,7 +701,7 @@
<h5>
{{mechanic.shop_name}}
</h5>
<p>
{{mechanic.shop_address}}
</p>
<h6>
{{mechanic.shop_phone}}
</h6>
<p>
{{mechanic.distance | number:'1.2-2'}}
</p>
<p>
{{mechanic.distance | number:'1.2-2'}}
Away from you
</p>
</div>
<ng-template
#
mechanicDetails
>
<p>
{{mechanic.address}}
<br>
{{mechanic.city+' , '+mechanic.state}}
</p>
...
...
@@ -791,9 +795,12 @@
(
mouseOut
)="
onMouseOut
(
gm
)"
[
agmFitBounds
]="
true
"
>
<agm-info-window
[
disableAutoPan
]="
false
"
#
infoWindow
>
<div
style=
"width:130px;"
>
<img
src=
"{{imageServer + mechanicLoc.profile_image}}"
width=
"30px"
height=
"30px"
style=
"float: left;margin-right: 5px"
onerror=
"this.src='assets/images/user_avatar.jpg'"
>
<div
style=
"float: left"
>
{{mechanicLoc.display_name}}
</div>
<div>
{{mechanicLoc.estimate}}
</div>
<img
src=
"{{imageServer + mechanicLoc.profile_image}}"
width=
"30px"
height=
"30px"
style=
"float: left;"
onerror=
"this.src='assets/images/user_avatar.jpg'"
>
<div
style=
"float:right;width:calc(100% - 30px); white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;padding-left: 5px;"
>
{{mechanicLoc.display_name}}
<br>
{{mechanicLoc.estimate}}
</div>
</div>
</agm-info-window>
...
...
src/app/home/dashboard/dashboard.component.scss
View file @
77c9b877
...
...
@@ -574,6 +574,9 @@
background-repeat
:
no-repeat
;
position
:
relative
;
overflow
:
scroll
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
}
.modal_close
{
width
:
50px
;
height
:
50px
;
...
...
@@ -728,7 +731,7 @@
list-style
:
none
;
display
:
inline-block
;
position
:
relative
;
min-width
:
300px
;
min-width
:
100%
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
@@ -847,7 +850,7 @@
.log_btn
{
height
:
40px
;
width
:
160px
;
border-radius
:
25
px
;
border-radius
:
10
px
;
color
:
#fff
;
background-color
:
#2655bf
;
border
:
none
;
...
...
@@ -1181,6 +1184,9 @@
padding
:
0px
;
max-height
:
500px
;
overflow
:
scroll
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
}
li
{
list-style
:
none
;
padding
:
10px
;
...
...
@@ -1206,6 +1212,25 @@
object-position
:
center
;
}
}
.mechanic_ratting
{
padding
:
5px
;
p
{
margin
:
0px
;
padding
:
0px
;
color
:
#a8a8a8
;
font-size
:
14px
;
text-align
:
center
;
}
h6
{
margin
:
0px
;
padding
:
0px
;
color
:
#a8a8a8
;
font-size
:
14px
;
text-align
:
center
;
}
}
.rating
{
.star-container
{
.star
{
...
...
@@ -1351,6 +1376,9 @@
overflow
:
scroll
;
display
:
inline-block
;
position
:
relative
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
}
#custom_check_button
{
border-radius
:
0px
!
important
;
overflow
:
auto
;
...
...
src/app/home/index/index.component.html
View file @
77c9b877
...
...
@@ -518,8 +518,8 @@
<img
src=
"{{imageServer + mechanic.profile_image}}"
onerror=
"this.src='assets/images/user_avatar.jpg'"
>
</div>
<div
class=
"mechanic_ratting"
>
<p>
4 Ratings
</p>
<h6>
6 Reviews
</h6>
<p>
4
/5
Ratings
</p>
</div>
</div>
<div
class=
"mechanic_detail"
>
...
...
@@ -616,10 +616,14 @@
<agm-map
#
gm
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
fitBounds
]="
true
"
>
<agm-marker
*
ngFor=
"let mechanicLoc of mechanicData"
[
agmFitBounds
]="
true
"
[
latitude
]="
mechanicLoc
.
location_lat
"
[
longitude
]="
mechanicLoc
.
location_lat
"
(
mouseOver
)="
onMouseOver
(
infoWindow
,
gm
)"
(
mouseOut
)="
onMouseOut
(
gm
)"
>
<agm-info-window
[
disableAutoPan
]="
false
"
#
infoWindow
>
<div
style=
"width:130px;"
>
<img
src=
"{{imageServer + mechanicLoc.profile_image}}"
width=
"30px"
height=
"30px"
style=
"float: left;margin-right: 5px"
onerror=
"this.src='assets/images/user_avatar.jpg'"
>
<div
style=
"float: left"
>
{{mechanicLoc.display_name}}
</div><br>
<div
style=
"float: left"
>
{{mechanicLoc.estimate}}
</div>
<img
src=
"{{imageServer + mechanicLoc.profile_image}}"
width=
"30px"
height=
"30px"
style=
"float: left;"
onerror=
"this.src='assets/images/user_avatar.jpg'"
>
<div
style=
"float:right;width:calc(100% - 30px); white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;padding-left: 5px;"
>
{{mechanicLoc.display_name}}
<br>
{{mechanicLoc.estimate}}
</div>
</div>
</agm-info-window>
</agm-marker>
...
...
src/app/home/index/index.component.scss
View file @
77c9b877
...
...
@@ -521,7 +521,7 @@
list-style
:
none
;
display
:
inline-block
;
position
:
relative
;
min-width
:
300px
;
min-width
:
100%
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
src/environments/server.config.ts
View file @
77c9b877
let
apiConfigUrl
,
imageStorageUrl
;
// // Localhost
apiConfigUrl
=
'http://localhost/dcarfixers/Webservices/'
;
imageStorageUrl
=
'http://localhost/dcarfixers/'
;
//
apiConfigUrl = 'http://localhost/dcarfixers/Webservices/';
//
imageStorageUrl = 'http://localhost/dcarfixers/';
// // Techlabz
//
apiConfigUrl = 'http://techlabz.in/dcarfixers/Webservices/';
//
imageStorageUrl = 'http://techlabz.in/dcarfixers/';
apiConfigUrl
=
'http://techlabz.in/dcarfixers/Webservices/'
;
imageStorageUrl
=
'http://techlabz.in/dcarfixers/'
;
// carfixxers.com
// apiConfigUrl = 'https://carfixxers.com/admin/Webservices/';
...
...
src/styles.scss
View file @
77c9b877
...
...
@@ -80,6 +80,8 @@ body {
font-family
:
'Lato'
,
sans-serif
!
important
;
}
.modal-full
{
min-width
:
100%
;
margin
:
0
!
important
;
...
...
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