File size: 3,643 Bytes
1f2ba2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
070a9b0
 
 
 
 
 
 
 
 
 
 
 
 
1f2ba2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
070a9b0
1f2ba2d
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document AI</title>
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>

        body {

            background-color: #1e1e2f;

            color: #f5f5f5;

            font-family: 'Arial', sans-serif;

        }



        .navbar {

            background-color: #2c2c3e;

            border-bottom: 2px solid #444;

        }



        .navbar-brand {

            font-weight: bold;

            color: #f5f5f5 !important;

        }



        .navbar-nav .nav-link {

            color: #cfcfcf !important;

        }



        .navbar-nav .nav-link:hover {

            color: #ffffff !important;

        }



        .container {

            margin-top: 50px;

        }



        .card {

            background-color: #2c2c3e;

            border: none;

            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

            transition: transform 0.3s ease;

        }



        .card:hover {

            transform: scale(1.05);

        }



        .card-title {

            color: #ffffff;

        }



        .card-body {

            text-align: center;

        }



        .btn-primary {

            background-color: #4c4cff;

            border-color: #4c4cff;

        }



        .btn-primary:hover {

            background-color: #3838e8;

            border-color: #3838e8;

        }



        footer {

        background-color: #2c2c3e;

        color: #888;

        padding: 10px 0;

        text-align: center;

        position: fixed;

        width: 100%;

        bottom: 0;

        border-top: 2px solid #444;

        }



        footer p {

            margin: 0;

            font-size: 14px;

        }

    </style>
</head>

<body>
    <!-- Navigation Bar -->
    <nav class="navbar navbar-expand-lg">
        <div class="container-fluid">
            <a class="navbar-brand" href="/">Document AI</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"

                aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="/">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/create-db">Create DB</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/list-dbs">List DBs</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/chat">Chat</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <div class="container">
        {% block content %}
        <!-- Page-specific content will go here -->
        {% endblock %}
    </div>

    <!-- Footer -->
    <footer class="fixed-bottom">
        <p>&copy; 2024 Document AI. All rights reserved.</p>
    </footer>

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
    
</body>
</html>