-
Notifications
You must be signed in to change notification settings - Fork 0
/
booking.html
116 lines (84 loc) · 5.61 KB
/
booking.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<main ng-controller="bookingController">
<div class="row" style="margin-top: 5rem">
</div>
<div class="container " >
<form class="mb-3 shadow rounded bg-white" style="border-width:medium;">
<div class="row justify-content-center ">
<div class="col-md-6 text-center">
<h3 class=" mt-2 py-2 font-weight-bold text-warning">BOOKING <span style="color:black">DETAILS</span></h3>
</div>
</div>
<div class="row mt-3 ml-2 justify-content-center">
<div class="form-group col-md-3" ng-init="countad=1">
<label for="adult">Number of adults</label>
<div id="adult">
<button type="button" class="btn btn-secondary mr-4" ng-click="decradult()"><b>-</b></button> <b class="text-center" style="font-size:2rem;">{{countad}}</b> <button type="button" class="btn btn-secondary ml-4" ng-click="incradult()"><b>+</b></button>
</div>
</div>
<div class="form-group col-md-3" ng-init="countcd=0">
<label for="childrens">Number of children</label>
<div id="childrens">
<button type="button" class="btn btn-secondary mr-4 " ng-click="decrchild()"><b>-</b></button> <b class="text-center" style="font-size:2rem;">{{countcd}}</b> <button type="button" class="btn btn-secondary ml-4" ng-click="incrchild()"><b>+</b></button>
</div>
</div>
</div>
<div class="row mt-5 justify-content-center">
<div class="col-md-3 text-center font-weight-bold ">
<h5><b>Total price  Rs </b> {{price}}</h5>
</div>
<div class="col-md-3 " ng-hide="paybutton">
<button type="button" class=" ml-2 btn btn-primary" ng-click="dateclash()">Pay</button>
</div>
</div>
<div class="row mt-3">
</div>
<div ng-show="payment">
<div class="row mt-2 justify-content-center">
<div class="col-md-6 text-center">
<h3 class="ml-2 mt-2 py-2 font-weight-bold text-warning">PAYMENT <span style="color:black">OPTIONS</span></h3>
</div>
</div>
<div class="row ml-2 mr-1 justify-content-center">
<div class="form-group col-md-3">
<label for="cardname">Name on card</label>
<input type="text" class="form-control" id="cardname" minlength="10" ng-model="cardname" required>
</div>
<div class="form-group col-md-3 ">
<label for="cardno">Card number</label>
<input type="number" class="form-control" id="cardno" ng-model="cardno" minlength="16" required >
</div>
<div class="form-group col-md-3">
<label for="cvc">CVC</label>
<input type="text" class="form-control" id="cvc" maxlength="3" minlength="3" ng-model="cvc" required>
</div>
<div class="form-group col-md-3">
<label for="doe">Date of expiration</label>
<input type="date" class="form-control" id="doe" ng-model="dateofexpire" required >
</div>
</div>
<div class="row justify-content-center" ng-show="errormessage">
<div class="alert alert-success alert-dismissible fade show text-center mx-5 col-md-6" role="alert">
<strong>Enter all fields</strong>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
</div>
<div class="form-row ml-2 mt-2 mb-3 justify-content-center">
<div class="col-md-2 form-group">
<button type="button" class="btn btn-outline-success" ng-click="submitbooking()">Submit</button>
</div>
</div>
</div>
<div ng-show="sorry" class="text-center ">
<h1 class="ml-2 mt-2 py-2 font-weight-normal ">OOPS!</h1>
<p>you have trip on these days</p>
<a href="bookedpackages.html" class="btn btn-warning text-white">GO TO BOOKED PACKAGES</a>
</div>
<div class="row" style="margin-top:2rem">
</div>
</form>
<div class="row" style="margin-bottom: 5rem">
</div>
</div>
</main>