Mercurial > kraina_muminkow
view frontend/mfrontend/templates/joblist.html @ 22:9916d46ff096
Wrzucony layout - zostały jakieś drobne poprawki + zmiana źródeł (nie można np utworzyć foldery /pic/ i z niego ściągać obrazków)
author | mild@mild-laptop |
---|---|
date | Mon, 09 May 2011 01:50:00 +0200 |
parents | 57a48d2aee18 |
children | 28eb82047167 |
line wrap: on
line source
{% extends "layout.html" %} {% block body %} <div class="frame"> <div class="ft"><div class="ftl"></div><div class="ftc">Lista zadań</div><div class="ftr"></div></div> <div class="fm"> <table class="inner" width="100%"> <tr> <th class="colhead">id</th> <th class="colhead">Właściciel</th> <th class="colhead">Hash</th> <th class="colhead">Opis</th> <th class="colhead">Metoda</th> <th class="colhead">Stan</th> <th class="colhead">Postęp</th> <th class="colhead">Wynik</th> </tr> {% for job in jobs %} <tr class="row{{ job.index % 2 + 2}}"> <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> </div> <div class="fb"><div class="fbl"></div><div class="fbc"></div><div class="fbr"></div></div> </div> </div> {% endblock %}