diff --git a/app.py b/app.py index b1335e7..405b8e3 100644 --- a/app.py +++ b/app.py @@ -1,11 +1,11 @@ print(""" ___ _ _ - / _ \ _ __ | |_ _| | ___ __ _ ___ -| | | | '_ \| | | | | | / _ \/ _` / __| -| |_| | | | | | |_| | |__| __/ (_| \__ \ - \___/|_| |_|_|\__, |_____\___|\__, |___/ + / _ \\ _ __ | |_ _| | ___ __ _ ___ +| | | | '_ \\| | | | | | / _ \\/ _` / __| +| |_| | | | | | |_| | |__| __/ (_| \\__ \\ + \\___/|_| |_|_|\\__, |_____\\___|\\__, |___/ |___/ |___/ -Created by Fluffy Bean - Version 080123 +Created by Fluffy Bean - Version 100123 """) # Import base packages @@ -91,6 +91,13 @@ def group_id(group_id): def upload(): return render_template('upload.html') +@app.route('/upload/form', methods=['POST']) +def upload_form(): + if request.method != 'POST': + abort(405) + + return 'balls' + @app.route('/profile') def profile(): return render_template('profile.html', user_id='gwa gwa') diff --git a/templates/error.html b/templates/error.html index 719ed6d..ea3c026 100644 --- a/templates/error.html +++ b/templates/error.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% block content %}
- leaves + leaves
diff --git a/templates/group.html b/templates/group.html index 069832e..9c06d6c 100644 --- a/templates/group.html +++ b/templates/group.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% block content %}
- leaves + leaves
diff --git a/templates/profile.html b/templates/profile.html index 1135822..b9c3c6f 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% block content %}
- leaves + leaves
diff --git a/templates/settings.html b/templates/settings.html index 1baefa9..e498e90 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% block content %}
- leaves + leaves
diff --git a/templates/upload.html b/templates/upload.html index 9c9c34f..b5767d9 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -7,46 +7,93 @@

Upload!!!!!

-
+ + - + + + + - + + + - + + + - + - + group1 + + + group2 + + + group3 + + + group4 + + + +
{% endblock %} \ No newline at end of file