Browse Source

artwork

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

2
daapinterface.py

@ -413,7 +413,7 @@ def artwork():
# print(relatedworks) # 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)

36
templates/artwork.html

@ -29,7 +29,7 @@
<div class="artwork-nav-label active">ABOUT THIS WORK</div> <div class="artwork-nav-label active">ABOUT THIS WORK</div>
<div class="artwork-nav-label">RELATIONSHIPS</div> <div class="artwork-nav-label">RELATIONSHIPS</div>
<div class="artwork-nav-label">LISTS</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>
</div> </div>
@ -116,18 +116,40 @@
</div> </div>
<div class="artwork-about-bottom"> <div class="artwork-about-bottom">
<!-- description --> <!-- description -->
<!-- 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> <div></div>
<!-- exhibition and distribution history --> <!-- end exhibition loop -->
<div></div>
<!-- </div> end of right column --> <!-- end of right column -->
</div>
<!-- end of about -->
</div>
<!-- relationships --> <!-- relationships -->
<div></div> <div></div>
<!-- lists --> <!-- lists -->
<div></div> <div></div>
</div>
<!-- end of about -->
</div>
<!-- copies in collections --> <!-- copies in collections -->
<div class="artwork-copieswrapper"> <div class="artwork-copieswrapper">
<div class="Heading_C">Copies in collections</div> <div class="Heading_C">Copies in collections</div>

Loading…
Cancel
Save