Variety of fixes all over the place
Makes buildbot more usable, but still tweaks are needed.
This commit is contained in:
@@ -15,31 +15,31 @@
|
||||
|
||||
{% macro build_tr(b, include_builder=False, loop=None) %}
|
||||
<tr class="{{ loop.cycle('alt', '') if loop }}">
|
||||
<td>{{ b.time }}</td>
|
||||
<td><span style="white-space: nowrap;">{{ b.time }}</span></td>
|
||||
<td>{%- for rev in b.rev_list -%}
|
||||
{%- if not loop.first %}<br/>{% endif -%}
|
||||
{%- if rev.get('codebase', '') %}<span class='codebase'>{{ rev['codebase'] }}</span>: {% endif -%}
|
||||
{{ rev['rev']|shortrev(rev['repo']) }}
|
||||
{%- endfor -%}
|
||||
</td>
|
||||
<td><span class="btn-{% if b.class == "success" %}{{ b.class }}{% else %}danger{% endif %} btn btn-block btn-squishy disabled">{{ b.results }}</span></td>
|
||||
<td style="padding: 0;"><span class="btn-{% if b.class == "success" %}{{ b.class }}{% else %}danger{% endif %} btn btn-block btn-squishy disabled">{{ b.results }}</span></td>
|
||||
{%- if include_builder %}
|
||||
<td><a class="btn btn-block btn-squishy" href="{{ b.builderurl }}">{{ b.builder_name }}</a></td>
|
||||
<td><a class="info" style="white-space: nowrap;" href="{{ b.builderurl }}">{{ b.builder_name }}</a></td>
|
||||
{% endif %}
|
||||
<td><a class="btn btn-block btn-squishy" href="{{ b.buildurl }}">#{{ b.buildnum }}</a></td>
|
||||
<td><a class="info" style="white-space: nowrap;" href="{{ b.buildurl }}">#{{ b.buildnum }}</a></td>
|
||||
<td><span class='reason'>{{ b.reason|e }}</span>
|
||||
{%- for user in (b.interested_users or []) -%}
|
||||
{%- if not loop.first %}, {% endif -%}
|
||||
<span class='interested_user'>{{ user|e }}</span>
|
||||
{%- endfor -%}
|
||||
</td>
|
||||
<td class="left">{{ b.text|capitalize }}</td>
|
||||
<td><span style="white-space: nowrap;">{{ b.text|capitalize }}</span></td>
|
||||
</tr>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro build_table(builds, include_builder=False) %}
|
||||
{% if builds %}
|
||||
<table class="table">
|
||||
<table class="table table-striped table-hover box">
|
||||
<tr>
|
||||
<th>Time</th>
|
||||
<th>Revision</th>
|
||||
@@ -47,7 +47,7 @@
|
||||
{%- if include_builder %}
|
||||
<th>Builder</th>
|
||||
{% endif %}
|
||||
<th>Build #</th>
|
||||
<th style="white-space: nowrap;">Build #</th>
|
||||
<th>Reason</th>
|
||||
<th>Info</th>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user