Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +10 -4
templates/index.html
CHANGED
@@ -23,19 +23,21 @@
|
|
23 |
display: flex;
|
24 |
justify-content: space-between;
|
25 |
align-items: center;
|
|
|
26 |
}
|
27 |
h1 {
|
28 |
margin-bottom: 20px;
|
29 |
color: #eaeaea;
|
30 |
}
|
31 |
-
.
|
32 |
background-color: #007bff;
|
33 |
color: #fff;
|
34 |
padding: 8px 12px;
|
35 |
text-decoration: none;
|
36 |
border-radius: 5px;
|
|
|
37 |
}
|
38 |
-
.
|
39 |
background-color: #0056b3;
|
40 |
}
|
41 |
/* Chat conversation container */
|
@@ -126,8 +128,12 @@
|
|
126 |
<div class="container">
|
127 |
<header>
|
128 |
<h1>Agent Chat</h1>
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
131 |
</header>
|
132 |
<!-- Chat conversation container -->
|
133 |
<div class="chat-container" id="chat">
|
|
|
23 |
display: flex;
|
24 |
justify-content: space-between;
|
25 |
align-items: center;
|
26 |
+
margin-bottom: 20px;
|
27 |
}
|
28 |
h1 {
|
29 |
margin-bottom: 20px;
|
30 |
color: #eaeaea;
|
31 |
}
|
32 |
+
.btn {
|
33 |
background-color: #007bff;
|
34 |
color: #fff;
|
35 |
padding: 8px 12px;
|
36 |
text-decoration: none;
|
37 |
border-radius: 5px;
|
38 |
+
margin-left: 10px;
|
39 |
}
|
40 |
+
.btn:hover {
|
41 |
background-color: #0056b3;
|
42 |
}
|
43 |
/* Chat conversation container */
|
|
|
128 |
<div class="container">
|
129 |
<header>
|
130 |
<h1>Agent Chat</h1>
|
131 |
+
<div>
|
132 |
+
<!-- Link to the upload page -->
|
133 |
+
<a href="/upload" class="btn">Upload DB</a>
|
134 |
+
<!-- Link to view uploaded files (using static route) -->
|
135 |
+
<a href="/files/uploaded.db" class="btn">View Uploaded DB</a>
|
136 |
+
</div>
|
137 |
</header>
|
138 |
<!-- Chat conversation container -->
|
139 |
<div class="chat-container" id="chat">
|