Browse Source

artwork

master
jules 4 years ago
parent
commit
c928662896
  1. 2
      daapinterface.py
  2. 38
      templates/artwork.html

2
daapinterface.py

@ -413,7 +413,7 @@ def artwork():
# print(relatedworks)
return render_template('artwork.html', artworkintro=artworkintro, artworkimages=artworkimages, artworkcontributors=artworkcontributors, artworkdate=artworkdate, artworkpublisher=artworkpublisher, artworkdescriptiondata=artworkdescriptiondata, artworkdescriptiontext=artworkdescriptiontext, copiesincollection=copiesincollection, relatedworks=relatedworks)
return render_template('artwork.html', artwork_id=artwork_id, artworkintro=artworkintro, artworkimages=artworkimages, artworkcontributors=artworkcontributors, artworkdate=artworkdate, artworkpublisher=artworkpublisher, artworkdescriptiondata=artworkdescriptiondata, artworkdescriptiontext=artworkdescriptiontext, copiesincollection=copiesincollection, relatedworks=relatedworks)

38
templates/artwork.html

@ -29,7 +29,7 @@
<div class="artwork-nav-label active">ABOUT THIS WORK</div>
<div class="artwork-nav-label">RELATIONSHIPS</div>
<div class="artwork-nav-label">LISTS</div>
<div class="artwork-nav-label"><a href="">DETAILED RECORD</a></div>
<div class="artwork-nav-label"><a target="_blank" href="https://daap.bannerrepeater.org/wiki/Item:{{ artwork_id }}">DETAILED RECORD</a></div>
</div>
</div>
@ -116,18 +116,40 @@
</div>
<div class="artwork-about-bottom">
<!-- description -->
<div></div>
<!-- exhibition and distribution history -->
<div></div>
<!-- </div> end of right column -->
<!-- relationships -->
<div></div>
<!-- lists -->
<!-- if there is a description add description here -->
<div>
<span class="label-item">DESCRIPTION</span>
<!-- left part with the description text -->
<div>
{{ artworkdescriptiontext }}
</div>
<!-- right ride with author etc -->
<div>
<span class="label-item">AUTHOR</span>
<!-- if there is an author name then add here otherwise info non available -->
<span class="label-item">SOURCE</span>
<!-- if there is a source name then add here otherwise info non available -->
<span class="label-item">DATE</span>
<!-- if there is a date add here otherwise info non available-->
</div>
</div>
<!-- end description loop -->
<!-- exhibition and distribution history loop-->
<div></div>
<!-- end exhibition loop -->
<!-- end of right column -->
</div>
<!-- end of about -->
</div>
<!-- relationships -->
<div></div>
<!-- lists -->
<div></div>
<!-- copies in collections -->
<div class="artwork-copieswrapper">
<div class="Heading_C">Copies in collections</div>

Loading…
Cancel
Save