-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (72 loc) · 2.47 KB
/
index.html
File metadata and controls
75 lines (72 loc) · 2.47 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AutoBillChecker</title>
<script type="module" src="/src/main.ts" defer></script>
</head>
<body>
<main class="container">
<header class="app-header">
<h1>AutoBillChecker</h1>
<p class="subtitle">Track bills, due dates, and get reminders.</p>
</header>
<section class="card">
<h2>Add / Edit Bill</h2>
<form id="bill-form" class="form-grid">
<input type="hidden" id="bill-id" />
<label>
Name
<input id="bill-name" placeholder="e.g. Electricity" required />
</label>
<label>
Amount
<input id="bill-amount" placeholder="e.g. 49.99" type="number" step="0.01" min="0" required />
</label>
<label>
Due date
<input id="bill-due" type="date" required />
</label>
<label>
Recurs
<select id="bill-recurrence">
<option value="none">One-time</option>
<option value="monthly" selected>Monthly</option>
<option value="yearly">Yearly</option>
</select>
</label>
<label class="row-span">
Notes
<textarea id="bill-notes" rows="2" placeholder="Optional"></textarea>
</label>
<div class="actions">
<button type="submit" id="save-bill">Save</button>
<button type="button" id="reset-form" class="secondary">Clear</button>
</div>
</form>
</section>
<section class="card">
<div class="list-header">
<h2>Bills</h2>
<div class="filters">
<input id="search" placeholder="Search..." />
<select id="filter-status">
<option value="all" selected>All</option>
<option value="due">Due soon</option>
<option value="overdue">Overdue</option>
<option value="paid">Paid</option>
<option value="unpaid">Unpaid</option>
</select>
</div>
</div>
<ul id="bill-list" class="bill-list"></ul>
<footer class="list-footer">
<span id="total-count">0 bills</span>
<span id="total-amount">Total: $0.00</span>
</footer>
</section>
</main>
</body>
</html>