forked from Laboratoria-learning/card-validator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index2.html
118 lines (114 loc) · 5.9 KB
/
index2.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
117
118
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Card Validator</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="stylesheet" href="css/assets/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<!--Navigation-->
<nav id="nav-bar" class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="name-brand navbar-brand" href="index.html">
<img id="logo" src="assets/images/logo-mp.png" alt="logo-brand">
</a>
<h2>Mobile Pixels</h2>
</nav>
<!--Pre-order now Section-->
<section id="pre-order-section">
<a href="#payment-form" data-toggle="modal"><button id="btn-pre-order" class="btn btn-primary" type="button">Pre-order now!</button></a>
</section>
<!--Description product Section-->
<section id="description-product">
<br>
<div class="row">
<div id="product-section" class="col-lg-12 col-md-12 col-sm-12"></div>
</div>
</section>
<!--Modal-->
<div class="container">
<section class="row">
<div class="modal fade" id="payment-form">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header row">
<div class="col-md-9 col-sm-9">
<p id="total-payment">Total payment $179 USD</p>
</div>
<div class="col-md-3 col-sm-3">
<button tyle="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
</div>
<div class="modal-body">
<form>
<div class="form-row">
<form>
<div class="form-group row">
<div class="col-md-6 col-sm-6">
<label for="cn" class="col-form-label">Card number</label>
</div>
<div class="col-md-6 col-sm-6">
<input id="cn" name="cn" class="form-control" placeholder="16 digits" />
</div>
</div>
<div class="form-group row">
<div class="col-md-4 col-sm-4">
<label for="exp" class="col-form-label">Expires</label>
</div>
<div class="col-md-4 col-sm-4">
<input id="exp2" name="exp" class="form-control" placeholder="MM" />
</div>
<div class="col-md-4 col-sm-4">
<input id="exp" name="exp" class="form-control" placeholder="YYYY" />
</div>
</div>
<div class="form-group row">
<div class="col-md-7 col-sm-7">
<label for="cvv" class="col-form-label">CVV</label>
</div>
<div class="col-md-5 col-sm-5">
<input id="cvv" name="cvv" class="form-control" placeholder="3 digits" />
</div>
</div>
<div class="form-group row">
<div class="col-md-5 col-sm-5">
<label for="name">Cardholder name</label>
</div>
<div class="col-md-7 col-sm-7">
<input id="name" name="name" class="form-control" placeholder="Full Name" />
</div>
</div>
</form>
</div>
</form>
</div>
<div class="modal-footer">
<div class="form-group">
<input id="submit-btn" class="btn btn-primary" type="button" value="Pay now" /></center>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!--Footer-->
<br>
<section id="footer-section" class="navbar-dark bg-dark">
<center>
<p>© 2020. All rights reserved Pixel Union.</p>
</center>
</section>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="js/assets/bootstrap.min.js"></script>
<script src="src/validate-card.js"></script>
<script src="src/validate-cvv.js"></script>
<script src="src/month-validator.js"></script>
<script src="src/year-validation.js"></script>
<script src="src/name-validator.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>