Source

django-site / tinder / templates / tinder / builds_for.html

Full commit
{% extends "base.html" %}
{% load build_extras %}
{% block title_matter %}Builds for change {{ change.number }}{% endblock %}
{% block head_matter %}
<script type="application/javascript">
</script>
<style type="text/css">
.success {background-color: green;}
.warning {background-color: orange;}
.failure {background-color: red;}
.skip {background-color: yellow;}
.except {background-color: purple;}
.buildbox {float: left; padding: 0.25em; margin: 0.25em;}
</style>
<link rel="alternate" type="application/rss+xml"
   title="RSS" href="{% url tinder.views.feed "builds_for_change" %}{{ change.number }}" />
{% endblock %}
{% block content %}
<h1>Builds for change {{change.number}}</h1>
<p>
{{ change.who }}
{% if change.branch %}
on {{ change.branch }}
{% endif %}
</p>
<p>
{% if url %}<a href="{{url}}" target="_blank">{% endif %}
{{ change.comments }}
{% if url %}</a>{% endif %}
</p>
{% if pending %}<p>{{ pending }} builds pending</p>{% endif %}
{% for build in done_builds %}
<div class="buildbox {{ build.class }}">
  {{ build.build|showbuild }}
</div>
{% endfor %}
{% endblock %}