Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -10151,6 +10151,34 @@ def get_local_ip():
</div><!-- end page-nemoclaw (theme 2) -->


<div class="page" id="page-logs">
<div class="refresh-bar" style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;">
<button class="refresh-btn" onclick="loadLogs()">&#8635; Refresh</button>
<label style="font-size:12px;color:var(--text-secondary);">Lines:
<input id="log-lines" type="number" value="200" min="10" max="2000" step="10"
style="width:60px;margin-left:4px;padding:3px 6px;border:1px solid var(--border-primary);border-radius:6px;background:var(--bg-secondary);color:var(--text-primary);font-size:12px;">
</label>
<input id="log-filter" type="text" placeholder="Filter logs…" oninput="filterLogLines()"
style="padding:5px 10px;border-radius:7px;border:1px solid var(--border-primary);background:var(--bg-secondary);color:var(--text-primary);font-size:12px;width:180px;">
<div style="display:flex;gap:4px;flex-wrap:wrap;">
<button class="time-btn active" id="log-filter-all" onclick="setLogLevel('all',this)">All</button>
<button class="time-btn" id="log-filter-info" onclick="setLogLevel('info',this)">Info</button>
<button class="time-btn" id="log-filter-warn" onclick="setLogLevel('warn',this)">Warn</button>
<button class="time-btn" id="log-filter-error" onclick="setLogLevel('error',this)">Error</button>
</div>
<label style="display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-secondary);cursor:pointer;margin-left:auto;">
<input type="checkbox" id="log-autoscroll" checked> Auto-scroll
</label>
<span id="log-stream-status" style="font-size:11px;color:var(--text-muted);">&#9679; Connecting…</span>
</div>
<div class="card" style="padding:0;overflow:hidden;margin-top:8px;">
<div id="logs-full"
style="font-family:monospace;font-size:12px;padding:12px 16px;max-height:calc(100vh - 180px);overflow-y:auto;background:var(--bg-secondary);border-radius:8px;">
<div style="color:var(--text-muted);text-align:center;padding:24px;">Loading logs…</div>
</div>
</div>
</div>

<div class="page" id="page-logs">
<div class="refresh-bar" style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;">
<button class="refresh-btn" onclick="loadLogs()">&#8635; Refresh</button>
Expand Down
Loading