-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
138 lines (121 loc) · 5.13 KB
/
index.html
File metadata and controls
138 lines (121 loc) · 5.13 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
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
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Treasure Keeper - Home</title>
<link rel="icon" type="image/png" href="image/icon.png">
<link rel="stylesheet" href="styles/indexstyles.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap " rel="stylesheet">
</head>
<body>
<div class="container">
<div class="navbar">
<div class="dropdown">
<button class="dropbtn">三</button>
<div class="dropdown-content">
<a href="index.html">Home</a>
<a href="statistics.html">Statistics</a>
<a href="calendar.html">Calendar</a>
<a href="aboutus.html">About Us</a>
</div>
</div>
<h2>Treasure Keeper</h2>
</div>
<h4>Your Balance</h4>
<h5>Do note, Conversion isnt 100% Accurate!</h5>
<h1 id="balance">₹0.00</h1>
<div class="currency-control">
<label for="currency-select">Display Currency:</label>
<select id="currency-select" class="currency-select">
<option value="" disabled selected>Select a Currency</option>
<option value="USD" selected>US Dollar ($)</option>
<option value="AUD">Australian Dollar (A$)</option>
<option value="EUR">Euro (€)</option>
<option value="GBP">British Pound (£)</option>
<option value="JPY">Japanese Yen (¥)</option>
<option value="IDR">Indonesian Rupiah (Rp)</option>
</select>
</div>
<div class="inc-exp-container">
<div>
<h4>Income</h4>
<p id="money-plus" class="money-plus">
+₹0.00
</p>
</div>
<div>
<h4>Expense</h4>
<p id="money-minus" class="money-minus">
-₹0.00
</p>
</div>
</div>
<h3 style="display: flex; justify-content: space-between; align-items: center;">
History
<div class="filter-container">
<input type="date" id="filter-date" placeholder="Select Date" />
<button id="filter-btn">Filter</button>
</div>
</h3>
<button id="show-full-list-btn">Show Full List</button>
<div id="selection-buttons" style="display: flex; flex-direction: row;">
<div style="display: flex; gap: 0.6em;">
<button id="delete-selection-btn" class="filter-btn">Delete Selection</button>
<button id="cancel-selection-btn" class="filter-btn">Cancel Selection</button>
</div>
<button id="select-all-btn" class="filter-btn">Select All</button>
</div>
<ul id="list" class="list">
<!-- Transactions will be dynamically added here -->
</ul>
<!-- Show More and Show Less buttons -->
<button id="show-more-btn" class="show-more-btn-class">Show More</button>
<button id="show-less-btn" class="show-less-btn-class" style="display: none;">Show Less</button>
<h3>Add New Transaction</h3>
<form id="form" autocomplete="off">
<input type="hidden" id="edit-id" value="">
<div class="form-control">
<label for="datetime">Date & Time</label>
<input type="datetime-local" id="datetime" required>
</div>
<div class="form-control">
<label for="text">Description</label>
<input type="text" id="text" placeholder="Enter description (optional)">
</div>
<div class="form-control">
<label for="category">Category</label>
<select id="category" required>
<option value="">Select Category</option>
<option value="Food">Food & Dining</option>
<option value="Transportation">Transportation</option>
<option value="Shopping">Shopping</option>
<option value="Bills">Bills & Utilities</option>
<option value="Entertainment">Entertainment</option>
<option value="Healthcare">Healthcare</option>
<option value="Education">Education</option>
<option value="Gift">Gift</option>
<option value="Salary">Salary</option>
<option value="Investment">Investment</option>
<option value="Other">Other</option>
</select>
</div>
<div class="form-control">
<label for="amount">Amount</label>
<input type="text" id="amount" placeholder="Enter amount" required>
</div>
<div class="form-control">
<label for="type">Type</label>
<select id="type">
<option value="expense">Expense</option>
<option value="income">Income</option>
</select>
</div>
<button id="update-btn" type="submit">Update</button>
</form>
</div>
<!-- Placeholder for toast notifications -->
<div id="toast-container"></div>
<script src="scripts/indexscript.js"></script>
</body>
</html>