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')
|
@app.route('/faq')
|
||||||
def faq():
|
def faq():
|
||||||
return render_template('faq.html', page=config["SITE_DATA"])
|
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
|
# Static resources that browsers spam for
|
||||||
@app.route('/favicon.ico')
|
@app.route('/favicon.ico')
|
||||||
|
|
|
@ -114,4 +114,10 @@ ul {
|
||||||
|
|
||||||
ul li:before {
|
ul li:before {
|
||||||
content: "- ";
|
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>
|
<li>
|
||||||
<a href="/faq">FAQ</a>
|
<a href="/faq">FAQ</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/dmca">DMCA</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("file").onchange = function() {
|
document.getElementById("file").onchange = function() {
|
||||||
|
|
Loading…
Reference in New Issue