Dashboard Temp Share Shortlinks Frames API

HTMLify

history.html
Views: 33 | Author: karbonsites
 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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Expense Tracker - History</title>
    <link rel="stylesheet" href="./style.css">
</head>
<body>
    <header>
        <nav>
            <div class="logo">SpendWise</div>
            <ul class="nav-links">
                <li><a href="index.html">Dashboard</a></li>
                <li><a href="history.html" class="active">History</a></li>
                <li><a href="report.html">Report</a></li>
            </ul>
        </nav>
    </header>

    <main class="history-container">
        <section class="history-controls card" data-animate>
            <h2>Transaction History</h2>
            <div class="filter-group">
                <label for="history-type-filter">Filter Type:</label>
                <select id="history-type-filter">
                    <option value="all">All</option>
                    <option value="expense">Expense</option>
                    <option value="income">Income</option>
                </select>
            </div>
            <div class="filter-group">
                <label for="history-category-filter">Filter Category:</label>
                <select id="history-category-filter">
                    <option value="all">All</option>
                    <option value="Food">Food</option>
                    <option value="Transport">Transport</option>
                    <option value="Bills">Bills</option>
                    <option value="Salary">Salary</option>
                    <option value="Entertainment">Entertainment</option>
                    <option value="Other">Other</option>
                </select>
            </div>
            <div class="filter-group">
                <label for="history-search">Search:</label>
                <input type="text" id="history-search" placeholder="Search description...">
            </div>
        </section>

        <section class="transaction-list card" data-animate>
            <ul id="transaction-list-ul">
                <!-- Transactions will be populated here -->
                <li class="list-header">
                    <span>Date</span>
                    <span>Description</span>
                    <span>Category</span>
                    <span>Type</span>
                    <span class="amount-header">Amount</span>
                    <span>Actions</span>
                </li>
            </ul>
            <p id="no-transactions-message" style="text-align: center; padding: 20px; display: none;">No transactions found matching the filters.</p>
        </section>
    </main>

    <script src="app.js"></script>
</body>
</html>