From 170c26eaac012882f6fcb43c0e9b6d9f37c80494 Mon Sep 17 00:00:00 2001 From: "Dominik V. Salonen" Date: Mon, 28 Dec 2015 16:38:13 +0100 Subject: [PATCH] Added DMCA page --- run.py | 3 +++ static/regular.css | 6 ++++++ templates/dmca.html | 6 ++++++ templates/upload.html | 3 +++ 4 files changed, 18 insertions(+) create mode 100644 templates/dmca.html diff --git a/run.py b/run.py index 1422fcf..476ae67 100755 --- a/run.py +++ b/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') diff --git a/static/regular.css b/static/regular.css index a1a6960..356e538 100644 --- a/static/regular.css +++ b/static/regular.css @@ -114,4 +114,10 @@ ul { ul li:before { content: "- "; +} + +.dmca { + width: 100%; + height: auto; + padding: 10px; } \ No newline at end of file diff --git a/templates/dmca.html b/templates/dmca.html new file mode 100644 index 0000000..4c2fa30 --- /dev/null +++ b/templates/dmca.html @@ -0,0 +1,6 @@ +{% extends "regular.html" %} +{% block body %} + +{% endblock %} \ No newline at end of file diff --git a/templates/upload.html b/templates/upload.html index 0644f52..b9e5862 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -25,6 +25,9 @@
  • FAQ
  • +
  • + DMCA +