summaryrefslogtreecommitdiff
path: root/web/templates/agent-error.html
blob: afb3603157f3a3b96cfdbe0be888070b59dbe620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>