view frontend/mfrontend/templates/joblist.html @ 19:47c1338a3096

Uaktualniony szablon CSV
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 11 Apr 2011 09:34:37 +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 %}