diff --git a/proxy/html/index.html b/proxy/html/index.html new file mode 100644 index 0000000..2f9dfd2 --- /dev/null +++ b/proxy/html/index.html @@ -0,0 +1,14 @@ + + +
+ + ++ view logs | configured models | github +
+ + diff --git a/proxy/html/logs.html b/proxy/html/logs.html index 49026f1..c9f82cc 100644 --- a/proxy/html/logs.html +++ b/proxy/html/logs.html @@ -12,42 +12,134 @@ flex-direction: column; font-family: "Courier New", Courier, monospace; } + #log-controls { + margin: 0.5em; + display: flex; + align-items: center; + justify-content: space-between; /* Spaces out elements evenly */ + } + #log-controls input { + flex: 1; + } + #log-controls input:focus { + outline: none; /* Ensures no outline is shown when the input is focused */ + } #log-stream { flex: 1; - margin: 1em; - padding: 10px; + margin: 0.5em; + padding: 1em; background: #f4f4f4; overflow-y: auto; white-space: pre-wrap; /* Ensures line wrapping */ word-wrap: break-word; /* Ensures long words wrap */ } + + .regex-error { + background-color: #ff0000 !important; + } + + /* Dark mode styles */ + @media (prefers-color-scheme: dark) { + body { + background-color: #333; + color: #fff; + } + + #log-stream { + background: #444; + color: #fff; + } + + #log-controls input { + background: #555; + color: #fff; + border: 1px solid #777; + } + + #log-controls button { + background: #555; + color: #fff; + border: 1px solid #777; + } + } -Waiting for logs... -- +
Waiting for logs...+