view frontend/mfrontend/templates/joblist.html @ 17:57a48d2aee18

Małe poprawki na liście zadań i mały dopisek do dokumentacji n.t. systemu szablonów
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Sun, 03 Apr 2011 14:07:19 +0200
parents 9a0a9fa7f91d
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 %}