view frontend/mfrontend/templates/joblist.html @ 11:69ecfe51d585

Dodałem prosty prototyp API
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 07 Mar 2011 11:04:11 +0100
parents 9a0a9fa7f91d
children 57a48d2aee18
line wrap: on
line source

{% extends "layout.html" %}
{% block body %}
<h2>Lista zadań</h2>
<table border="1">
    <tr>
            <th>id</th>
            <th>Właściciel</th>
            <th>Hash</th>
            <th>Opis</th>
            <th>Stan</th>
            <th>Wynik</th>
    </tr>
    {% for job in jobs %}
    <tr>
        <td>{{ job.id }}</td>
        <td>{{ job.username }}</td>
        <td>{{ job.hash }}</td>
        <td>{{ job.label }}</td>
        <td>{{ job.state_text }}</td>
        <td>{{ job.result }}</td>
    </tr>
    {% endfor %}
</table>
{% endblock %}