diff --git a/run.py b/run.py index 1d66919..342be7c 100755 --- a/run.py +++ b/run.py @@ -96,6 +96,15 @@ def upload_file(): return render_template('upload.html', page=config["SITE_DATA"]) +@app.route('/about') +def about(): + return render_template('about.html') + +@app.route('/terms') +def terms(): + return render_template('terms.html') + + @app.route('/', methods=['GET']) def get_file(filename): print_log('Web', 'Hit "' + filename + '" - ' + time_to_string(time.time())) diff --git a/static/style.css b/static/style.css index 0f57f7b..351ace2 100644 --- a/static/style.css +++ b/static/style.css @@ -33,6 +33,12 @@ body { transform: translateY(-50%) } +.note { + text-align: center; + font-size: 8pt; + color: #AAAAAA; +} + .title { font-size: 34pt; font-weight: 300; diff --git a/templates/about.html b/templates/about.html new file mode 100644 index 0000000..151390c --- /dev/null +++ b/templates/about.html @@ -0,0 +1,14 @@ + + + + QuadFile info + + + + +

+ This page is not yet done, just know this: Files are cleaned at set interval, do not use this for long time storage. +

+ + + diff --git a/templates/terms.html b/templates/terms.html new file mode 100644 index 0000000..2203f1f --- /dev/null +++ b/templates/terms.html @@ -0,0 +1,19 @@ + + + + QuadFile info + + + +

This section is currently not complete, more will be added

+

Limits

+ + + + diff --git a/templates/upload.html b/templates/upload.html index b7d488c..92b2836 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -12,16 +12,11 @@ +

This is temporary storage. Check the about page for details