Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Daewoo
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
Arjun
Daewoo
Commits
8211acde
Commit
8211acde
authored
Dec 09, 2019
by
Arjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
passenger details
parent
f9e712bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
18 deletions
+126
-18
app-routing.module.ts
src/app/app-routing.module.ts
+1
-1
passengerdetails.page.html
src/app/passengerdetails/passengerdetails.page.html
+46
-13
passengerdetails.page.scss
src/app/passengerdetails/passengerdetails.page.scss
+79
-4
No files found.
src/app/app-routing.module.ts
View file @
8211acde
...
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
...
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
import
{
PreloadAllModules
,
RouterModule
,
Routes
}
from
'@angular/router'
;
import
{
PreloadAllModules
,
RouterModule
,
Routes
}
from
'@angular/router'
;
const
routes
:
Routes
=
[
const
routes
:
Routes
=
[
{
path
:
''
,
redirectTo
:
'
home
'
,
pathMatch
:
'full'
},
{
path
:
''
,
redirectTo
:
'
passengerdetails
'
,
pathMatch
:
'full'
},
{
path
:
'home'
,
loadChildren
:
()
=>
import
(
'./home/home.module'
).
then
(
m
=>
m
.
HomePageModule
)},
{
path
:
'home'
,
loadChildren
:
()
=>
import
(
'./home/home.module'
).
then
(
m
=>
m
.
HomePageModule
)},
{
{
path
:
'policies'
,
path
:
'policies'
,
...
...
src/app/passengerdetails/passengerdetails.page.html
View file @
8211acde
<ion-header>
<ion-header>
<ion-grid>
<ion-grid
class=
"no-padding"
>
<ion-row>
<ion-row
class=
"no-padding"
>
<ion-col
size=
"1"
>
<ion-col
size=
"1"
class=
"no-padding"
>
<img
src=
"assets/arrow-left.png"
>
<img
src=
"assets/arrow-left.png"
>
</ion-col>
</ion-col>
<ion-col
size=
"11"
>
<ion-col
size=
"11"
class=
"no-padding"
>
<h1>
Checkout
</h1>
<h1>
Checkout
</h1>
</ion-col>
</ion-col>
</ion-row>
</ion-row>
</ion-grid>
</ion-grid>
</ion-header>
</ion-header>
<ion-content
padding
>
<ion-content>
<h1>
Passenger Details
</h1>
<ion-grid>
<ion-grid
padding
>
<ion-row>
<h1>
Passenger Details
</h1>
<ion-col
size=
"5"
>
<ion-row
class=
"no-padding"
>
<ion-col
size=
"5"
class=
"no-padding"
>
<h2>
Name
</h2>
<h2>
Name
</h2>
<p>
John Dawson
</p>
<p>
John Dawson
</p>
</ion-col>
</ion-col>
<ion-col
size=
"2"
>
<ion-col
size=
"2"
class=
"no-padding"
>
<h2>
Age
</h2>
<h2>
Age
</h2>
<p>
24
</p>
<p>
24
</p>
</ion-col>
</ion-col>
<ion-col
size=
"5"
>
<ion-col
size=
"5"
class=
"no-padding"
>
<h2>
Phone Number
</h2>
<h2>
Phone Number
</h2>
<p>
03360333421
</p>
<p>
03360333421
</p>
</ion-col>
</ion-col>
</ion-row>
</ion-row>
</ion-grid>
</ion-grid>
<img
src=
"assets/line.png"
alt=
"Line"
>
<img
src=
"assets/line.png"
class=
"line-img"
alt=
"Line"
>
<div
class=
"brd-details"
>
<div
class=
"brd-details"
padding
>
<h1>
Boarding Details
</h1>
<h1>
Boarding Details
</h1>
<table>
<table>
...
@@ -89,6 +90,38 @@
...
@@ -89,6 +90,38 @@
<div
class=
"item-box"
>
<div
class=
"item-box"
>
<p>
1 Item(s), Total:
<span>
Rs. 2,370
</span></p>
<p>
1 Item(s), Total:
<span>
Rs. 2,370
</span></p>
</div>
</div>
<div
class=
"voucher-s"
>
<div
class=
"head clearfix"
>
<h1>
Subtotal
</h1>
<h2>
Rs 2,200
</h2>
</div>
<ion-row
class=
"no-padding"
>
<ion-col
size=
"8"
class=
"no-padding"
>
<input
type=
"text"
placeholder=
"Enter Voucher Code"
>
</ion-col>
<ion-col
size=
"4"
class=
"no-padding"
>
<button>
APPLY
</button>
</ion-col>
</ion-row>
<form>
</form>
</div>
</ion-content>
</ion-content>
<ion-footer>
<ion-grid>
<ion-row>
<ion-col
size=
"7"
>
<h1>
Total:
<span>
Rs. 2,370
</span></h1>
<p>
VAT included, where applicable
</p>
</ion-col>
<ion-col
size=
"5"
>
<button>
Proceed to Pay
</button>
</ion-col>
</ion-row>
</ion-grid>
</ion-footer>
src/app/passengerdetails/passengerdetails.page.scss
View file @
8211acde
ion-header
{
ion-header
{
padding
:
0
16
px
;
padding
:
16px
12
px
;
&
:after
{
&
:after
{
content
:
none
;
content
:
none
;
...
@@ -32,6 +34,9 @@ ion-content {
...
@@ -32,6 +34,9 @@ ion-content {
margin-top
:
0
;
margin-top
:
0
;
color
:
#4C4C4C
;
color
:
#4C4C4C
;
}
}
.line-img
{
width
:
100%
;
}
.brd-details
{
.brd-details
{
margin-top
:
20px
;
margin-top
:
20px
;
...
@@ -50,11 +55,12 @@ ion-content {
...
@@ -50,11 +55,12 @@ ion-content {
.item-box
{
.item-box
{
margin-top
:
25px
;
margin-top
:
25px
;
padding
:
15px
0
;
padding
:
15px
16px
;
text-align
:
right
;
text-align
:
right
;
border-top
:
1px
solid
#dadada
;
border-top
:
1px
solid
#dadada
;
p
{
p
{
margin
:
0
;
span
{
span
{
font-size
:
18px
;
font-size
:
18px
;
...
@@ -63,4 +69,74 @@ ion-content {
...
@@ -63,4 +69,74 @@ ion-content {
}
}
}
}
}
}
}
\ No newline at end of file
.voucher-s
{
padding
:
16px
16px
;
border-top
:
8px
solid
#EDEDED
;
border-bottom
:
8px
solid
#EDEDED
;
.head
{
h1
{
float
:
left
;
font-weight
:
300
;
}
h2
{
float
:
right
;
font-size
:
18px
;
font-weight
:
900
;
}
}
input
{
border
:
1px
solid
#999
;
padding
:
10px
;
}
button
{
background-color
:
#EBEBEB
;
padding
:
14px
20px
;
width
:
100%
;
margin-left
:
5px
;
}
}
}
ion-footer
{
box-shadow
:
0px
-4px
5px
0px
rgba
(
0
,
0
,
0
,
0
.15
);
h1
{
font-size
:
20px
;
margin
:
0
;
span
{
color
:
#EC3A1C
;
font-size
:
24px
;
font-weight
:
900
;
}
}
p
{
margin-top
:
3px
;
font-size
:
14px
;
margin-bottom
:
0
;
color
:
#B1B1B1
;
}
button
{
background-color
:
#F26A21
;
color
:
#fff
;
padding
:
15px
;
width
:
100%
;
border-radius
:
10px
;
font-size
:
16px
;
}
}
.clearfix
{
&
:
:
after
{
display
:
block
;
content
:
""
;
clear
:
both
;
}
}
.no-padding
{
padding
:
0
;
}
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