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
81a483d0
Commit
81a483d0
authored
Apr 11, 2019
by
amal
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'amal' into 'master'
Amal See merge request
!25
parents
9c7cbc92
dadf805b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
3 deletions
+102
-3
dashboard.component.html
src/app/home/dashboard/dashboard.component.html
+6
-1
index.component.html
src/app/home/index/index.component.html
+7
-2
styles.scss
src/styles.scss
+89
-0
No files found.
src/app/home/dashboard/dashboard.component.html
View file @
81a483d0
...
@@ -747,7 +747,11 @@
...
@@ -747,7 +747,11 @@
</div>
</div>
</div>
</div>
<div
class=
"mechanic_detail"
>
<div
class=
"mechanic_detail relative"
>
<div
class=
"custom_checkbox_stack"
>
<input
class=
"custom_checkbox"
id=
"custom_checkbox-1"
type=
"checkbox"
value=
"value1"
>
<label
for=
"custom_checkbox-1"
></label>
</div>
<h4>
{{mechanic.display_name}}
</h4>
<h4>
{{mechanic.display_name}}
</h4>
<div
*
ngIf=
"mechanic.shop_id != 0; else mechanicDetails"
>
<div
*
ngIf=
"mechanic.shop_id != 0; else mechanicDetails"
>
<h5>
{{mechanic.shop_name}}
</h5>
<h5>
{{mechanic.shop_name}}
</h5>
...
@@ -837,6 +841,7 @@
...
@@ -837,6 +841,7 @@
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
<p>
Estimated Price :
<strong>
{{estimatedPrice}}
</strong></p>
<p>
Estimated Price :
<strong>
{{estimatedPrice}}
</strong></p>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
<button
class=
"request_all_btn"
>
Request All
</button>
</div>
</div>
<div
class=
"service_map"
>
<div
class=
"service_map"
>
<agm-map
#
gm
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
fitBounds
]="
true
"
>
<agm-map
#
gm
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
fitBounds
]="
true
"
>
...
...
src/app/home/index/index.component.html
View file @
81a483d0
...
@@ -533,10 +533,14 @@
...
@@ -533,10 +533,14 @@
</div>
</div>
<div
class=
"mechanic_ratting"
>
<div
class=
"mechanic_ratting"
>
<p
*
ngIf=
"mechanic.rating > 0"
>
{{mechanic.rating}} Ratings
</p>
<p
*
ngIf=
"mechanic.rating > 0"
>
{{mechanic.rating}} Ratings
</p>
</div>
</div>
</div>
</div>
<div
class=
"mechanic_detail"
>
<div
class=
"mechanic_detail relative"
>
<div
class=
"custom_checkbox_stack"
>
<input
class=
"custom_checkbox"
id=
"custom_checkbox-1"
type=
"checkbox"
value=
"value1"
>
<label
for=
"custom_checkbox-1"
></label>
</div>
<h4>
{{mechanic.display_name}}
</h4>
<h4>
{{mechanic.display_name}}
</h4>
<div
*
ngIf=
"mechanic.shop_id != 0; else mechanicDetails"
>
<div
*
ngIf=
"mechanic.shop_id != 0; else mechanicDetails"
>
<h5>
{{mechanic.shop_name}}
</h5>
<h5>
{{mechanic.shop_name}}
</h5>
...
@@ -625,6 +629,7 @@
...
@@ -625,6 +629,7 @@
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
<p>
Estimated Price :
<strong>
{{estimatedPrice}}
</strong></p>
<p>
Estimated Price :
<strong>
{{estimatedPrice}}
</strong></p>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
<button
class=
"request_all_btn"
>
Request All
</button>
</div>
</div>
<div
class=
"service_map"
>
<div
class=
"service_map"
>
<agm-map
#
gm
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
fitBounds
]="
true
"
>
<agm-map
#
gm
[
latitude
]="
lat
"
[
longitude
]="
lng
"
[
fitBounds
]="
true
"
>
...
...
src/styles.scss
View file @
81a483d0
...
@@ -601,4 +601,93 @@ bs-datepicker-container{
...
@@ -601,4 +601,93 @@ bs-datepicker-container{
}
}
}
}
.custom_checkbox_stack
{
position
:
absolute
;
top
:
0px
;
right
:
0px
;
}
.custom_checkbox
{
position
:
absolute
;
// take it out of document flow
opacity
:
0
;
// hide it
&
+
label
{
position
:
relative
;
cursor
:
pointer
;
padding
:
0
;
}
// Box.
&
+
label
:before
{
content
:
''
;
margin-right
:
10px
;
display
:
inline-block
;
vertical-align
:
text-top
;
width
:
20px
;
height
:
20px
;
background
:
white
;
box-shadow
:
0
0
0
3px
rgba
(
0
,
0
,
0
,
0
.12
);
}
// Box hover
&
:hover
+
label
:before
{
background
:
#2655bf
;
}
// Box focus
&
:focus
+
label
:before
{
box-shadow
:
0
0
0
3px
rgba
(
0
,
0
,
0
,
0
.12
);
}
// Box checked
&
:checked
+
label
:before
{
background
:
#2655bf
;
}
// Disabled state label.
&
:disabled
+
label
{
color
:
#b8b8b8
;
cursor
:
auto
;
}
// Disabled box.
&
:disabled
+
label
:before
{
box-shadow
:
none
;
background
:
#ddd
;
}
// Checkmark. Could be replaced with an image
&
:checked
+
label
:after
{
content
:
''
;
position
:
absolute
;
left
:
5px
;
top
:
11px
;
background
:
white
;
width
:
2px
;
height
:
2px
;
box-shadow
:
2px
0
0
white
,
4px
0
0
white
,
4px
-2px
0
white
,
4px
-4px
0
white
,
4px
-6px
0
white
,
4px
-8px
0
white
;
transform
:
rotate
(
45deg
);
}
}
.request_all_btn
{
background
:
#2655bf
;
color
:
#FFF
;
height
:
40px
;
padding-left
:
5%
;
padding-right
:
5%
;
border
:none
;
margin
:
5px
;
margin-top
:
10px
;
border-radius
:
10px
;
text-transform
:
capitalize
;
&
:focus
{
outline
:none
;
}
}
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