Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +24 -5
templates/index.html
CHANGED
@@ -273,6 +273,19 @@
|
|
273 |
text-align: center;
|
274 |
}
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
.log-toggle {
|
277 |
position: absolute;
|
278 |
right: 20px;
|
@@ -284,6 +297,11 @@
|
|
284 |
font-size: 0.7rem;
|
285 |
cursor: pointer;
|
286 |
z-index: 1;
|
|
|
|
|
|
|
|
|
|
|
287 |
}
|
288 |
|
289 |
.alert {
|
@@ -367,11 +385,12 @@
|
|
367 |
</div>
|
368 |
</div>
|
369 |
</div>
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
|
|
375 |
</main>
|
376 |
|
377 |
<footer>
|
|
|
273 |
text-align: center;
|
274 |
}
|
275 |
|
276 |
+
/* Add this new style for log toggle */
|
277 |
+
.logs-container {
|
278 |
+
position: relative;
|
279 |
+
background-color: var(--log-bg);
|
280 |
+
border-top: 1px solid var(--border-color);
|
281 |
+
padding: 12px 20px;
|
282 |
+
max-height: 120px;
|
283 |
+
overflow-y: auto;
|
284 |
+
font-size: 0.85rem;
|
285 |
+
color: var(--text-secondary);
|
286 |
+
transition: all 0.3s ease;
|
287 |
+
}
|
288 |
+
|
289 |
.log-toggle {
|
290 |
position: absolute;
|
291 |
right: 20px;
|
|
|
297 |
font-size: 0.7rem;
|
298 |
cursor: pointer;
|
299 |
z-index: 1;
|
300 |
+
color: var(--text-secondary);
|
301 |
+
}
|
302 |
+
|
303 |
+
.log-toggle:hover {
|
304 |
+
background: var(--border-color);
|
305 |
}
|
306 |
|
307 |
.alert {
|
|
|
385 |
</div>
|
386 |
</div>
|
387 |
</div>
|
388 |
+
|
389 |
+
<div class="logs-container" id="logs-container">
|
390 |
+
<button class="log-toggle" id="log-toggle">Hide Logs</button>
|
391 |
+
<div id="logs"></div>
|
392 |
+
</div>
|
393 |
+
|
394 |
</main>
|
395 |
|
396 |
<footer>
|