-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (95 loc) · 5.23 KB
/
Copy pathindex.html
File metadata and controls
99 lines (95 loc) · 5.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Finances</title>
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<header>
<div class="container">
<h1>web<span>.</span>Finances</h1>
</div>
</header>
<main>
<div class="container">
<section class="balance">
<div class="balance-card">
<div class="balance-card-top">
<h3>Entradas</h3>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 2.66666C8.63621 2.66666 2.66668 8.6362 2.66668 16C2.66668 23.3638 8.63622 29.3333 16 29.3333C23.3638 29.3333 29.3333 23.3638 29.3333 16C29.3333 8.6362 23.3638 2.66666 16 2.66666Z" stroke="#49AA26" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M21.3333 16L16 10.6667L10.6667 16" stroke="#49AA26" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 21.3333L16 10.6667" stroke="#49AA26" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<p class="valor" id="incomeDisplay">R$ <span></span>,00</p>
</div>
<div class="balance-card">
<div class="balance-card-top">
<h3>Saídas</h3>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 29.3333C23.3638 29.3333 29.3333 23.3638 29.3333 16C29.3333 8.63621 23.3638 2.66668 16 2.66667C8.63622 2.66667 2.66669 8.63621 2.66668 16C2.66668 23.3638 8.63622 29.3333 16 29.3333Z" stroke="#E92929" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M10.6667 16L16 21.3333L21.3334 16" stroke="#E92929" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 10.6667L16 21.3333" stroke="#E92929" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<p class="valor" id="expenseDisplay">R$ <span></span>,00</p>
</div>
<div class="balance-card">
<div class="balance-card-top">
<h3>Total</h3>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 1.33333V30.6667" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M22.6667 6.66667H12.6667C11.429 6.66667 10.242 7.15834 9.36684 8.03351C8.49167 8.90868 8 10.0957 8 11.3333C8 12.571 8.49167 13.758 9.36684 14.6332C10.242 15.5083 11.429 16 12.6667 16H19.3333C20.571 16 21.758 16.4917 22.6332 17.3668C23.5083 18.242 24 19.429 24 20.6667C24 21.9043 23.5083 23.0913 22.6332 23.9665C21.758 24.8417 20.571 25.3333 19.3333 25.3333H8" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<p class="valor" id="totalDisplay">R$ <span></span>,00</p>
</div>
</section>
<section class="transaction">
<a href="#" onclick="Modal.open()" class="nova-transacao">+ Nova Transação</a>
<table class="data-table">
<thead>
<tr>
<th data-label class="description">Descrição</th>
<th data-label class="expense">Valor</th>
<th data-label class="date">Data</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</section>
</div>
</main>
<section class="modal-overlay">
<div class="modal">
<h2>Nova transação</h2>
<form action="#" onsubmit="Form.submit(event)">
<label for="description">
<span>Descrição</span>
<input type="text" id="description" name="description" placeholder="Descrição">
</label>
<label for="amount">
<span>Valor</span>
<input type="text" id="amount" name="amount" placeholder="0,00">
<small>Use o sinal - (negativo) para despesas e , (vírgula) para casas decimais</small>
</label>
<label for="date">
<span>Data</span>
<input type="date" id="date" name="date" placeholder="01/01/2021">
</label>
<div class="actions">
<a href="#" onclick="Modal.close()">Cancelar</a>
<button>Salvar</button>
</div>
</form>
</div>
</section>
<script src="assets/scripts/modal.js"></script>
<script src="assets/scripts/script.js"></script>
</body>
</html>