diff --git a/home.html b/home.html index 30c241f2..e66b7c97 100644 --- a/home.html +++ b/home.html @@ -1,236 +1,321 @@ + -Arduino Create Agent Debug Console - - - - - + + - + function exportLogs() { + const link = document.createElement('a'); + link.setAttribute('download', 'agent-log.txt'); + const text = document.getElementById('log').textContent; + link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text)); + link.click(); + } + + - -
+ + +
+

-            
+
+
+
\ No newline at end of file