view frontend/mfrontend/templates/joblist.html @ 21:9a45dfaec157

To by było, miejmy nadzieję, na tyle w kwestii szablonu CSV
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 11 Apr 2011 09:50:23 +0200
parents 57a48d2aee18
children 9916d46ff096
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>Metoda</th>
            <th>Stan</th>
            <th>Postęp</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.method }}</td>
        <td>{{ job.state_text }}</td>
        <td>{% if job.percent is not sameas None %}
                {{ job.percent }}%
            {% else %}
                brak danych
            {% endif %}
        </td>
        <td>{{ job.result }}</td>
    </tr>
    {% endfor %}
</table>
{% endblock %}