~linaro-validation/lava-kernel-ci-views/trunk

« back to all changes in this revision

Viewing changes to lava_kernel_ci_views_app/templates/lava_kernel_ci_views_app/index.html

  • Committer: Michael Hudson-Doyle
  • Date: 2011-10-17 02:52:14 UTC
  • Revision ID: michael.hudson@linaro.org-20111017025214-yiul2vb6codvsoc0
define a balance templatetag -- a bit of an annoying process!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "layouts/content.html" %}
2
2
 
 
3
{% load balance %}
 
4
 
3
5
{% block extrahead %}
4
6
{{ block.super }}
5
7
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}lava-server/css/demo_table_jui.css"/>
64
66
                  {% for build in commit.builds %}
65
67
                  <li class="build">
66
68
                    <ul class="container tests">
 
69
                      {% balance %}
67
70
                      {% for test in build.tests %}
68
71
                      <li class="test">
69
72
                        <div class="item test test-{{ test.board_class }} result result-{{ test.result }}">
73
76
                        </div>
74
77
                      </li>
75
78
                      {% endfor %}
 
79
                      {% endbalance %}
76
80
                    </ul>
77
81
                    <div class="item build build-{{ build.config }} result result-{{ build.result }}">
78
82
                      <div class="item-inner build build-{{ build.config }} result result-{{ build.result }}">