DAAP_interface/templates/orderindex.html

54 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2021-07-28 10:57:52 +02:00
{% extends "layout.html" %}
{% block content %}
2022-03-17 14:21:56 +01:00
<div id="browsethearchive-all">
<div class="pagetitle" id="browsethearchive-title">{{ order }}</div>
2021-07-28 10:57:52 +02:00
2022-03-17 14:21:56 +01:00
<div id="browsethearchive-grid">
2021-07-28 10:57:52 +02:00
{% for x in results['results']['bindings']%}
2022-03-17 14:21:56 +01:00
<div class="browsethearchive-items">
<div class="browsethearchive-items-top">
2021-07-28 10:57:52 +02:00
{% if "image" in x %}
<a href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
2022-03-17 14:21:56 +01:00
<img class="browsethearchive-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'>
2021-07-28 10:57:52 +02:00
</a> <br>
{% else %}
<a href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>
2022-03-17 14:21:56 +01:00
<img class="browsethearchive-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"><br>
2021-07-28 10:57:52 +02:00
</a>
{% endif %}
</div>
2022-03-17 14:21:56 +01:00
<div class="browsethearchive-items-bottom">
2021-07-28 10:57:52 +02:00
<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 %}
2022-03-17 14:21:56 +01:00
{{ x["date"]["value"][:-16] }}
{% endif %}
2021-07-28 10:57:52 +02:00
</span>
2022-03-17 14:21:56 +01:00
2021-07-28 10:57:52 +02:00
</div>
</div>
{% endfor %}
</div>
<ul id="pagin" class="browsethearchive-pagination">
</ul>
</div>
<!-- PAGINATION SCRIPT -->
2021-07-28 10:57:52 +02:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
2021-07-28 10:57:52 +02:00
<script src="{{ url_for('static', filename='/js/paginationgrid.js') }}" type="text/javascript"></script>
2021-07-28 10:57:52 +02:00
{% endblock content %}