-
Notifications
You must be signed in to change notification settings - Fork 0
/
compra.html
128 lines (118 loc) · 4.8 KB
/
compra.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
---
layout: default
title: Compre Bitcoins
id: comprar
---
<main class="content container">
<article class="primary">
<h1>Compre Bitcoin</h1>
<h2>Preencha seus dados e escolha a forma de pagamento.</h2>
<form id="compre-bitcoins" action="#" method="post" onsubmit="return validateForm()">
<fieldset>
<p>
<label for="full-name">Nome completo*</label>
<input id="full-name" name="full-name" type="text" placeholder="Seu nome e sobrenome" />
<span id="full-name-error" class="error-container"></span>
</p>
<p>
<label for="cpf">CPF*</label>
<input id="cpf" name="cpf" type="text" placeholder="Seu CPF, apenas números" />
<span id="cpf-error" class="error-container"></span>
</p>
<p>
<label for="email">Email*</label>
<input id="email" name="email" type="email" placeholder="Seu email" />
<span id="email-error" class="error-container"></span>
</p>
<div class="conversor">
<p class="bitcoin-value">
<label for="bitcoin-value">Quantia em Bitcoin*</label>
<input id="bitcoin-value" name="bitcoin-value" type="text" />
</p>
<p class="equal">
=
</p>
<p class="brl-value">
<label for="brl-value">Valor em Reais</label>
<input id="brl-value" name="brl-value" type="text" />
</p>
<span id="bitcoin-error" class="error-container"></span>
</div>
<p>
<p class="like-label" for="has-wallet">Tenho Carteira*</label>
<span class="option-group">
<span class="option">
<input type="radio" id="has-wallet-yes" name="has-wallet" value="true" /> <label for="has-wallet-yes">Sim</label>
</span>
<span class="option">
<input type="radio" id="has-wallet-no" name="has-wallet" value="false" /> <label for="has-wallet-no">Não</label>
</span>
</span>
</p>
<div class="fields-has-wallet hidden">
<p>
<label for="wallet-hash">Endereço da Carteira*</label>
<input type="text" id="wallet-hash" name="wallet-hash" placeholder="Insira o endereço de sua carteira" />
</p>
</div>
<p>
<p class="like-label" for="payment-method">Forma de Pagamento*</label>
<span class="option-group">
<span class="option">
<input type="radio" id="payment-method-boleto" name="payment-method" value="boleto" /> <label for="payment-method-boleto">Boleto</label>
</span>
<span class="option">
<input type="radio" id="payment-method-transferencia" name="payment-method" value="transferencia" /> <label for="payment-method-transferencia">Transferência</label>
</span>
</span>
</p>
<div id="fields-payment-method" class="hidden">
<p>
<label for="cep">CEP*</label>
<input type="text" id="cep" name="cep" placeholder="Seu CEP, sem hífen" />
</p>
<div class="city-state-group">
<p class="city">
<label for="city">Cidade*</label>
<input type="text" id="city" name="city" placeholder="Insira o nome da cidade" />
</p>
<p class="state">
<label for="state">Estado*</label>
<input type="text" id="state" name="state" placeholder="Sigla" />
</p>
</div>
<p>
<label for="district">Bairro*</label>
<input type="text" id="district" name="district" placeholder="Insira o nome do bairro em que você mora" />
</p>
<p>
<label for="street">Rua*</label>
<input type="text" id="street" name="street" placeholder="Insira o nome da rua" />
</p>
<div class="number-complement-group">
<p class="number">
<label for="number">Número*</label>
<input type="text" id="number" name="number" placeholder="Número de sua residência" />
</p>
<p class="complement">
<label for="complement">Complemento</label>
<input type="text" id="complement" number="complement" placeholder="Complementos do endereço" />
</p>
</div>
</div>
</fieldset>
<div class="submit-section">
<div class="total-value">
<p>Total: R$ <span class="brl-final-value">0,00</span></p>
<p class="terms">
<input type="checkbox" id="terms" name="terms" value="true" /> <label for="terms">Li e concordo com os <a href="{{ "termos.html" | prepend: site.url }}" title="Termos de Uso - {{ site.title }}">Termos de uso</a>.
</p>
</div>
<input type="submit" value="Finalizar" />
</div>
</form>
</article>
<aside class="secondary">
{% include widgets.html %}
</aside>
</main>