Compare commits
2 commits
2027e94432
...
42437f9c6a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42437f9c6a | ||
|
|
e448db2c34 |
2 changed files with 8 additions and 1 deletions
|
|
@ -670,6 +670,9 @@
|
|||
const s = await resp.json();
|
||||
if (!headerSet) { setHeader(s.label, s.dashboard_port); headerSet = true; }
|
||||
currentLabel = s.label;
|
||||
// Show the screen link when the weston VNC compositor is enabled.
|
||||
const screenLink = $('screen-link');
|
||||
if (screenLink) screenLink.style.display = s.gui_enabled ? '' : 'none';
|
||||
renderTermInput(s.label, s.status === 'online');
|
||||
renderInbox(s.inbox || []);
|
||||
// Authoritative state comes from the harness via /api/state.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@
|
|||
<body>
|
||||
<pre class="banner" id="banner">░▒▓█▓▒░ … ░▒▓█▓▒░ hyperhive ag3nt ░▒▓█▓▒░</pre>
|
||||
<h2 id="title">◆ … ◆</h2>
|
||||
<p class="meta"><a href="/stats" style="color: var(--cyan); text-decoration: none;">📊 stats →</a></p>
|
||||
<p class="meta">
|
||||
<a href="/stats" style="color: var(--cyan); text-decoration: none;">📊 stats →</a>
|
||||
<a id="screen-link" href="/screen" target="_blank" rel="noopener"
|
||||
style="display:none; color: var(--cyan); text-decoration: none; margin-left: 1em;">🖥 screen →</a>
|
||||
</p>
|
||||
|
||||
<div id="status">
|
||||
<p class="meta">loading…</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue