agentdev-webui 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/profile.html +7 -5
package/package.json
CHANGED
package/public/profile.html
CHANGED
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
height: auto !important;
|
|
31
31
|
flex-direction: initial !important;
|
|
32
32
|
flex: initial !important;
|
|
33
|
+
color: #333 !important;
|
|
34
|
+
background: #f5f5f5 !important;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
html {
|
|
@@ -108,7 +110,7 @@
|
|
|
108
110
|
|
|
109
111
|
.help-text {
|
|
110
112
|
font-size: 0.875rem;
|
|
111
|
-
color: #
|
|
113
|
+
color: #555;
|
|
112
114
|
margin-top: 0.25rem;
|
|
113
115
|
}
|
|
114
116
|
|
|
@@ -255,7 +257,7 @@
|
|
|
255
257
|
<div class="profile-section">
|
|
256
258
|
<h2>Registered Agents</h2>
|
|
257
259
|
<ul id="agents-list" class="agents-list">
|
|
258
|
-
<li style="text-align: center; color: #
|
|
260
|
+
<li style="text-align: center; color: #666;">Loading agents...</li>
|
|
259
261
|
</ul>
|
|
260
262
|
</div>
|
|
261
263
|
</div>
|
|
@@ -288,7 +290,7 @@
|
|
|
288
290
|
const list = document.getElementById('agents-list');
|
|
289
291
|
|
|
290
292
|
if (agents.length === 0) {
|
|
291
|
-
list.innerHTML = '<li style="text-align: center; color: #
|
|
293
|
+
list.innerHTML = '<li style="text-align: center; color: #666;">No agents registered yet</li>';
|
|
292
294
|
return;
|
|
293
295
|
}
|
|
294
296
|
|
|
@@ -296,8 +298,8 @@
|
|
|
296
298
|
<li class="agent-item">
|
|
297
299
|
<div>
|
|
298
300
|
<strong>${agent.name}</strong>
|
|
299
|
-
${agent.hostname ? `<div style="font-size: 0.875rem; color: #
|
|
300
|
-
${agent.last_heartbeat ? `<div style="font-size: 0.75rem; color: #
|
|
301
|
+
${agent.hostname ? `<div style="font-size: 0.875rem; color: #444;">${agent.hostname}</div>` : ''}
|
|
302
|
+
${agent.last_heartbeat ? `<div style="font-size: 0.75rem; color: #666;">Last seen: ${new Date(agent.last_heartbeat).toLocaleString()}</div>` : ''}
|
|
301
303
|
</div>
|
|
302
304
|
<span class="agent-status ${agent.status}">${agent.status}</span>
|
|
303
305
|
</li>
|