54 lines
1.6 KiB
HTML
54 lines
1.6 KiB
HTML
{% extends "layout.html" %}
|
|
{% block content %}
|
|
|
|
<div id="browsethearchive-all">
|
|
<div class="pagetitle" id="browsethearchive-title">{{ order }}</div>
|
|
|
|
<div id="browsethearchive-grid">
|
|
|
|
{% for x in results['results']['bindings']%}
|
|
<div class="browsethearchive-items">
|
|
<div class="browsethearchive-items-top">
|
|
{% if "image" in x %}
|
|
<a href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
|
|
<img class="browsethearchive-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'>
|
|
</a> <br>
|
|
{% else %}
|
|
<a href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
|
|
<img class="browsethearchive-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"><br>
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="browsethearchive-items-bottom">
|
|
<a class="title" href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
|
|
{{ x["workLabel"]["value"]}}
|
|
</a> <br>
|
|
<span class="date">
|
|
{% if "date" in x %}
|
|
{{ x["date"]["value"][:-16] }}
|
|
{% endif %}
|
|
</span>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<ul id="pagin" class="browsethearchive-pagination">
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- 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/paginationgrid.js') }}" type="text/javascript"></script>
|
|
|
|
{% endblock content %}
|