Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUILDBOT: Update template files to be based on 0.8.9.
- Loading branch information
Showing
33 changed files
with
883 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,67 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block content %} | ||
{% block content_td %} | ||
<td class="tableborder"> | ||
{% set item_class=cycler('row1', 'row3') %} | ||
<!--[insert table scummvm-style]--><table border="0" cellpadding="2" cellspacing="1" width="100%"> | ||
<tbody> | ||
<tr align="center"> | ||
<td class="toprow" colspan="3" style="text-align: left; margin-left: 0pt; margin-right: auto;"> | ||
<b><span class="toprowtext">About this Buildbot</span></b> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="3" class="catrow"> | ||
<span class="catrowtext">Version Information</span> | ||
</td> | ||
</tr> | ||
<tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Buildbot: {{ buildbot }}</td> | ||
</tr><tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Twisted: {{ twisted }}</td> | ||
</tr><tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Jinja: {{ jinja }}</td> | ||
</tr><tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Python: {{ python }}</td> | ||
</tr><tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Buildmaster platform: {{ platform }}</td> | ||
{% endblock %} | ||
|
||
</tr> | ||
<tr> | ||
<td colspan="3" class="catrow"><span class="catrowtext">Source code</span><td></tr> | ||
<tr> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Buildbot is a free software project, released under the terms of the | ||
<a href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a>.</tr></td> | ||
</tr></td> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle">Please visit the <a href="http://buildbot.net/">Buildbot Home Page</a> for | ||
more information, including documentation, bug reports, and source | ||
downloads.</tr></td> | ||
{% block content %} | ||
|
||
<tr> | ||
<td colspan="3" class="catrow"> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
{% set item_class=cycler('row1', 'row3') %} | ||
<table border="0" cellpadding="2" cellspacing="1" width="100%"> | ||
<tr align="center"> | ||
<td class="toprow" colspan="3" style="text-align: left; margin-left: 0pt; margin-right: auto;"> | ||
<b><span class="toprowtext">About this Buildbot</span></b> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="3" class="catrow"> | ||
<span class="catrowtext">Version Information</span> | ||
</td> | ||
</tr> | ||
<tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Buildbot: {{ buildbot }} | ||
</td> | ||
</tr> | ||
<tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Twisted: {{ twisted }} | ||
</td> | ||
</tr> | ||
<tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Jinja: {{ jinja }} | ||
</td> | ||
</tr> | ||
<tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Python: {{ python }} | ||
</td> | ||
</tr> | ||
<tr align="center"> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Buildmaster platform: {{ platform }} | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="3" class="catrow"> | ||
<span class="catrowtext">Source code</span> | ||
<td> | ||
</tr> | ||
<tr> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Buildbot is a free software project, released under the terms of the <a href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a>. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="text-align: left;" class="{{ item_class.next() }}" colspan="1" valign="middle"> | ||
Please visit the <a href="http://buildbot.net/">Buildbot Home Page</a> for more information, including documentation, bug reports, and source downloads. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="3" class="catrow"> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block content %} | ||
|
||
<h1>Authorization Failed</h1> | ||
|
||
<p>You are not allowed to perform this action. | ||
</p> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,61 @@ | ||
{% macro build_line(b, include_builder=False) %} | ||
<small>({{ b.time }})</small> | ||
Rev: {{ b.rev|shortrev(b.rev_repo) }} | ||
Rev: {% if b.multiple_revs -%} | ||
multiple rev | ||
{%- else -%} | ||
{{ b.rev_list[0]['rev']|shortrev(b.rev_list[0]['repo']) }} | ||
{%- endif %} | ||
<span class="{{ b.class }}">{{ b.results }}</span> | ||
{% if include_builder %} | ||
<a href="{{ b.builderurl }}">{{ b.builder_name }}</a> | ||
{% endif %} | ||
<a href="{{ b.buildurl }}">#{{ b.buildnum }}</a> - | ||
<a href="{{ b.buildurl }}">#{{ b.buildnum }}</a> - | ||
{{ b.text|capitalize }} | ||
{% endmacro %} | ||
|
||
{% macro build_tr(b, include_builder=False, loop=None) %} | ||
<tr class="{{ loop.cycle('row1', 'row3') if loop }}"> | ||
<tr class="{{ loop.cycle('alt', '') if loop }}"> | ||
<td>{{ b.time }}</td> | ||
<td>{{ b.rev|shortrev(b.rev_repo) }}</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 class="{{ b.class }}">{{ b.results }}</td> | ||
{%- if include_builder %} | ||
{%- if include_builder %} | ||
<td><a href="{{ b.builderurl }}">{{ b.builder_name }}</a></td> | ||
{% endif %} | ||
<td><a href="{{ b.buildurl }}">#{{ b.buildnum }}</a></td> | ||
<td><a 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> | ||
</tr> | ||
{% endmacro %} | ||
|
||
{% macro build_table(builds, include_builder=False) %} | ||
{% if builds %} | ||
<tr> | ||
<th>Time</th> | ||
<table class="info"> | ||
<tr> | ||
<th>Time</th> | ||
<th>Revision</th> | ||
<th>Result</th> | ||
{%- if include_builder %} | ||
{%- if include_builder %} | ||
<th>Builder</th> | ||
{% endif %} | ||
<th>Build #</th> | ||
<th>Reason</th> | ||
<th>Info</th> | ||
</tr> | ||
</tr> | ||
{% for b in builds %} | ||
{{ build_tr(b, include_builder, loop) }} | ||
{% endfor %} | ||
</table> | ||
{% else %} | ||
<td style="text-align: left;" class="row1" colspan="1" valign="middle">No matching builds found | ||
No matching builds found | ||
{% endif %} | ||
{% endmacro %} |
Oops, something went wrong.