-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
146 lines (143 loc) · 6.9 KB
/
index.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<title>Card Number</title>
</head>
<body>
<div class="container">
<h1 class="title-main">Votre achat d'un montant de X€ !</h1>
<p class="p-main">Entrez vos informations pour effectuer le paiement</p>
<small class="warning">Ps: Ceci est une simulation, aucune carte ne sera débitée, mais <span>n'entrez surtout
pas
vos coordonnées bancaires</span> !</small>
<div class="body-card">
<div class="card">
<div class="branch">
<img src="images/visa.png" alt="visa">
</div>
<img class="chip" src="images/chip.png" alt="card chip">
<img class="background" src="images/background_card.jpeg" alt="card background">
<div class="print-number">
<p id='0'>#</p>
<p id='1'>#</p>
<p id='2'>#</p>
<p id='3'>#</p>
<p class="esp"> </p>
<p id='4'>#</p>
<p id='5'>#</p>
<p id='6'>#</p>
<p id='7'>#</p>
<p class="esp"> </p>
<p id='8'>#</p>
<p id='9'>#</p>
<p id='10'>#</p>
<p id='11'>#</p>
<p class="esp"> </p>
<p id='12'>#</p>
<p id='13'>#</p>
<p id='14'>#</p>
<p id='15'>#</p>
</div>
<div class="print-name">
<h2>Nom du propriétaire</h2>
<div class="fill-name">
<p>Will Smith</p>
</div>
</div>
<div class="print-date">
<h2>Date d'expiration</h2>
<p>
<span data-name="month"></span>
<span data-name="sep"></span>
<span data-name="year"></span>
</p>
</div>
</div>
<div class="card-back">
<img class="background" src="images/background_card.jpeg" alt="card background">
<div class="black-band"></div>
<div class="print-crypt">
<h2>CCV</h2>
<input type="password" disabled="disabled">
</div>
<div class="branch">
<img src="images/visa.png" alt="visa">
</div>
</div>
<div class="paiement-form">
<form method="get" autocomplete="off">
<div class="form-info card-number">
<label for="card-number">Numéro de la carte / Card Number : </label>
<input type="text" id="card-number" name="cardNumber" placeholder="#### #### #### ####"
maxlength="16" onkeypress="return onlyNumber(event)">
</div>
<div class="form-info card-name">
<label for="card-name">Nom du propriétaire / Card Owner : </label>
<input type="text" id="card-name" name="cardName" placeholder="Will Smith" onkeypress="return onlyChar(event)">
</div>
<div class="card-info">
<div class="form-info card-date">
<label for="card-date">Date d'expiration / Expiration Date : </label>
<div class="date">
<select name="month" id="card-date">
<option value="month" selected disabled="disabled">Mois / Month</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
<select name="year" id="card-year">
<option value="year" selected disabled="disabled">Année / Year</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2024">2024</option>
<option value="2025">2025</option>
<option value="2026">2026</option>
<option value="2027">2027</option>
<option value="2028">2028</option>
<option value="2029">2029</option>
<option value="2030">2030</option>
</select>
</div>
</div>
<div class="form-info card-crypt">
<label for="card-crypt">CCV : </label>
<input type="text" id="card-crypt" name="cardCrypt" placeholder="****" maxlength="4" onkeypress="return onlyNumber(event)">
</div>
</div>
<div class="form-info submit">
<button type="button" class="send">
<span></span>
<span></span>
<span></span>
<span></span>
<p>Envoyer / Submit</p>
</button>
</div>
</form>
</div>
</div>
</div>
<form>
<div class="popup hide">
<button type="submit">X</button>
<h2>Félicitation paiement accepté / Success !</h2>
</div>
</form>
</body>
<script src="js/main.js"></script>
</html>