diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-24 23:13:11 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-11-24 23:13:11 +0100 |
| commit | 4c9fdd6fa72cc77214292b5c435074d8bc4005e6 (patch) | |
| tree | c984d00f04cdeb2303d7d36ea813c4e6b79db9db /archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html | |
| parent | a1c527975f9be70e5d3807f072a05a52c35b7c8e (diff) | |
| download | Ishtar-4c9fdd6fa72cc77214292b5c435074d8bc4005e6.tar.bz2 Ishtar-4c9fdd6fa72cc77214292b5c435074d8bc4005e6.zip | |
UI: work on sheets
Diffstat (limited to 'archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html')
| -rw-r--r-- | archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html b/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html index d570b9db2..26b1915da 100644 --- a/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html @@ -1,24 +1,23 @@ {% load i18n %} <h4>{{caption}}</h4> -<div class='clean-table'> -<div class='clean-table-wrap'> -<table> - <tr> - <th>{% trans "Ref." %}</th> - <th>{% trans "Name" %}</th> - <th>{% trans "Periods" %}</th> - <th>{% trans "Remains" %}</th> - </tr> - {% for archaeosite in data %} - <tr> - <td class='string'>{{archaeosite.reference}}</td> - <td class='string'>{{archaeosite.name}}</td> - <td class='string'>{% for period in archaeosite.periods.all %}{{period}}{% include "blocks/comma_list.html" %}{% endfor %}</td> - <td class='string'>{% for remain in archaeosite.remains.all %}{{remain}}{% include "blocks/comma_list.html" %}{% endfor %}</td> - </tr> - {% empty %} - <tr><td colspan="4" class='no_items'>{% trans "No archaeological site associated" %}</td></tr> - {% endfor %} +<table class="table table-striped"> + <thead> + <tr> + <th>{% trans "Ref." %}</th> + <th>{% trans "Name" %}</th> + <th>{% trans "Periods" %}</th> + <th>{% trans "Remains" %}</th> + </tr> + <tbody> + {% for archaeosite in data %} + <tr> + <td class='string'>{{archaeosite.reference}}</td> + <td class='string'>{{archaeosite.name}}</td> + <td class='string'>{% for period in archaeosite.periods.all %}{{period}}{% include "blocks/comma_list.html" %}{% endfor %}</td> + <td class='string'>{% for remain in archaeosite.remains.all %}{{remain}}{% include "blocks/comma_list.html" %}{% endfor %}</td> + </tr> + {% empty %} + <tr><td colspan="4" class='no_items'>{% trans "No archaeological site associated" %}</td></tr> + {% endfor %} + </tbody> </table> -</div> -</div> |
