Browse Source

added pdf

master
Cristina Cochior 5 years ago
parent
commit
da57395390
  1. 5
      templates/description.html

5
templates/description.html

@ -17,6 +17,9 @@
{% elif item.lower().endswith(('.mp3')) %} {% elif item.lower().endswith(('.mp3')) %}
<audio controls><source src="../{{ item }}" type="audio/mpeg">Your browser does not support the audio tag.</audio> <audio controls><source src="../{{ item }}" type="audio/mpeg">Your browser does not support the audio tag.</audio>
{% elif item.lower().endswith(('.pdf')) %}
<iframe src="../{{ item }}" height="500" width="90%"></iframe>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
@ -77,7 +80,7 @@
<div id="bottom_descrip_right"> <div id="bottom_descrip_right">
<li class="next_item"><a href={{addressplus}}>next item</a></li> <li class="next_item"><a href={{addressplus}}>next item</a></li>
<li class="prev_item"><a href={{addressminus}}>previous item</a></li> <li class="prev_item"><a href={{addressminus}}>previous item</a></li>
<li class="no_here">{{itemid}}/31</li> <li class="no_here">{{itemid}}/32</li>
</div> </div>
</nav> </nav>
{% endblock %} {% endblock %}

Loading…
Cancel
Save