aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-04-23 13:06:27 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-04-23 13:06:27 -0500
commit2732c28676f1bd36c17bd1afe30cdd3cae3ceb59 (patch)
tree2e5ea65c6e88934f53bada628bedd559759e2b67
parent6e41c71c4924b04947ef657b2f220accc4a57595 (diff)
downloadmediagoblin-2732c28676f1bd36c17bd1afe30cdd3cae3ceb59.tar.lz
mediagoblin-2732c28676f1bd36c17bd1afe30cdd3cae3ceb59.tar.xz
mediagoblin-2732c28676f1bd36c17bd1afe30cdd3cae3ceb59.zip
A stupid success view.
-rw-r--r--mediagoblin/submit/routing.py2
-rw-r--r--mediagoblin/templates/mediagoblin/submit/success.html24
2 files changed, 26 insertions, 0 deletions
diff --git a/mediagoblin/submit/routing.py b/mediagoblin/submit/routing.py
index b2713540..3f61b1f4 100644
--- a/mediagoblin/submit/routing.py
+++ b/mediagoblin/submit/routing.py
@@ -19,4 +19,6 @@ from routes.route import Route
submit_routes = [
Route('mediagoblin.submit.start', '/',
controller='mediagoblin.submit.views:submit_start'),
+ Route('mediagoblin.submit.success', '/',
+ controller='mediagoblin.submit.views:submit_success'),
]
diff --git a/mediagoblin/templates/mediagoblin/submit/success.html b/mediagoblin/templates/mediagoblin/submit/success.html
new file mode 100644
index 00000000..d38517fa
--- /dev/null
+++ b/mediagoblin/templates/mediagoblin/submit/success.html
@@ -0,0 +1,24 @@
+{#
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011 Free Software Foundation, Inc
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#}
+{% extends "mediagoblin/base.html" %}
+
+{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %}
+
+{% block mediagoblin_content %}
+ Woohoo! Submitted!
+{% endblock %}