summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-29 17:27:12 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-29 17:27:12 +0100
commit05218a15edeed0ede6ddb15c4c85f3593bff86a8 (patch)
tree1381f36d4f22721013e59697de3cbad96079184a /archaeological_operations/templates
parentf87ff87732ef85cd44c3ba57e2d49be6bc1530e2 (diff)
downloadIshtar-05218a15edeed0ede6ddb15c4c85f3593bff86a8.tar.bz2
Ishtar-05218a15edeed0ede6ddb15c4c85f3593bff86a8.zip
UI: improve table in sheet
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html80
1 files changed, 40 insertions, 40 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 8fbac5aa1..c115e0966 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -212,95 +212,95 @@
<small class="centered"><em>{% trans "These numbers are updated hourly" %}</em></small>
<h4>{% trans "Administrative acts" %}</h4>
-<ul class='form-flex'>
-{% field_flex "Number of administrative acts" item.nb_acts %}
-{% field_flex "Number of indexed administrative acts" item.nb_indexed_acts %}
-</ul>
+<div class='row'>
+{% field_flex_2 "Number of administrative acts" item.nb_acts %}
+{% field_flex_2 "Number of indexed administrative acts" item.nb_indexed_acts %}
+</div>
<h4>{% trans "Parcels" %}</h4>
-<ul class='form-flex'>
-{% field_flex "Number of parcels" item.nb_parcels %}
-</ul>
+<div class='row'>
+{% field_flex_2 "Number of parcels" item.nb_parcels %}
+</div>
<h4>{% trans "Context records" %}</h4>
-<ul class='form-flex'>
-{% field_flex "Number of context records" item.nb_context_records %}
-</ul>
-<ul class='form-flex'>
+<div class='row'>
+{% field_flex_2 "Number of context records" item.nb_context_records %}
+</div>
+<div class='row'>
{% if item.nb_context_records_by_type %}
-<li><table class='clean-table small'>
+<table class='clean-table small'>
<tr><th>{% trans "Type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_context_records_by_type %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
{% endfor %}
-</table></li>
+</table><
{% endif %}
{% if item.nb_context_records_by_periods %}
-<li><table class='clean-table small'>
+<table class='clean-table small'>
<tr><th>{% trans "Period" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_context_records_by_periods %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
{% endfor %}
-</table></li>
+</table>
{% endif %}
-</ul>
+</div>
<h4>{% trans "Finds" %}</h4>
-<ul class='form-flex'>
-{% field_flex "Number of finds" item.nb_finds %}
-</ul>
-<ul class='form-flex'>
+<div class='row'>
+{% field_flex_2 "Number of finds" item.nb_finds %}
+</div>
+<div class='row'>
{% if item.nb_finds_by_material_type %}
-<li><table class='clean-table small'>
+<table class='clean-table small'>
<tr><th>{% trans "Material type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_finds_by_material_type %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
{% endfor %}
-</table></li>
+</table>
{% endif %}
{% if item.nb_finds_by_types %}
-<li><table class='clean-table small'>
+<table class='clean-table small'>
<tr><th>{% trans "Object type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_finds_by_types %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
{% endfor %}
-</table></li>
+</table>
{% endif %}
{% if item.nb_finds_by_periods %}
-<li><table class='clean-table small'>
+<table class='clean-table small'>
<tr><th>{% trans "Period" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_finds_by_periods %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
{% endfor %}
-</table></li>
+</table>
{% endif %}
-</ul>
+</div>
<h4>{% trans "Sources" %}</h4>
-<ul class='form-flex'>
+<div class='row'>
{% field_flex "Number of sources" item.nb_documents %}
-</ul>
-<ul class='form-flex'>
+</div>
+<div class='row'>
{% if item.nb_documents_by_types %}
-<li><table class='clean-table small'>
+<table class='clean-table small'>
<tr><th>{% trans "Type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_documents_by_types %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
{% endfor %}
-</table></li>
+</table>
{% endif %}
-</ul>
+</div>
{% if item.nb_stats_finds_by_ue %}
<h4>{% trans "Finds by context records" %}</h4>
-<ul class='form-flex'>
-{% field_flex "Mean" item.nb_stats_finds_by_ue.mean %}
-{% field_flex "Min" item.nb_stats_finds_by_ue.min %}
-{% field_flex "Max" item.nb_stats_finds_by_ue.max %}
-{% field_flex "Mode" item.nb_stats_finds_by_ue.mode %}
-</ul>
+<div class='row'>
+{% field_flex_2 "Mean" item.nb_stats_finds_by_ue.mean %}
+{% field_flex_2 "Min" item.nb_stats_finds_by_ue.min %}
+{% field_flex_2 "Max" item.nb_stats_finds_by_ue.max %}
+{% field_flex_2 "Mode" item.nb_stats_finds_by_ue.mode %}
+</div>
{% endif %}
{% endif %}
-{% endblock %}
+{% endblock %} \ No newline at end of file