返回 AiToEarn
agent.hbs
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>AiToEarn Agent Execution Result</title>
8 <style>
9 * {
10 margin: 0;
11 padding: 0;
12 box-sizing: border-box;
13 }
14
15 body {
16 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
17 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
18 min-height: 100vh;
19 display: flex;
20 align-items: center;
21 justify-content: center;
22 padding: 20px;
23 }
24
25 .container {
26 background: white;
27 border-radius: 12px;
28 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
29 padding: 40px;
30 width: 100%;
31 max-width: 600px;
32 text-align: center;
33 animation: fadeIn 0.5s ease-out;
34 }
35
36 @keyframes fadeIn {
37 from {
38 opacity: 0;
39 transform: translateY(-20px);
40 }
41 to {
42 opacity: 1;
43 transform: translateY(0);
44 }
45 }
46
47 .logo {
48 margin-bottom: 30px;
49 }
50
51 .logo-icon {
52 width: 60px;
53 height: 60px;
54 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
55 border-radius: 50%;
56 display: inline-flex;
57 align-items: center;
58 justify-content: center;
59 margin-bottom: 15px;
60 }
61
62 .logo-icon::before {
63 content: "🤖";
64 font-size: 30px;
65 }
66
67 h1 {
68 color: #333;
69 font-size: 24px;
70 font-weight: 600;
71 margin-bottom: 20px;
72 }
73
74 .message {
75 font-size: 16px;
76 line-height: 1.6;
77 color: #6c757d;
78 margin-bottom: 30px;
79 }
80
81 .info-container {
82 background: #f8f9fa;
83 border-radius: 8px;
84 padding: 25px;
85 margin-bottom: 25px;
86 text-align: left;
87 border-left: 4px solid #667eea;
88 }
89
90 .info-item {
91 margin-bottom: 20px;
92 }
93
94 .info-item:last-child {
95 margin-bottom: 0;
96 }
97
98 .info-label {
99 font-weight: 600;
100 color: #495057;
101 margin-bottom: 8px;
102 display: block;
103 font-size: 14px;
104 text-transform: uppercase;
105 letter-spacing: 0.5px;
106 }
107
108 .info-value {
109 color: #333;
110 font-size: 16px;
111 word-break: break-word;
112 }
113
114 .task-id {
115 font-family: 'Courier New', monospace;
116 background: white;
117 padding: 10px;
118 border-radius: 6px;
119 color: #667eea;
120 font-weight: 600;
121 }
122
123 .status {
124 display: inline-block;
125 padding: 8px 16px;
126 border-radius: 20px;
127 font-weight: 600;
128 font-size: 14px;
129 text-transform: uppercase;
130 letter-spacing: 0.5px;
131 }
132
133 .status[class*="running"] {
134 background: #e3f2fd;
135 color: #1976d2;
136 }
137
138 .status[class*="completed"] {
139 background: #e8f5e9;
140 color: #2e7d32;
141 }
142
143 .status[class*="requires"] {
144 background: #fff3e0;
145 color: #e65100;
146 }
147
148 .status[class*="error"] {
149 background: #ffebee;
150 color: #c62828;
151 }
152
153 .description {
154 background: white;
155 padding: 15px;
156 border-radius: 6px;
157 line-height: 1.6;
158 white-space: pre-wrap;
159 }
160
161 .footer {
162 margin-top: 25px;
163 font-size: 14px;
164 color: #6c757d;
165 }
166
167 .divider {
168 height: 1px;
169 background: #e0e0e0;
170 margin: 20px 0;
171 }
172 </style>
173 </head>
174 <body>
175 <div class="container">
176 <div class="logo">
177 <div class="logo-icon"></div>
178 </div>
179
180 <h1>AiToEarn: Agent Execution Result</h1>
181
182 <div class="message">
183 Your agent task has been executed. Here are the details:
184 </div>
185
186 <div class="info-container">
187 <div class="info-item">
188 <span class="info-label">Task ID</span>
189 <div class="info-value">
190 <span class="task-id">{{ taskId }}</span>
191 </div>
192 </div>
193
194 <div class="divider"></div>
195
196 <div class="info-item">
197 <span class="info-label">Status</span>
198 <div class="info-value">
199 <span class="status status-{{ status }}">{{ status }}</span>
200 </div>
201 </div>
202
203 <div class="divider"></div>
204
205 <div class="info-item">
206 <span class="info-label">Description</span>
207 <div class="info-value">
208 <div class="description">{{ description }}</div>
209 </div>
210 </div>
211 </div>
212
213 <div class="footer">
214 Thank you for using AiToEarn. If you have any questions, please contact our support team.
215 </div>
216 </div>
217 </body>
218 </html>
219
220
220 lines Plain Text