This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (102 loc) · 3.08 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
<!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>dev.finance</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<header>
<img src="./assets/logo.svg" alt="Logo Dev Finance" />
</header>
<main class="container">
<section id="balance">
<h2 class="sr-only">Balance</h2>
<div class="card">
<h3>
<span>Income</span>
<img src="./assets/income.svg" alt="Income image" />
</h3>
<p id="incomeDisplay">$ 0,00</p>
</div>
<div class="card">
<h3>
<span>Outflows</span>
<img src="./assets/outflows.svg" alt="outflows image" />
</h3>
<p id="expenseDisplay">$ 0,00</p>
</div>
<div class="card total">
<h3>
<span>Total</span>
<img src="./assets/total.svg" alt="Image de total" />
</h3>
<p id="totalDisplay">$ 0,00</p>
</div>
</section>
<section id="transaction">
<h2 class="sr-only">Transactions</h2>
<a href="#" onclick="Modal.toggle()" class="button new">
+ New Transaction
</a>
<table id="data-table">
<thead>
<tr>
<th>Description</th>
<th>Amount</th>
<th>Date</th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
</main>
<div class="modal-overlay">
<div class="modal">
<div id="form">
<h2>New Transaction</h2>
<form action="" onsubmit="Form.submit(event)">
<div class="input-group">
<label class="sr-only" for="description">Description</label>
<input
type="text"
id="description"
name="description"
placeholder="description"
/>
</div>
<div class="input-group">
<label class="sr-only" for="amount">Amount</label>
<input
type="number"
step="0.01"
id="amount"
name="amount"
placeholder="0,00"
/>
<small class="help">
Use the minus ( - ) sign for expenses and comma ( , ) for
decimal places
</small>
</div>
<div class="input-group">
<label class="sr-only" for="date">Data</label>
<input type="date" id="date" name="date" />
</div>
<div class="input-group actions">
<a onclick="Modal.toggle()" href="#" class="button cancel"
>Cancel</a
>
<button>Submit</button>
</div>
</form>
</div>
</div>
</div>
<footer><p>dev.finance$</p></footer>
<script src="./script.js"></script>
</body>
</html>