-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (94 loc) · 3.94 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Dev.finance$</title>
</head>
<body>
<header>
<img src="./assets/logo.svg" alt="Logo Dev Finance" />
</header>
<main class="container">
<section id="balance">
<h2 class="sr-only">Balanço</h2>
<div class="card">
<h3>
<span>Entradas</span>
<img src="./assets/income.svg" alt="Imagem de entrada">
</h3>
<p id="incomeDisplay">R$ 0,00</p>
</div>
<div class="card">
<h3>
<span>Saídas</span>
<img src="./assets/expense.svg" alt="Imagem de saída">
</h3>
<p id="expenseDisplay">R$ 0,00</p>
</div>
<div class="card total">
<h3>
<span>Total</span>
<img src="./assets/total.svg" alt="Imagem de total">
</h3>
<p id="totalDisplay">R$ 0,00</p>
</div>
</section>
<section id="transaction">
<h2 class="sr-only">Transações</h2>
<div class="transactions-buttons">
<a href="#" class="button new" onclick="Modal.open()">+ Nova Transação</a>
<a href="#" class="button new extract" onclick="App.openExtract()">Mostar Extrato</a>
</div>
<table id="data-table">
<thead>
<tr>
<th>Descrição</th>
<th>Valor</th>
<th>Data</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</section>
</main>
<div id="modalForm" class="modal-overlay">
<div class="modal">
<div id="form">
<h2>Nova Transação</h2>
<form action="" onsubmit="Form.submit(event)">
<div class="input-group">
<label for="description" class="sr-only">Descrição</label>
<input type="text" id="description" name="description" placeholder="Descrição">
</div>
<div class="input-group">
<label for="amount" class="sr-only">Valor</label>
<input type="number" id="amount" name="amount" placeholder="0,00" step="0.01" min="0">
<small class="help">Use a vírgula (,) para casas decimais.</small>
<div class="input-radio-group">
<input type="radio" name="signal" id="positive_signal" value="1" checked="true">
<label for="positive_signal">Ganhos</label>
<input type="radio" name="signal" id="negative_signal" value="-1">
<label for="negative_signal">Despesas</label>
</div>
</div>
<div class="input-group">
<label for="date" class="sr-only">Data</label>
<input type="date" id="date" name="date" placeholder="22/01/2021">
</div>
<div class="input-group actions">
<a href="#" class="button cancel" onclick="Modal.close()">Cancelar</a>
<button>Salvar</button>
</div>
</form>
</div>
</div>
</div>
<footer><p>Dev.finance$</p></footer>
<script src="./scripts.js"></script>
</body>
</html>