Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
5 years ago
by
gap95
Browse files
Options
Download
Email Patches
Plain Diff
close button added to redirect to bike list
parent
2d954e1b
master
58-add-flow-on-navigate-button-to-route-from-user-to-bike
64-close-button-on-home-page-to-redirect-to-bike-list
66-highlight-selected-route-from-list-of-different-routes
67-deactivate-user-api-integration
68-display-no-go-areas-on-map
69-add-launcher-icon-for-application-on-android
70-add-validation-for-feedback-should-not-be-empty
71-prediction-ui-implementation-send-location-of-bike-to-backend
72-feedback-toast-message
73-removal-here-maps-api-key
Show-Bike-details-when-bike-icon-is-clicked
1 merge request
!53
Resolve "Close button on home page to redirect to bike list"
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/app/home/home.page.html
+6
-0
src/app/home/home.page.html
src/app/home/home.page.scss
+3
-0
src/app/home/home.page.scss
src/app/home/home.page.ts
+5
-0
src/app/home/home.page.ts
src/app/services/feedback.service.ts
+1
-0
src/app/services/feedback.service.ts
with
15 additions
and
0 deletions
+15
-0
src/app/home/home.page.html
+
6
-
0
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>
...
...
This diff is collapsed.
Click to expand it.
src/app/home/home.page.scss
+
3
-
0
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
This diff is collapsed.
Click to expand it.
src/app/home/home.page.ts
+
5
-
0
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
);
...
...
This diff is collapsed.
Click to expand it.
src/app/services/feedback.service.ts
+
1
-
0
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
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets