diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-25 22:36:05 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-25 22:36:05 +0200 |
| commit | bd7639f6ee2da2a3417b64e70fdbf1decbf831ed (patch) | |
| tree | 76f7298299a4283564ed2da07c1a7d1cdc7dbac7 /archaeological_finds | |
| parent | 99dd4a2fc8d6f44a9a22a69452d15006b264c372 (diff) | |
| download | Ishtar-bd7639f6ee2da2a3417b64e70fdbf1decbf831ed.tar.bz2 Ishtar-bd7639f6ee2da2a3417b64e70fdbf1decbf831ed.zip | |
UI: better layer layout for simple tables. Rewrite of all dashboard (refs #1616)
Diffstat (limited to 'archaeological_finds')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index f7c3838b8..85647ac61 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -69,8 +69,10 @@ <h3>{% trans "Treatments"%}</h3> {% if item.upstream_treatment %} -<table class='simple' id='{{window_id}}-upstream'> - <caption>{% trans "Upstream treatment" %}</caption> +<h4>{% trans "Upstream treatment" %}</h4> +<div class='clean-table'> +<div class='clean-table-wrap'> +<table id='{{window_id}}-upstream'> <tr> <th>{% trans "Type" %}</th> <th>{% trans "Related finds" %}</th> @@ -90,12 +92,16 @@ </tr> {% endfor %} </table> +</div> +</div> <p class='tool'><a class='badge' href="{% url 'get-upstreamtreatment' 'csv' %}?submited=1&find_id={{item.pk}}" target="_blank" title='{% trans "Export as CSV"%}'>{% trans "CSV" %}</a> ({{ENCODING}})</p> {% endif %} {% if item.downstream_treatment %} -<table class='simple' id='{{window_id}}-downstream'> - <caption>{% trans "Downstream treatment" %}</caption> +<h4>{% trans "Downstream treatment" %}</h4> +<div class='clean-table'> +<div class='clean-table-wrap'> +<table id='{{window_id}}-downstream'> <tr> <th>{% trans "Type" %}</th> <th>{% trans "Related finds" %}</th> @@ -115,6 +121,9 @@ </tr> {% endfor %} </table> +</div> +</div> + <p class='tool'><a class='badge' href="{% url 'get-downstreamtreatment' 'csv' %}?submited=1&find_id={{item.pk}}" target="_blank">{% trans "CSV" %}</a> ({{ENCODING}})</p> {% endif %} |
