Blame view
app/views/fbo-flight/flight.html
24.1 KB
16fa2ad10
|
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 |
<style> .button1 { display: inline-block; height: 35px; line-height: 35px; padding-right: 15px; padding-left: 50px; position: relative; background-color:rgb(41,127,184); color:rgb(255,255,255); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; border: 0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; text-shadow:0px 1px 0px rgba(0,0,0,0.5); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true)";zoom:1; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ff123852,Positive=true); -moz-box-shadow:0px 2px 2px rgba(0,0,0,0.2); -webkit-box-shadow:0px 2px 2px rgba(0,0,0,0.2); box-shadow:0px 2px 2px rgba(0,0,0,0.2); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true)"; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=2,Color=#33000000,Positive=true); } .button1 span { position: absolute; left: 0; top: 0; width: 35px; background-color:rgba(0,0,0,0.5); -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-right: 1px solid rgba(0,0,0,0.15); } .button1:hover span, .button1.active span { background-color:rgb(0,102,26); border-right: 1px solid rgba(0,0,0,0.3); } .button1:active { margin-top: 2px; margin-bottom: 13px; -moz-box-shadow:0px 1px 0px rgba(255,255,255,0.5); -webkit-box-shadow:0px 1px 0px rgba(255,255,255,0.5); box-shadow:0px 1px 0px rgba(255,255,255,0.5); -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true)"; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=0,OffY=1,Color=#ccffffff,Positive=true); } .button1.turquoise { background: #449d44; } |
e2bce8d01
![]() |
67 68 69 |
.customErrorMessage{ color: #8a1f11; font-weight: bold; |
e2bce8d01
![]() |
70 71 72 73 |
} .customErrorInput{ background-color: rgb(251, 227, 228); border: 1px solid #fbc2c4; |
976f0b4a8
![]() |
74 75 76 77 78 |
color: #8a1f11; } .redAstrick{ color: #8a1f11; margin: 0 1px; |
e2bce8d01
![]() |
79 |
} |
16fa2ad10
|
80 81 82 83 |
</style> <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-lg-8"> <!-- <h2 ng-click="editName()" ng-show="showCompany" style="cursor: pointer;">Tellus Institute</h2> --> |
e2bce8d01
![]() |
84 |
<div style="margin-top: 20px;"> |
976f0b4a8
![]() |
85 86 |
<input type="text" style="width:50%; float: left;" placeholder="Enter Company Name" ng-model="user.companyName" class="form-control companyNameError" ng-keyup="companyNameValid()"> <span class="redAstrick" style="margin: 0 5px;">*</span> |
e2bce8d01
![]() |
87 |
<label class="customErrorMessage" ng-show="comnayNameInvalid" style="margin-top: 7px;">This field is required.</label> |
976f0b4a8
![]() |
88 |
<div class="clearfix"></div> |
e2bce8d01
![]() |
89 |
</div> |
16fa2ad10
|
90 91 92 93 |
</div> <div class="col-lg-4" style="margin-top: 20px; text-align: right;"> <button type="button" class="btn btn-default btn-sm" ui-sref="index.flightDept">Cancel</button> <button type="button" class="btn btn-primary btn-sm" ng-click="userData()">Save Changes</button> |
e4e496d13
|
94 95 96 97 98 99 100 101 102 103 104 105 106 |
</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
|
107 |
<input type="checkbox" ng-checked="status === true" ng-model="status" ng-init="status = true" class="onoffswitch-checkbox" id="example1"> |
e4e496d13
|
108 109 110 111 112 113 114 115 116 117 118 119 120 |
<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
|
121 |
<!-- <div class="form-group"><label>Company Name</label> <input type="text" placeholder="Company Name" ng-model="user.companyName" class="form-control"></div> --> |
e2bce8d01
![]() |
122 |
<div class="form-group"> |
976f0b4a8
![]() |
123 |
<label>Email Username <span class="redAstrick">*</span></label> |
e2bce8d01
![]() |
124 125 126 |
<label class="customErrorMessage" ng-show="emailInvalid">This field is required.</label> <input type="email" placeholder="Email Username" ng-model="user.email" class="form-control emailIdError" ng-blur="checkUsername()" ng-keyup="emailValid()"> </div> |
5c6477d3d
|
127 128 |
<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
|
129 130 131 132 133 134 135 |
<!-- <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"> |
e2bce8d01
![]() |
136 |
<div class="form-group"> |
976f0b4a8
![]() |
137 |
<label>Password <span class="redAstrick" style="margin: 0 5px;">*</span></label> |
e2bce8d01
![]() |
138 139 140 |
<label class="customErrorMessage" ng-show="passwordInvalid">This field is required.</label> <input type="password" ng-model="user.password" placeholder="Password" class="form-control invalidPassword" ng-keyup="passwordValid()"> </div> |
5c6477d3d
|
141 142 |
<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
|
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
</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
|
158 |
<textarea class="form-control" rows="10" ng-model="user.clientNote" id="comment"></textarea> |
e4e496d13
|
159 160 161 162 163 164 165 166 167 168 |
</form> </div> </div> </div> </div> </div> </div> <div> |
988ec12e4
|
169 170 171 172 |
<div class="row"> <div class="col-lg-7"> <div class="ibox float-e-margins"> <div class="ibox-title"> |
d5fb510e5
|
173 |
<h5>Aircraft List</h5> |
16fa2ad10
|
174 |
<!-- <div class="pull-right"> |
1956e3844
|
175 |
<button type="button" class="btn btn-primary btn-sm" ng-click="openModal()">+ Add</button> |
988ec12e4
|
176 177 |
</div> <div class="clearfix"></div> |
d5fb510e5
|
178 179 180 181 182 |
<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> |
d5fb510e5
|
183 |
<h4 class="modal-title">Add Aircraft</h4> |
d5fb510e5
|
184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
</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
|
198 |
<input type="text" style="width:100px;" ng-model="aircraft.tail" class="form-control"> |
d5fb510e5
|
199 |
</td> |
104d51edf
|
200 201 202 |
<td style="width: 30%"> <select class="form-control" ng-model="aircraft.make" ng-change="getModal()"> <option ng-repeat="make in aircraftMakeList">{{make}}</option> |
d5fb510e5
|
203 204 |
</select> </td> |
104d51edf
|
205 |
<td style="width: 30%"> |
db8e1f992
|
206 207 |
<select class="form-control" ng-model="aircraft.model" ng-change="getSize()"> <option ng-repeat="model in aircraftModalList">{{model}}</option> |
d5fb510e5
|
208 209 |
</select> </td> |
104d51edf
|
210 |
<td style="width: 30%"> |
db8e1f992
|
211 212 |
<select class="form-control" ng-model="aircraft.size"> <option ng-repeat="size in aircraftSizeList">{{size}}</option> |
d5fb510e5
|
213 214 215 216 217 218 219 220 |
</select> </td> </tr> </tbody> </table> </div> <div class="modal-footer"> <button type="button" class="btn btn-white" data-dismiss="modal">Close</button> |
104d51edf
|
221 |
<button type="button" class="btn btn-primary" ng-click="addAircraft()">Save changes</button> |
d5fb510e5
|
222 223 224 |
</div> </div> </div> |
16fa2ad10
|
225 |
</div> --> |
988ec12e4
|
226 |
</div> |
d5fb510e5
|
227 |
<div class="ibox-content"> |
988ec12e4
|
228 |
<div class="table-responsive"> |
16fa2ad10
|
229 |
<!-- <table class="table table-bordered table-hover table-striped"> |
988ec12e4
|
230 231 232 233 234 235 |
<thead> <tr> <th>Tail</th> <th>Make</th> <th>Model</th> <th>Size</th> |
988ec12e4
|
236 237 238 |
</tr> </thead> <tbody> |
104d51edf
|
239 |
<tr ng-repeat="airData in getCraftList track by $index"> |
988ec12e4
|
240 |
<td> |
104d51edf
|
241 |
<input type="text" style="width:100px;" ng-model="airData.tail" class="form-control"> |
988ec12e4
|
242 243 |
</td> <td> |
104d51edf
|
244 245 |
<select class="form-control" ng-model="airData.make"> <option>{{airData.make}}</option> |
988ec12e4
|
246 247 248 |
</select> </td> <td> |
104d51edf
|
249 250 |
<select class="form-control" ng-model="airData.model"> <option>{{airData.model}}</option> |
988ec12e4
|
251 252 253 |
</select> </td> <td> |
104d51edf
|
254 255 |
<select class="form-control" ng-model="airData.size"> <option>{{airData.size}}</option> |
988ec12e4
|
256 257 258 259 |
</select> </td> </tr> </tbody> |
16fa2ad10
|
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
</table> --> <table class="table table-striped table-bordered"> <thead> <tr> <!-- <th><input type="checkbox" ng-model="selectedAll" ng-click="checkAll()" /></th> --> <th>Tail</th> <th>Make</th> <th>Model</th> <th>Size</th> </tr> </thead> <tbody> <tr ng-repeat="aircraftData in aircraftDetails track by $index"> <!-- <td> <input type="checkbox" ng-model="aircraftData.selected"/> </td> --> <td style="width: 20%"> <input type="text" class="form-control" ng-model="aircraftData.tail" required/> </td> <td style="width: 20%"> <select class="form-control" ng-model="aircraftData.make" ng-change="getModal(aircraftData.make, $index)"> <option ng-repeat="make in aircraftMakeList">{{make}}</option> </select> </td> <td style="width: 20%"> <select class="form-control" ng-model="aircraftData.model" ng-change="getSize(aircraftData.model, $index)"> <option ng-repeat="model in aircraftData.aircraftModalList">{{model}}</option> </select> </td> <td style="width: 20%"> <select class="form-control" ng-model="aircraftData.sizeId" ng-options="size.aircraftSize.id as size.aircraftSize.size for size in aircraftData.aircraftSizeList"></select> <!-- <select class="form-control" ng-model="aircraftData.size"> <option ng-repeat="size in aircraftData.aircraftSizeList">{{size}}</option> </select> --> </td> </tr> </tbody> |
988ec12e4
|
297 |
</table> |
e4e496d13
|
298 |
</div> |
16fa2ad10
|
299 300 301 |
<div class="col-xs-12" style="margin-bottom: 50px;margin-top: 10px;"> <button ng-click="addNew()" class="button1 turquoise pull-right"><span>+</span>Add Aircraft</button> </div> |
988ec12e4
|
302 303 304 |
<div class="clearfix"></div> </div> </div> |
e4e496d13
|
305 |
</div> |
5c6477d3d
|
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
<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
|
344 |
|
0a4eb77cc
|
345 |
<!-- <form name="myForm"> |
5c6477d3d
|
346 |
|
0a4eb77cc
|
347 348 349 350 |
<div class="span3"> <label for="">Card number</label> <input type="text" class="form-control" ng-model="number"> </div> |
5c6477d3d
|
351 |
|
0a4eb77cc
|
352 353 354 355 |
<div class="span3"> <label for="">Name on card </label> <input type="text" class="form-control"> </div> |
5c6477d3d
|
356 |
|
0a4eb77cc
|
357 358 359 360 361 |
<div class="row"> <div class="col-sm-6"> <label for="">Expiry</label> <input type="text" class="form-control" ng-model="expiry"> </div> |
5c6477d3d
|
362 |
|
0a4eb77cc
|
363 364 365 366 367 368 369 370 371 372 |
<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
|
373 |
|
0a4eb77cc
|
374 375 376 377 378 379 380 381 382 383 384 |
<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
|
385 |
</div> |
0a4eb77cc
|
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 |
<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
|
409 |
<label for="cardCVC">CVV CODE</label> |
0a4eb77cc
|
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
<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
|
428 |
<button class="btn btn-success btn-lg btn-block" type="submit" ng-click="addCard()">Add</button> |
0a4eb77cc
|
429 430 431 432 433 434 435 436 |
</div> </div> <div class="row" style="display:none;"> <div class="col-xs-12"> <p class="payment-errors"></p> </div> </div> </form> |
5c6477d3d
|
437 |
</div> |
0a4eb77cc
|
438 439 |
</div> </div> |
5c6477d3d
|
440 441 442 |
</div> </div> </div> |
5c6477d3d
|
443 |
</div> |
5c6477d3d
|
444 445 |
</div> </div> |
e4e496d13
|
446 447 |
</div> </div> |
0a4eb77cc
|
448 449 |
</div> <script type="text/javascript" src="https://js.stripe.com/v2/"></script> |