From: Christopher Allan Webber Date: Sat, 23 Apr 2011 18:06:27 +0000 (-0500) Subject: A stupid success view. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2732c28676f1bd36c17bd1afe30cdd3cae3ceb59;p=mediagoblin.git A stupid success view. --- 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 . +#} +{% extends "mediagoblin/base.html" %} + +{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} + +{% block mediagoblin_content %} + Woohoo! Submitted! +{% endblock %}