Skip to content

Commit

Permalink
update agent log widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jocave committed Dec 12, 2023
1 parent 97961b8 commit eff1f3a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions server/src/templates/agent_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,23 @@ <h1 class="p-heading--3">
</tr>
</tbody>
</table>

<h2 class="p-muted-heading">Queues</h2>
<ul>
{% for queue in agent.queues %}
<li><a href="/queues/{{ queue }}">{{ queue }}</a></li>
{% endfor %}
</ul>

<h2 class="p-muted-heading">Agent Log</h2>
<div class="center scrollable">
<span style="white-space: pre-line">
{{ agent.log|join('\n') }}
</span>
<div class="p-code-snippet">
<div class="scrollable">
<pre class="p-code-snippet__block">
<code>
{{ agent.log|join('\n') }}
</code>
</pre>
</div>
</div>

{% endblock %}

0 comments on commit eff1f3a

Please sign in to comment.