Added audio and pdf templates
This commit is contained in:
parent
674c4be3e3
commit
19070b6bfd
|
@ -0,0 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block main %}
|
||||
<audio controls style='width: 500px;' preload='auto'>
|
||||
<source src='/selif/{{ filename }}'>
|
||||
<a href='/selif/{{ filename }}'>Download it instead</a>
|
||||
</audio>
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block main %}
|
||||
<object data="/selif/{{ filename }}"
|
||||
type="application/pdf"
|
||||
width=910
|
||||
height=800>
|
||||
|
||||
<p>It appears your Web browser is not configured to display PDF files.
|
||||
No worries, just <a href="/selif/{{ filename }}">click here to download the PDF file.</a></p>
|
||||
|
||||
</object>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue