Blame view
app/views/fbo-flight/flight.html
18.2 KB
e4e496d13
|
1 2 3 4 5 6 |
</div> <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-lg-8"> <h2>Tellus Institute</h2> </div> <div class="col-lg-4" style="margin-top: 20px; text-align: right;"> |
28eeae124
|
7 |
<button type="button" class="btn btn-default btn-sm" ui-sref="index.flightDept">Cancel</button> |
5c6477d3d
|
8 |
<button type="button" class="btn btn-primary btn-sm" ng-click="userData()">Save Changes</button> |
e4e496d13
|
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
</div> </div> </div> <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-7"> <div class="ibox float-e-margins"> <div class="ibox-title"> <div class="pull-left"> <h5>Contact Information</h5> </div> <div class="pull-right my-toggle-switch"> <div class="switch"> <div class="onoffswitch"> |
5c6477d3d
|
23 |
<input type="checkbox" ng-checked="status === true" ng-model="status" ng-init="status = true" class="onoffswitch-checkbox" id="example1"> |
e4e496d13
|
24 25 26 27 28 29 30 31 32 33 34 35 36 |
<label class="onoffswitch-label" for="example1"> <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span> </label> </div> </div> </div> <div class="clearfix"></div> </div> <div class="ibox-content"> <div class="row"> <form role="form"> <div class="col-sm-6 b-r"> |
20857569f
|
37 |
<!-- <div class="form-group"><label>Company Name</label> <input type="text" placeholder="Company Name" ng-model="user.companyName" class="form-control"></div> --> |
5c6477d3d
|
38 39 40 |
<div class="form-group"><label>Username</label> <input type="email" placeholder="Email Username" ng-model="user.email" class="form-control"></div> <div class="form-group"><label>First Name</label> <input type="text" placeholder="First Name" ng-model="user.firstName" class="form-control"></div> <div class="form-group"><label>Last Name</label> <input type="text" placeholder="Last Name" ng-model="user.lastName" class="form-control"></div> |
e4e496d13
|
41 42 43 44 45 46 47 |
<!-- <div> <button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit"><strong>Log in</strong></button> <label> <input type="checkbox" class="i-checks"> Remember me </label> </div> --> </div> <div class="col-sm-6"> |
5c6477d3d
|
48 49 50 |
<div class="form-group"><label>Password</label> <input type="password" ng-model="user.password" placeholder="Password" class="form-control"></div> <div class="form-group"><label>Phone</label> <input type="number" ng-model="user.phone" placeholder="Phone" class="form-control"></div> <div class="form-group"><label>Mobile</label> <input type="number" ng-model="user.mobile" placeholder="Mobile" class="form-control"></div> |
e4e496d13
|
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
</div> </form> </div> </div> </div> </div> <div class="col-lg-5"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>Client Notes</h5> </div> <div class="ibox-content"> <div class="row"> <form role="form"> |
5c6477d3d
|
66 |
<textarea class="form-control" rows="10" ng-model="user.clientNote" id="comment"></textarea> |
e4e496d13
|
67 68 69 70 71 72 73 74 75 76 |
</form> </div> </div> </div> </div> </div> </div> <div> |
988ec12e4
|
77 78 79 80 |
<div class="row"> <div class="col-lg-7"> <div class="ibox float-e-margins"> <div class="ibox-title"> |
d5fb510e5
|
81 |
<h5>Aircraft List</h5> |
988ec12e4
|
82 |
<div class="pull-right"> |
1956e3844
|
83 |
<button type="button" class="btn btn-primary btn-sm" ng-click="openModal()">+ Add</button> |
988ec12e4
|
84 85 |
</div> <div class="clearfix"></div> |
d5fb510e5
|
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
<div class="modal inmodal" id="myModal4" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content animated fadeIn"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <!-- <i class="fa fa-clock-o modal-icon"></i> --> <h4 class="modal-title">Add Aircraft</h4> <!-- <small>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</small> --> </div> <div class="modal-body" style="padding: 15px;"> <table class="table table-bordered table-hover table-striped"> <thead> <tr> <th>Tail</th> <th>Make</th> <th>Model</th> <th>Size</th> </tr> </thead> <tbody> <tr> <td> |
104d51edf
|
108 |
<input type="text" style="width:100px;" ng-model="aircraft.tail" class="form-control"> |
d5fb510e5
|
109 |
</td> |
104d51edf
|
110 111 112 |
<td style="width: 30%"> <select class="form-control" ng-model="aircraft.make" ng-change="getModal()"> <option ng-repeat="make in aircraftMakeList">{{make}}</option> |
d5fb510e5
|
113 114 |
</select> </td> |
104d51edf
|
115 |
<td style="width: 30%"> |
d5fb510e5
|
116 |
<select class="form-control"> |
104d51edf
|
117 |
<option ng-repeat="model in aircraftModalList" ng-model="aircraft.model">{{model}}</option> |
d5fb510e5
|
118 119 |
</select> </td> |
104d51edf
|
120 |
<td style="width: 30%"> |
d5fb510e5
|
121 |
<select class="form-control"> |
104d51edf
|
122 |
<option ng-repeat="size in aircraftSizeList" ng-model="aircraft.size">{{size}}</option> |
d5fb510e5
|
123 124 125 126 127 128 129 130 |
</select> </td> </tr> </tbody> </table> </div> <div class="modal-footer"> <button type="button" class="btn btn-white" data-dismiss="modal">Close</button> |
104d51edf
|
131 |
<button type="button" class="btn btn-primary" ng-click="addAircraft()">Save changes</button> |
d5fb510e5
|
132 133 134 135 |
</div> </div> </div> </div> |
988ec12e4
|
136 |
</div> |
d5fb510e5
|
137 |
<div class="ibox-content"> |
988ec12e4
|
138 139 140 141 142 143 144 145 |
<div class="table-responsive"> <table class="table table-bordered table-hover table-striped"> <thead> <tr> <th>Tail</th> <th>Make</th> <th>Model</th> <th>Size</th> |
988ec12e4
|
146 147 148 |
</tr> </thead> <tbody> |
104d51edf
|
149 |
<tr ng-repeat="airData in getCraftList track by $index"> |
988ec12e4
|
150 |
<td> |
104d51edf
|
151 |
<input type="text" style="width:100px;" ng-model="airData.tail" class="form-control"> |
988ec12e4
|
152 153 |
</td> <td> |
104d51edf
|
154 155 |
<select class="form-control" ng-model="airData.make"> <option>{{airData.make}}</option> |
988ec12e4
|
156 157 158 |
</select> </td> <td> |
104d51edf
|
159 160 |
<select class="form-control" ng-model="airData.model"> <option>{{airData.model}}</option> |
988ec12e4
|
161 162 163 |
</select> </td> <td> |
104d51edf
|
164 165 |
<select class="form-control" ng-model="airData.size"> <option>{{airData.size}}</option> |
988ec12e4
|
166 167 168 169 170 |
</select> </td> </tr> </tbody> </table> |
e4e496d13
|
171 |
</div> |
988ec12e4
|
172 173 174 |
<div class="clearfix"></div> </div> </div> |
e4e496d13
|
175 |
</div> |
5c6477d3d
|
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
<div class="col-lg-5"> <div class="ibox float-e-margins"> <div class="ibox-title"> <h5>Account Authenticatio & Payment Method</h5> </div> <div class="ibox-content"> <!-- <div class="row"> <div class="col-md-3"> <img src="images/master.png"> </div> <div class="col-md-9"> <div class="col"> <span style="font-size: large; color: #909394;">**** **** **** 7002</span> </div> <div class="col"> <span><strong>Expiry Date:</strong>10/16</span> </div> </div> <div class="clearfix"></div> <br> <div class="col-md-3"> <img src="images/visa1.png"> </div> <div class="col-md-9"> <div class="col"> <span style="font-size: large; color: #909394;">**** **** **** 1060</span> </div> <div class="col"> <span><strong>Expiry Date:</strong>10/16</span> </div> </div> <div class="clearfix"></div> </div> --> <div class="row"> |
5c6477d3d
|
214 |
|
0a4eb77cc
|
215 |
<!-- <form name="myForm"> |
5c6477d3d
|
216 |
|
0a4eb77cc
|
217 218 219 220 |
<div class="span3"> <label for="">Card number</label> <input type="text" class="form-control" ng-model="number"> </div> |
5c6477d3d
|
221 |
|
0a4eb77cc
|
222 223 224 225 |
<div class="span3"> <label for="">Name on card </label> <input type="text" class="form-control"> </div> |
5c6477d3d
|
226 |
|
0a4eb77cc
|
227 228 229 230 231 |
<div class="row"> <div class="col-sm-6"> <label for="">Expiry</label> <input type="text" class="form-control" ng-model="expiry"> </div> |
5c6477d3d
|
232 |
|
0a4eb77cc
|
233 234 235 236 237 238 239 240 241 242 |
<div class="col-sm-6"> <label for="">CVV</label> <input type="text" class="form-control" ng-model="cvc"> </div> </div> <div class="span4"> <button type="submit" class="btn btn-primary btn-large">Add</button> </div> </form> --> |
5c6477d3d
|
243 |
|
0a4eb77cc
|
244 245 246 247 248 249 250 251 252 253 254 |
<div class="container"> <div class="row"> <div class="col-xs-12 col-md-4"> <div class="panel panel-default credit-card-box"> <div class="panel-heading display-table" > <div class="row display-tr" > <h3 class="panel-title display-td" >Payment Details</h3> <div class="display-td" > <img class="img-responsive pull-right" src="http://i76.imgup.net/accepted_c22e0.png"> </div> </div> |
5c6477d3d
|
255 |
</div> |
0a4eb77cc
|
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 |
<div class="panel-body"> <form role="form" id="payment-form"> <div class="row"> <div class="col-xs-12"> <div class="form-group"> <label for="cardNumber">CARD NUMBER</label> <div class="input-group"> <input type="number" ng-model="data.cardNumber" maxlength="16" oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);" class="form-control" name="cardNumber" placeholder="Valid Card Number" autocomplete="cc-number" required autofocus> <span class="input-group-addon"><i class="fa fa-credit-card"></i></span> </div> </div> </div> </div> <div class="row"> <div class="col-xs-7 col-md-7"> <div class="form-group"> <label for="cardExpiry"><span class="hidden-xs">EXPIRATION</span><span class="visible-xs-inline">EXP</span> DATE</label> <input type="text" ng-model="data.expiryDate" class="form-control" name="cardExpiry" placeholder="MM / YY" autocomplete="cc-exp" required> </div> </div> <div class="col-xs-5 col-md-5 pull-right"> <div class="form-group"> |
7379f005b
|
279 |
<label for="cardCVC">CVV CODE</label> |
0a4eb77cc
|
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 |
<input type="number" maxlength="3" oninput="javascript: if (this.value.length > this.maxLength) this.value = this.value.slice(0, this.maxLength);" class="form-control" name="cardCVC" placeholder="CVC" autocomplete="cc-csc" required> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <div class="form-group"> <label for="name">Card Type</label> <select class="form-control m-b" name="account" ng-model="data.cardType" style="margin-bottom: 0;"> <option value="creditCard" selected>Credit Card</option> <option value="debitCard">Debit Card</option> </select> </div> </div> </div> <div class="row"> <div class="col-xs-12"> |
7379f005b
|
298 |
<button class="btn btn-success btn-lg btn-block" type="submit" ng-click="addCard()">Add</button> |
0a4eb77cc
|
299 300 301 302 303 304 305 306 |
</div> </div> <div class="row" style="display:none;"> <div class="col-xs-12"> <p class="payment-errors"></p> </div> </div> </form> |
5c6477d3d
|
307 |
</div> |
0a4eb77cc
|
308 309 |
</div> </div> |
5c6477d3d
|
310 311 312 |
</div> </div> </div> |
5c6477d3d
|
313 |
</div> |
5c6477d3d
|
314 315 |
</div> </div> |
e4e496d13
|
316 317 |
</div> </div> |
0a4eb77cc
|
318 319 |
</div> <script type="text/javascript" src="https://js.stripe.com/v2/"></script> |