Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
b0a6e3ff
Commit
b0a6e3ff
authored
Dec 17, 2019
by
gap95
Browse files
close button added to redirect to bike list
parent
2d954e1b
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/app/home/home.page.html
View file @
b0a6e3ff
...
...
@@ -66,16 +66,22 @@
</div>
</div>
<div
class=
"bike-details-container"
*ngIf=
"isDetailsVisible"
>
<ion-icon
class=
"close-circle-cancel"
name=
"close-circle"
(click)=
"navigatetoBikeList()"
></ion-icon>
<div
class=
"inner"
>
<div
class=
"button-container"
>
<ion-grid>
<ion-row>
<ion-col>
Bike Name
</ion-col>
<ion-col>
{{selectedBike.name}}
</ion-col>
</ion-row>
<ion-row>
<ion-col>
...
...
src/app/home/home.page.scss
View file @
b0a6e3ff
...
...
@@ -160,4 +160,7 @@ ion-footer{
.button-container
{
clear
:
both
;
}
.close-circle-cancel
{
margin-left
:
93%
;
}
\ No newline at end of file
src/app/home/home.page.ts
View file @
b0a6e3ff
...
...
@@ -51,6 +51,7 @@ export class HomePage implements OnInit, OnDestroy {
}
ngOnInit
()
{
}
ngAfterViewInit
()
{
...
...
@@ -225,6 +226,10 @@ export class HomePage implements OnInit, OnDestroy {
this
.
locationsGroup
.
addObjects
([
marker
]);
}
navigatetoBikeList
()
{
this
.
isDetailsVisible
=
false
;
this
.
ionViewWillEnter
();
}
enable3DMaps
()
{
this
.
map
.
setBaseLayer
(
this
.
defaultLayers
.
vector
.
normal
.
map
);
...
...
src/app/services/feedback.service.ts
View file @
b0a6e3ff
...
...
@@ -5,6 +5,7 @@ import { Injectable } from '@angular/core';
})
export
class
FeedbackService
{
feedbackBikeDetails
=
{
name
:
""
,
bikeid
:
""
}
constructor
()
{
}
public
getBikeid
(){
return
this
.
feedbackBikeDetails
.
bikeid
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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