Fix dashboard JavaScript errors and add favicon

- Fixed syntax error in dashboard.js (missing closing bracket for DOMContentLoaded)
- Added favicon.ico file to static directory
- Added favicon link to dashboard HTML template
- All JavaScript errors should now be resolved
- Dashboard should load without console errors
This commit is contained in:
openhands 2025-11-07 07:58:15 +00:00
parent 11baac8f21
commit d0433f45d2
3 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ DASHBOARD_HTML = """
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calejo Control Adapter - Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<style>
body {
font-family: Arial, sans-serif;

View File

@ -506,4 +506,5 @@ async function exportSignals() {
document.addEventListener('DOMContentLoaded', function() {
// Load initial status
loadStatus();
});

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B