Dashboard Temp Share Shortlinks Frames API

HTMLify

tables.html
Views: 40 | 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
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>All Tables - RowSQL</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>
    <aside class="sidebar">
        <div class="logo">RowSQL</div>
        <nav class="nav-main">
            <a href="index.html" class="nav-item"><span class="icon">📊</span> Dashboard</a>
            <a href="tables.html" class="nav-item active"><span class="icon">🗄️</span> Tables</a>
            <a href="queries.html" class="nav-item"><span class="icon">🔍</span> Queries</a>
            <a href="settings.html" class="nav-item"><span class="icon">⚙️</span> Settings</a>
        </nav>
        <div class="user-profile">
            <div class="avatar">JD</div>
            <div class="user-info">Jane Doe <span class="status">Online</span></div>
        </div>
    </aside>

    <main class="dashboard-container">
        <header class="header">
            <h1 class="dashboard-title">All Database Tables</h1>
            <div class="header-actions">
                <button class="btn-secondary"><span class="icon"></span> Add Table</button>
            </div>
        </header>

        <section class="section table-list fade-in-up">
            <h2>Table Directory (128 Items)</h2>
            <div class="search-bar">
                <input type="text" placeholder="Search table names or schemas..." id="tableSearch">
            </div>
            <div class="table-responsive">
                <table class="data-table full-width">
                    <thead>
                        <tr>
                            <th>Name</th>
                            <th>Schema</th>
                            <th>Rows</th>
                            <th>Size</th>
                            <th>Last Accessed</th>
                            <th>Actions</th>
                        </tr>
                    </thead>
                    <tbody id="tableListBody">
                        <!-- Rows populated by JS for demonstration -->
                        <tr class="table-row-animated">
                            <td><a href="#" class="text-link">users_production</a></td>
                            <td>public</td>
                            <td>1,204,567</td>
                            <td>4.5 GB</td>
                            <td>1 min ago</td>
                            <td><button class="btn-small icon-only">...</button></td>
                        </tr>
                        <tr class="table-row-animated">
                            <td><a href="#" class="text-link">product_catalog</a></td>
                            <td>inventory</td>
                            <td>14,500</td>
                            <td>120 MB</td>
                            <td>5 hours ago</td>
                            <td><button class="btn-small icon-only">...</button></td>
                        </tr>
                        <tr class="table-row-animated">
                            <td><a href="#" class="text-link">audit_trail_2024_q2</a></td>
                            <td>system</td>
                            <td>45,012,900</td>
                            <td>18.9 GB</td>
                            <td>1 day ago</td>
                            <td><button class="btn-small icon-only">...</button></td>
                        </tr>
                         <tr class="table-row-animated">
                            <td><a href="#" class="text-link">session_data</a></td>
                            <td>temp</td>
                            <td>890,112</td>
                            <td>1.1 GB</td>
                            <td>30 mins ago</td>
                            <td><button class="btn-small icon-only">...</button></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </section>

    </main>

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