added pdf
This commit is contained in:
parent
cc4b6a5d46
commit
da57395390
@ -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…
Reference in New Issue
Block a user