comparison 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
comparison
equal deleted inserted replaced
21:9a45dfaec157 22:9916d46ff096
1 {% extends "layout.html" %} 1 {% extends "layout.html" %}
2 {% block body %} 2 {% block body %}
3 <h2>Lista zadań</h2> 3
4 <table border="1"> 4 <div class="frame">
5 <div class="ft"><div class="ftl"></div><div class="ftc">Lista zadań</div><div class="ftr"></div></div>
6 <div class="fm">
7
8 <table class="inner" width="100%">
5 <tr> 9 <tr>
6 <th>id</th> 10 <th class="colhead">id</th>
7 <th>Właściciel</th> 11 <th class="colhead">Właściciel</th>
8 <th>Hash</th> 12 <th class="colhead">Hash</th>
9 <th>Opis</th> 13 <th class="colhead">Opis</th>
10 <th>Metoda</th> 14 <th class="colhead">Metoda</th>
11 <th>Stan</th> 15 <th class="colhead">Stan</th>
12 <th>Postęp</th> 16 <th class="colhead">Postęp</th>
13 <th>Wynik</th> 17 <th class="colhead">Wynik</th>
18
14 </tr> 19 </tr>
15 {% for job in jobs %} 20 {% for job in jobs %}
16 <tr> 21 <tr class="row{{ job.index % 2 + 2}}">
17 <td>{{ job.id }}</td> 22 <td>{{ job.id }}</td>
18 <td>{{ job.username }}</td> 23 <td>{{ job.username }}</td>
19 <td>{{ job.hash }}</td> 24 <td>{{ job.hash }}</td>
20 <td>{{ job.label }}</td> 25 <td>{{ job.label }}</td>
21 <td>{{ job.method }}</td> 26 <td>{{ job.method }}</td>
28 </td> 33 </td>
29 <td>{{ job.result }}</td> 34 <td>{{ job.result }}</td>
30 </tr> 35 </tr>
31 {% endfor %} 36 {% endfor %}
32 </table> 37 </table>
38 </div>
39 <div class="fb"><div class="fbl"></div><div class="fbc"></div><div class="fbr"></div></div>
40 </div>
41 &nbsp;
42 </div>
33 {% endblock %} 43 {% endblock %}
44