Back to top: Phases and strata: template
Introduction
This page provides complete indices of the sherds, items and q-items included in the Shapes by strata section, with an overview of the number and distribution according to phase, frequency, excavation unit, ware and shape.
Back to top: Phases and strata: template
Indices
{%- for index,href,type,total,sub in indices -%}
<a href="#{{href}}">Index by {{index}}</a><br>
{% endfor -%}
{%- for index,href,type,total,units in sherds_all -%}
<a href="#{{href}}">Index by {{index}}</a><br>
{% endfor -%}
<br><br><br>
{% for index,href,type,total,sub in indices %}
<b id="{{href}}">Index by {{index}}</b><span class="small"> (click on any column header to change sort order)</span>
<div class="wrapper">
<table class="sortable index">
<thead>
<tr>
<th class="sorttable_sorted col1">{{type}}</th>
<th class="col2">total</th>
<th class="col3">percentage</th>
<th class="col4">histogram</th>
</tr>
</thead>
<tbody>
{% for sub_type,sub_type_lex,sub_link,sub_total,sherds in sub -%}
<tr>
<td><a href="{{sub_link}}">{{sub_type}}</a></td>
<td><a href="#" onClick="up('{{sub_type.replace(' ','')+'-menu'}}')" class="bl">{{sub_total}}</a></td>
<td>{{"{:.0%}".format(sub_total/total)}}</td>
<td sorttable_customkey="{{sub_total}}"><span class="meter" style="width: {{"{:.0%}".format(sub_total/total)}}"></span></td>
</tr>
{%- endfor %}
</tbody>
<tfoot>
<tr>
<td>total</td>
<td>{{total}}</td>
<td>100%</td>
<td></td>
</tr>
</tfoot>
</table>
</div>
<a href="#0"><small><small>Back to top</small></small></a><br>
<br><br><br>
{% endfor -%}
{% for index,href,type,total,units in sherds_all %}
<b id="{{href}}">Index by {{index}}</b>
<p>
Go to:
{%- for unit,sub in units %} <a href="#{{unit}}">{{unit}}</a>{% endfor %}
</p>
<div class="wrapper">
<table class="index">
<thead>
<tr>
<th class="col1">{{type}}</th>
<th>Plate</th>
</tr>
</thead>
<tbody>
{% for unit,sub in units -%}
{% for sherd,link,phase in sub -%}
{% if sherd==sub[0][0] %}<tr id="{{unit}}">{% else %}<tr>{% endif %}
<td><a href="{{link}}">{{sherd}}</a></td>
<td><a href="#">Phase {{phase}} plate</a></td>
</tr>
{%- endfor %}
{%- endfor %}
</tbody>
<tfoot>
<tr>
<td>Total</td>
<td>{{total}}</td>
</tr>
</tfoot>
</table>
</div>
<a href="#0"><small><small>Back to top</small></small></a><br>
<br><br><br>
{% endfor %}