summaryrefslogtreecommitdiff
path: root/web/templates/agent-error.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/agent-error.html')
-rw-r--r--web/templates/agent-error.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/web/templates/agent-error.html b/web/templates/agent-error.html
new file mode 100644
index 0000000..afb3603
--- /dev/null
+++ b/web/templates/agent-error.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Error - Agent API</title>
+ <style>
+ body { font-family: system-ui, sans-serif; max-width: 600px; margin: 40px auto; padding: 20px; background: #1a1a2e; color: #eee; }
+ .card { background: #16213e; border-radius: 8px; padding: 24px; margin-bottom: 20px; border-left: 4px solid #dc3545; }
+ h1 { color: #dc3545; margin-top: 0; }
+ .status-code { font-size: 3em; color: #dc3545; font-weight: bold; }
+ </style>
+</head>
+<body>
+ <script type="application/json" id="agent-data">
+{
+ "error": "{{.Error}}",
+ "status": {{.Status}}
+}
+ </script>
+
+ <div class="card">
+ <div class="status-code">{{.Status}}</div>
+ <h1>Error</h1>
+ <p>{{.Error}}</p>
+ </div>
+</body>
+</html>