2020-09-25 13:00:51 +02:00
{% extends "layout.html" %}
{% block content %}
2020-11-13 19:24:00 +01:00
<!-- BANNER -->
< div id = "home-top-div" >
<!-- LOOP TO GET THE IMAGES -->
{% set count = namespace(value=0) %}
{% for img in ImagesBanner %}
< img class = "banner-image-{{ count.value }}" src = '{{ img | replace("wiki/File:","wiki/Special:Redirect/file/") }}' >
{% set count.value = count.value + 1 %}
{% endfor %}
<!-- END LOOPS IMAGES -->
2021-05-03 11:51:46 +02:00
< p class = "heading_A" > The Digital Archive of Artists' Publishing is an interactive, user-driven, searchable database of artists' books and publications.< / p >
2020-11-14 14:01:55 +01:00
2020-11-14 19:41:53 +01:00
< div id = "wrapper-bt" >
2021-07-28 10:57:52 +02:00
< a id = "wrapper-top-buttons" class = "primary-button" href = "{{ url_for('browsethearchive') }}" > BROWSE THE ARCHIVE FROM A-Z< / a >
2020-11-15 12:03:08 +01:00
< a id = "wrapper-top-buttons" class = "secondary-button" href = "{{ url_for('casestudy') }}" > CAROLEE SCHNEEMANN CASE STUDY< / a >
2020-11-14 19:41:53 +01:00
< / div >
2020-11-13 19:24:00 +01:00
< / div >
2020-11-16 21:25:29 +01:00
< div class = "scroll-down" > < span > Scroll Down< / span > < / div >
2020-11-13 19:24:00 +01:00
<!-- PUBLICATIONS -->
2020-11-06 19:34:51 +01:00
2020-09-25 13:00:51 +02:00
< div id = "home-recently-added-works" >
2020-09-26 20:42:58 +02:00
< div class = "pagetitle" id = "home-recent-title" > RECENTLY ADDED WORKS< / div >
2020-09-26 18:10:28 +02:00
< div id = "home-recent-grid" >
2020-11-13 19:24:00 +01:00
<!-- LOOP TO GET LAST ADDED ITEMS -->
2020-11-05 17:46:22 +01:00
{% for x in results['results']['bindings']%}
2020-11-13 19:24:00 +01:00
<!-- FOR EACH ITEM EXTRACT IMG, URL AND TITLE + DATE -->
2020-11-05 17:46:22 +01:00
< div class = "home-recent-items" >
< div class = "home-recent-items-top" >
{% if "image" in x %}
2020-12-10 22:14:27 +01:00
< a href = '/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}' >
2020-11-05 17:46:22 +01:00
< img class = "home-recent-imgs" src = '{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}' >
< / a > < br >
{% else %}
2020-12-10 22:14:27 +01:00
< a href = '/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}' >
2020-11-05 17:46:22 +01:00
< img class = "home-recent-imgs" src = "{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}" > < br >
< / a >
{% endif %}
< / div >
< div class = "home-recent-items-bottom" >
2020-12-10 22:14:27 +01:00
< a class = "title" href = '/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}' >
2020-11-06 19:34:51 +01:00
{{ 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 %}
2020-11-06 19:34:51 +01:00
< / span >
2020-09-26 18:10:28 +02:00
2022-03-17 14:21:56 +01:00
2020-11-05 17:46:22 +01:00
< / div >
2020-09-26 18:10:28 +02:00
2020-11-05 17:46:22 +01:00
< / div >
{% endfor %}
2020-11-13 19:24:00 +01:00
<!-- END LOOP -->
2020-09-26 18:10:28 +02:00
2020-11-05 17:46:22 +01:00
< / div >
2020-09-26 18:10:28 +02:00
2021-07-28 10:57:52 +02:00
< div class = "home-show-wrapper" > < a href = "{{ url_for('datesindex_recent') }}" class = "home-show primary-button" > BROWSE ALL RECENTLY ADDED< / a > < / div >
2020-09-26 18:10:28 +02:00
2020-09-25 13:00:51 +02:00
< / div >
2020-09-26 18:10:28 +02:00
<!--
post_wrap =
home-recent-grid
pst =
home-recent-items
-->
2022-04-07 13:23:28 +02:00
<!-- RECENTLY ADDED ITEMS SCRIPT -->
< script src = "{{ url_for('static', filename='/js/scripts.js') }}" type = "text/javascript" > < / script >
2020-09-26 18:10:28 +02:00
2020-09-25 13:00:51 +02:00
{% endblock content %}