-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
48 lines (45 loc) · 1.76 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: default
---
{% assign sorted_pages = (site.pages | where: "layout", "contract" ) %}
<div class="row">
<div class="medium-12">
<p>Pro nahrání smlouvy nás kontaktuje na e-mail <code>[email protected]</code>. Pro oprávněné osoby je k dispozici <a href="/upload/">nahrávací formulář</a>.</p>
</div>
</div>
<div class="row">
<table id="smlouvy" class="display" cellspacing="0" width="100%" role="grid">
<thead>
<tr>
<th>Den podpisu</th>
<th>Název</th>
<th>Další smluvní strany</th>
<th>Předmět plnění</th>
<th class="text-right">Odhad nákladů</th>
<th>Stav</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Den podpisu</th>
<th>Název</th>
<th>Další smluvní strany</th>
<th>Předmět plnění</th>
<th class="text-right">Odhad nákladů</th>
<th>Stav</th>
</tr>
</tfoot>
<tbody>
{% for page in sorted_pages reversed %}
<tr{% if page["stav"] contains 'splněn' or page["stav"] contains 'ukon' %} class="success"{% elsif page["stav"] contains 'odstoup' or page["stav"] contains 'vypově' or page["stav"] contains 'výpově' %} class="danger"{% endif %} role="row">
<td>{{page["datum podpisu"] }}</td>
<td><a href="{{ page.url }}">{{page["title"]}}</a></td>
<td>{% for smluvnik in page["smluvní strany"] offset:1 %} {% if forloop.index != 1 %}<br/>{% endif %} {{ smluvnik["jméno"] }} {% endfor %}</td>
<td>{{page["předmět"]}}</td>
<td class="text-right">{{page["náklady"]}} Kč</td>
<td>{{page["stav"]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>