-
Notifications
You must be signed in to change notification settings - Fork 1
/
Checkout.php
145 lines (141 loc) · 6.83 KB
/
Checkout.php
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
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="bootstrap/open-iconic-bootstrap.css">
<meta charset="UTF-8">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="Checkout.css">
<meta name="viewport" content="width=device-width">
<title>Checkout Mirror Fashion</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="index.html">Mirror Fashion</a>
<div class="collapse navbar-collapse" id="navbarToggleExternalContent">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="sobre.html">Sobre</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Ajuda</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Perguntas frequentes</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Entre em contato</a>
</li>
</ul>
</div>
</nav>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Ótima escolha!</h1>
<p class="lead">Obrigado por comprar na Mirror Fashion!
Preencha seus dados para efetivar a compra.</p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-4 col-xl-3">
<div class="card mb-3">
<div class="card-header">
Sua compra
</div>
<div class="card-body">
<img src="img/produtos/foto1-verde.png" alt="Fuzzy Cardigan" class="img-thumbnail mb-3">
<dl>
<dt>Produto</dt>
<dd>Fuzzy Cardigan</dd>
<dt>Cor</dt>
<dd>Verde</dd>
<dt>Tamanho</dt>
<dd>40</dd>
<dt>Preço</dt>
<dd id="preco">R$ 129,90</dd>
</dl>
</div>
</div>
<div class="card mb-3">
<div class="card-body">
<div class="form-group">
<label for="qtd">Quantidade:</label>
<input type="number" id="qtd" min="1" max="99" value="1" class="form-control">
</div>
<div class="form-group">
<label for="total">Total:</label>
<output for="qtd preco" id="total" class="form-control">R$ 129,90</output>
</div>
</div>
</div>
</div>
<form class="col-md-8 col-xl-9">
<div class="row">
<fieldset class="col-lg-6">
<legend>Dados pessoais</legend>
<div class="form-group">
<label for="nome">Nome completo</label>
<input type="text" class="form-control" id="nome" name="nome" autofocus required>
</div>
<div class="form-group">
<label for="email">Email</label>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text"></span>
</div>
<input type="email" class="form-control" id="email" name="email" placeholder="[email protected]">
</div>
</div>
<div class="form-group">
<label for="cpf">CPF</label>
<input type="number" class="form-control" id="cpf" name="cpf" placeholder="000.000.000-00"
required>
</div>
<div class="form-group custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="newsletter" value="sim" checked>
<label class="custom-control-label" for="newsletter">
Quero receber Newsletter da Mirror Fashion
</label>
</div>
</fieldset>
<fieldset class="col-lg-6">
<legend>Cartão de crédito</legend>
<div class="form-group">
<label for="numero-cartao">Número - CVV</label>
<input type="text" class="form-control" data-mask="9999 9999 9999 9999 - 999" id="numero-cartao" name="numero-cartao">
</div>
<div class="form-group">
<div class="input-group mb-3">
<div class="input-group-prepend">
<label class="input-group-text" for="bandeira-cartao">Bandeira</label>
</div>
<select class="custom-select" id="bandeira-cartao">
<option disabled selected>Selecione uma opção...</option>
<option value="master">MasterCard</option>
<option value="visa">VISA</option>
<option value="amex">American Express</option>
</select>
</div>
</div>
<div class="form-group">
<label for="validade-cartao">Validade</label>
<input type="month" class="form-control" id="validade-cartao" name="validade-cartao">
</div>
</fieldset>
</div>
<button type="submit" class="btn btn-primary btn-lg">
<span class="oi oi-thumb-up"></span>
Confirmar Pedido
</button>
</form>
</div>
</div>
<script type="text/javascript" src="Total.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/inputmask-plugin.js"></script>
</body>
</html>