{% from 'build_line.html' import build_table, build_line %} {% import 'forms.html' as forms %} {% extends "layout.html" %} {% block content %}

Buildslave: {{ slavename|e }}

{% if current %}

Currently building:

{% else %}

No current builds

{% endif %}

Recent builds

{{ build_table(recent, True) }}
{% if access_uri %} Click to Access Slave {% endif %} {% if admin %}

Administrator

{{ admin|email }}

{% endif %} {% if host or info %}

Slave information

{% if host %} Buildbot-Slave {{ slave_version }}

{{ host|e }}

{% endif %} {% if info %} {% for info_name, info_val in info.iteritems() %} {% if info_val is not mapping %} {% else %} {% endif %} {% endfor %}
NameValue
{{ info_name|e }}{{ info_val|e }} {%- for key, value in info_val.items() recursive %} {% endfor %}
{{ key|e }}{{ value|e }}
{% endif %} {% endif %}

Connection Status

{{ connect_count }} connection(s) in the last hour {% if not slave.isConnected() %} (not currently connected) {% else %}

{% if authz.advertiseAction('gracefulShutdown', request) %}

Graceful Shutdown

{% if slave.getGraceful() %}

Slave will shut down gracefully when it is idle.

{% else %} {{ forms.graceful_shutdown(shutdown_url, authz) }} {% endif %} {% endif %} {% if authz.advertiseAction('pauseSlave', request) %}

Pause Slave

{{ forms.pause_slave(pause_url, authz, slave.isPaused()) }} {% endif %} {% endif %}
{% endblock %}