|
@ -39,17 +39,20 @@ |
|
|
<div class="artwork-about"> |
|
|
<div class="artwork-about"> |
|
|
<!-- left --> |
|
|
<!-- left --> |
|
|
<div class="artwork-leftcolumn"> |
|
|
<div class="artwork-leftcolumn"> |
|
|
|
|
|
|
|
|
<!-- img - I am unsure how to handle the thing to go through the different pictures --> |
|
|
<!-- img - I am unsure how to handle the thing to go through the different pictures --> |
|
|
<div class="artwork-about-img"> |
|
|
<div class="artwork-about-img"> |
|
|
{% for x in artworkimages['results']['bindings'] %} |
|
|
{% if artworkimages['results']['bindings']==[] %} |
|
|
{% if loop.index <= 1 %} |
|
|
<img class="artwork-about-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"> |
|
|
{% if "image" in x %} |
|
|
{% else %} |
|
|
<img class="artwork-about-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'> |
|
|
{% for x in artworkimages['results']['bindings'] %} |
|
|
{% else %} |
|
|
{% if loop.index <= 1 %} |
|
|
<img class="artwork-about-imgs" src="{{ url_for('static', filename='/imgs/Icons/placeholder_no-image2.png') }}"> |
|
|
{% if "image" in x %} |
|
|
{% endif %} |
|
|
<img class="artwork-about-imgs" src='{{ x["image"]["value"] | replace("wiki/File:","wiki/Special:Redirect/file/") }}'> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endfor %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<!-- other stuff like downloads, absent for now --> |
|
|
<!-- other stuff like downloads, absent for now --> |
|
|
<div></div> |
|
|
<div></div> |
|
@ -122,15 +125,18 @@ |
|
|
<span class="label-item">DESCRIPTION</span> |
|
|
<span class="label-item">DESCRIPTION</span> |
|
|
<!-- left part with the description text already coming in a div from wiki--> |
|
|
<!-- left part with the description text already coming in a div from wiki--> |
|
|
{{ artworkdescriptiontext }} |
|
|
{{ artworkdescriptiontext }} |
|
|
<!-- right ride with author etc --> |
|
|
|
|
|
<div> |
|
|
|
|
|
<span class="label-item">AUTHOR</span> |
|
|
<!-- right ride with author etc LATER--> |
|
|
|
|
|
<!-- <div> --> |
|
|
|
|
|
<!-- <span class="label-item">AUTHOR</span> --> |
|
|
<!-- if there is an author name then add here otherwise info non available --> |
|
|
<!-- if there is an author name then add here otherwise info non available --> |
|
|
<span class="label-item">SOURCE</span> |
|
|
<!-- <span class="label-item">SOURCE</span> --> |
|
|
<!-- if there is a source name then add here otherwise info non available --> |
|
|
<!-- if there is a source name then add here otherwise info non available --> |
|
|
<span class="label-item">DATE</span> |
|
|
<!-- <span class="label-item">DATE</span> --> |
|
|
<!-- if there is a date add here otherwise info non available--> |
|
|
<!-- if there is a date add here otherwise info non available--> |
|
|
</div> |
|
|
<!-- </div> --> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<!-- end description loop --> |
|
|
<!-- end description loop --> |
|
|
|
|
|
|
|
|