Commit 8211acde by Arjun

passenger details

parent f9e712bd
...@@ -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',
......
<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>
ion-header { ion-header {
padding: 0 16px; padding: 16px 12px;
&: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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment