This repository has been archived on 2023-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-buildbot/templates/buildslaves.html

77 lines
1.5 KiB
HTML

{% extends "layout.html" %}
{% block content %}
<h1>Buildslaves</h1>
<div class="container-fluid">
<table class="table table-striped table-hover box">
<tr>
<th>Name</th>
{%- if show_builder_column %}
<th>Builders</th>
{%- endif %}
<th>BuildBot</th>
<th>Admin</th>
<th>Last heard from</th>
<th>Connects/Hour</th>
<th>Status</th>
</tr>
{% for s in slaves %}
<tr class="{{ loop.cycle('alt','') }}">
<td><b><a href="{{ s.link }}">{{ s.name }}</a></b></td>
{%- if show_builder_column %}
<td>
{%- if s.builders %}
{%- for b in s.builders %}
<a href="{{ b.link }}">{{ b.name }}</a>
{%- endfor %}
{%- else %}
<span class="warning">no builders</span>
{%- endif -%}
</td>
{%- endif %}
<td>{{ (s.version or '-')|e }}</td>
{%- if s.admin -%}
<td>{{ s.admin|email }}</td>
{%- else -%}
<td>-</td>
{%- endif -%}
<td>
{%- if s.last_heard_from_age -%}
{{ s.last_heard_from_age }} <small>({{ s.last_heard_from_time }})</small>
{%- endif -%}
</td>
<td>
{{ s.connectCount }}
</td>
{% if s.connected %}
{% if s.running_builds %}
<td class="building success">Running {{ s.running_builds }} build(s)</td>
{% elif s.paused %}
<td class="warning paused">Paused</td>
{% else %}
<td class="success idle">Idle</td>
{% endif %}
{% else %}
<td class="disabled"><i class="fa fa-frown-o"></i> Not connected</td>
{% endif %}
</tr>
{% endfor %}
</table>
</div>
{% endblock %}