Skip to content

Commit

Permalink
Add list of queues with links to the agent_details template
Browse files Browse the repository at this point in the history
  • Loading branch information
plars committed Oct 26, 2023
1 parent c57477f commit af94a72
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions server/src/templates/agent_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@
{% set active_page = 'agents' %}
{% block content %}
<div class="center">
<p>
Agent Name: {{ agent.name }}<br>
State: {{ agent.state }}<br>
Location: {{ agent.location }}<br>
Last Updated: {{ agent.updated_at.strftime('%Y-%m-%d %H:%M:%S') }}<br>
<br>
<br>
</p>
<p>
Queues:
<ul>
{% for queue in agent.queues %}
<li><a href="/queues/{{ queue }}">{{ queue }}</a></li>
{% endfor %}
</ul>
</p>
<p>
Agent Log:
<div class="center scrollable">
<span style="white-space: pre-line">
{{ agent.log|join('\n') }}
</span>
</div>
</p>
</div>
{% endblock %}

0 comments on commit af94a72

Please sign in to comment.