Added DMCA page
This commit is contained in:
parent
a8e6a09aa3
commit
170c26eaac
3
run.py
3
run.py
|
@ -119,6 +119,9 @@ def privacy():
|
|||
@app.route('/faq')
|
||||
def faq():
|
||||
return render_template('faq.html', page=config["SITE_DATA"])
|
||||
@app.route('/dmca')
|
||||
def dmca():
|
||||
return render_template('dmca.html', page=config["SITE_DATA"])
|
||||
|
||||
# Static resources that browsers spam for
|
||||
@app.route('/favicon.ico')
|
||||
|
|
|
@ -115,3 +115,9 @@ ul {
|
|||
ul li:before {
|
||||
content: "- ";
|
||||
}
|
||||
|
||||
.dmca {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{% extends "regular.html" %}
|
||||
{% block body %}
|
||||
<video class="dmca" autoplay loop>
|
||||
<source src="{{ url_for('static', filename='media/DMCA.webm') }}">
|
||||
</video>
|
||||
{% endblock %}
|
|
@ -25,6 +25,9 @@
|
|||
<li>
|
||||
<a href="/faq">FAQ</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/dmca">DMCA</a>
|
||||
</li>
|
||||
</ul>
|
||||
<script>
|
||||
document.getElementById("file").onchange = function() {
|
||||
|
|
Loading…
Reference in New Issue