Browse Source

artwork almost all good apart from image carousel

master
jules 4 years ago
parent
commit
1cdc2bd035
  1. 27
      templates/artwork.html

27
templates/artwork.html

@ -77,7 +77,7 @@
{% if 'DigitalFacsimileExternalLink' in x %}
<div>
<a target="_blank" href="{{ x['DigitalFacsimileExternalLink']['value'] }}"><img src="{{ url_for('static', filename='/imgs/Icons/icn_external_link.svg') }}"></a>
<span>External digital facsimile linl</span>
<span>External digital facsimile link</span>
</div>
{% endif %}
@ -102,7 +102,30 @@
<!-- video images audio -->
{% for x in artworkartefacts['results']['bindings'] %}
{% if ('VideoFile' not in x) and ('AudioFile' not in x) and ('ImageFile' not in x) %}
<p>information not available</p>
{% endif %}
{% if 'VideoFile' in x %}
<div>
<a target="_blank" href="{{ x['VideoFile']['value'] }}"><img src="{{ url_for('static', filename='/imgs/Icons/icn_video.svg') }}"></a>
<span>Video</span>
</div>
{% endif %}
{% if 'AudioFile' in x %}
<div>
<a target="_blank" href="{{ x['AudioFile']['value'] }}"><img src="{{ url_for('static', filename='/imgs/Icons/icn_audio.svg') }}"></a>
<span>Audio</span>
</div>
{% endif %}
{% if 'ImageFile' in x %}
<div>
<a target="_blank" href="{{ x['ImageFile']['value'] }}"><img src="{{ url_for('static', filename='/imgs/Icons/icn_image.svg') }}"></a>
<span>Image</span>
</div>
{% endif %}
{% endfor %}
{% endif %}

Loading…
Cancel
Save