| Index: appengine/swarming/templates/bot_view.html
|
| diff --git a/appengine/swarming/templates/bot_view.html b/appengine/swarming/templates/bot_view.html
|
| deleted file mode 100644
|
| index e1cbc7b6c78d20cec17d9def6649782ebcce5765..0000000000000000000000000000000000000000
|
| --- a/appengine/swarming/templates/bot_view.html
|
| +++ /dev/null
|
| @@ -1,60 +0,0 @@
|
| -{% macro bot_dimensions(bot) %}
|
| - {% if bot %}{{ render_dict(bot.dimensions) }}{% endif %}
|
| -{% endmacro %}
|
| -
|
| -{% macro render_dict(data) %}
|
| - {% if data %}
|
| - {% for k, v in data.iteritems()|sort %}
|
| - <strong>{{k}}</strong>:
|
| - {% if v is string %}
|
| - {{v}}
|
| - <br>
|
| - {% elif v is mapping %}
|
| - <br>{{render_dict_idented(v, ' ')}}
|
| - {% elif v is sequence %}
|
| - {{v|sort|join(' | ')}}
|
| - <br>
|
| - {% else %}
|
| - {{v}}
|
| - <br>
|
| - {% endif %}
|
| - {% endfor %}
|
| - {% endif %}
|
| -{% endmacro %}
|
| -
|
| -{% macro render_dict_idented(data, indent) %}
|
| - {% if data %}
|
| - {% for k, v in data.iteritems()|sort %}
|
| - {{indent|safe}}<strong>{{k}}</strong>:
|
| - {% if v is string %}
|
| - {{v}}<br>
|
| - {% elif v is mapping %}
|
| - <br>{{render_dict_idented(v, indent + ' ')}}
|
| - {% elif v is sequence %}
|
| - {{v|join(' | ')}}<br>
|
| - {% else %}
|
| - {{v}}<br>
|
| - {% endif %}
|
| - {% endfor %}
|
| - {% endif %}
|
| -{% endmacro %}
|
| -
|
| -{% macro bot_link(bot_id, is_privileged_user) %}
|
| - {% if bot_id %}
|
| - {% if is_privileged_user %}
|
| - <a href="/restricted/bot/{{bot_id}}">{{bot_id}}</a>
|
| - {% else %}
|
| - {{bot_id}}
|
| - {% endif %}
|
| - {% else %}
|
| - ‑‑
|
| - {% endif %}
|
| -{% endmacro %}
|
| -
|
| -{% macro pending_star(task) %}
|
| - {% if task.is_pending %}*{% endif %}
|
| -{% endmacro %}
|
| -
|
| -{% macro running_star(task) %}
|
| - {% if task.is_running %}*{% endif %}
|
| -{% endmacro %}
|
|
|