72 lines
2.2 KiB
HTML
72 lines
2.2 KiB
HTML
{% extends "layout.html" %}
|
|
{% block content %}
|
|
|
|
<div class="pagetitle" id="publishersindex-title">INDEX OF {{ targetgroup }}</div>
|
|
|
|
<table id="publishersindex-table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>LABEL</th>
|
|
<th>ALIASES</th>
|
|
<th>DESCRIPTION</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for x in results['results']['bindings']%}
|
|
|
|
<!-- If something is creators then create this table -->
|
|
{% if 'creators' in x %}
|
|
<tr>
|
|
<th class="idnumber"><a href="item?id={{ x['creators']['value'] | replace('http://daap.bannerrepeater.org/entity/', '') }}">{{ x['creators']['value'] | replace('http://daap.bannerrepeater.org/entity/', '') }}</a></th>
|
|
<th class="label"><a href="item?id={{ x['creators']['value'] | replace('http://daap.bannerrepeater.org/entity/', '') }}">{{ x["creatorsLabel"]['value'] }}</a></th>
|
|
<th class="altaliases">
|
|
{% if "creatorsAltLabel" in x %}
|
|
{{ x["creatorsAltLabel"]["value"] }}
|
|
{% endif %}
|
|
</th>
|
|
<th class="description">
|
|
{% if "creatorsDescription" in x %}
|
|
{{ x["creatorsDescription"]["value"] }}
|
|
{% endif %}
|
|
</th>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
<!-- If something indicates publishers then create this table -->
|
|
|
|
{% if 'publishers' in x %}
|
|
<tr>
|
|
<th class="idnumber"><a href="item?id={{ x['publishers']['value'] | replace('http://daap.bannerrepeater.org/entity/', '') }}">{{ x['publishers']['value'] | replace('http://daap.bannerrepeater.org/entity/', '') }}</a></th>
|
|
<th class="label"><a href="item?id={{ x['publishers']['value'] | replace('http://daap.bannerrepeater.org/entity/', '') }}">{{ x["publishersLabel"]['value'] }}</a></th>
|
|
<th class="altaliases">
|
|
{% if "publishersAltLabel" in x %}
|
|
{{ x["publishersAltLabel"]["value"] }}
|
|
{% endif %}
|
|
</th>
|
|
<th class="description">
|
|
{% if "publishersDescription" in x %}
|
|
{{ x["publishersDescription"]["value"] }}
|
|
{% endif %}
|
|
</th>
|
|
</tr>
|
|
{% endif %}
|
|
|
|
<!-- end of ifs -->
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<ul id="pagin" class="browsethearchive-pagination">
|
|
|
|
</ul>
|
|
|
|
<!-- PAGINATION SCRIPT -->
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
|
|
|
<script src="{{ url_for('static', filename='/js/paginationtable.js') }}" type="text/javascript"></script>
|
|
|
|
{% endblock content %} |