Flask application repository for Banner Repeater's DAAP (Digital Archive of Artists Publishing).
SPARQL queries by Lozana Rossenova, CSS and JS by Joana Chicau, python and Jinja by Julie Boschat-Thorez.
See https://daap.network
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.7 KiB
45 lines
1.7 KiB
4 years ago
|
{% extends "layout.html" %}
|
||
|
{% block content %}
|
||
|
|
||
|
<div id="person-description">
|
||
|
<div id="person-page-title">PERSON</div>
|
||
|
{% if "personLabel" in person_details['results']['bindings']%}
|
||
|
<div id="person-name">{{ x["personLabel"]["value"]}}</div>
|
||
|
{% endif %}
|
||
|
{% if "personDescription" in x %}
|
||
|
<div id="person-short-description">{{ x["personDescription"]["value"] }}</div>
|
||
|
{% endif %}
|
||
|
|
||
|
</div>
|
||
|
<div id="person-content">
|
||
|
<div id="person-picture">
|
||
|
</div>
|
||
|
<div id="person_infos">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="person_creatorof">
|
||
|
{% for x in person_creatorof['results']['bindings']%}
|
||
|
<div class="person_creatorof-item">
|
||
|
{% if "image" in x %}
|
||
|
<img class="person_creatorof-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'> <br>
|
||
|
{% else %}
|
||
|
<img class="person_creatorof-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"><br>
|
||
|
{% endif %}
|
||
|
<span><a href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>{{ x["workLabel"]["value"] }}</a></span>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
<div id="person_publisherof">
|
||
|
{% for x in person_publisherof['results']['bindings']%}
|
||
|
<div class="person_creatorof-item">
|
||
|
{% if "image" in x %}
|
||
|
<img class="person_creatorof-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'> <br>
|
||
|
{% else %}
|
||
|
<img class="person_creatorof-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"><br>
|
||
|
{% endif %}
|
||
|
<span><a href='/artwork?id={{ x["work"]["value"] | replace("http://daap.bannerrepeater.org/entity/", "") }}'>{{ x["workLabel"]["value"] }}</a></span>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
|
||
|
{% endblock content %}
|