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:
parent
11baac8f21
commit
d0433f45d2
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -506,4 +506,5 @@ async function exportSignals() {
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Load initial status
|
||||
loadStatus();
|
||||
});
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 314 B |
Loading…
Reference in New Issue