1 {% extends "base.html" %} 2 3 {% block content %} 4 <h1 class="title">Job {{ job_id }}</h1> 5 6 <h2 class="title">Command output:</h2> 7 8 <table class="raw"> 9 <tbody> 10 {% for datetime, stream, line in log_lines %} 11 <tr class="{% cycle 'line1' 'line2' %}"> 12 <td>{{ datetime }}</td> 13 <td>{{ stream }}</td> 14 <td><pre class="code">{{ line|wordwrap:80 }}</pre></td> 15 </tr> 16 {% endfor %} 17 </tbody> 18 </table> 19 20 {% endblock %} 21