A stupid success view.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 23 Apr 2011 18:06:27 +0000 (13:06 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 23 Apr 2011 18:06:27 +0000 (13:06 -0500)
mediagoblin/submit/routing.py
mediagoblin/templates/mediagoblin/submit/success.html [new file with mode: 0644]

index b2713540f90b95d541ccea35bf17ce652951d888..3f61b1f4b4102df0f2b45f02b7d795a292878266 100644 (file)
@@ -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 (file)
index 0000000..d38517f
--- /dev/null
@@ -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 %}