From 8c01ae42e9ed502c0a37bed2f449076aa183ec83 Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Fri, 13 May 2011 15:33:46 -0500 Subject: [PATCH] Styled input buttons --- .../templates/mediagoblin/auth/login.html | 2 +- .../templates/mediagoblin/auth/login.html~ | 44 +++++++++++++++++++ .../templates/mediagoblin/auth/register.html | 2 +- .../templates/mediagoblin/auth/register.html~ | 33 ++++++++++++++ .../templates/mediagoblin/test_submit.html | 2 +- .../templates/mediagoblin/test_submit.html~ | 33 ++++++++++++++ 6 files changed, 113 insertions(+), 3 deletions(-) create mode 100644 mediagoblin/templates/mediagoblin/auth/login.html~ create mode 100644 mediagoblin/templates/mediagoblin/auth/register.html~ create mode 100644 mediagoblin/templates/mediagoblin/test_submit.html~ diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html index f2e7b664..46552a39 100644 --- a/mediagoblin/templates/mediagoblin/auth/login.html +++ b/mediagoblin/templates/mediagoblin/auth/login.html @@ -38,7 +38,7 @@ {% if next %} - + {% endif %} {% endblock %} diff --git a/mediagoblin/templates/mediagoblin/auth/login.html~ b/mediagoblin/templates/mediagoblin/auth/login.html~ new file mode 100644 index 00000000..f2e7b664 --- /dev/null +++ b/mediagoblin/templates/mediagoblin/auth/login.html~ @@ -0,0 +1,44 @@ +{# +# 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 %} +

Login:

+ +
+ + {% if login_failed %} +

Login failed!

+ {% endif %} + + + {{ wtforms_util.render_table(login_form) }} + + + + +
+ + {% if next %} + + {% endif %} +
+{% endblock %} diff --git a/mediagoblin/templates/mediagoblin/auth/register.html b/mediagoblin/templates/mediagoblin/auth/register.html index f3489397..de3ec71d 100644 --- a/mediagoblin/templates/mediagoblin/auth/register.html +++ b/mediagoblin/templates/mediagoblin/auth/register.html @@ -26,7 +26,7 @@ {{ wtforms_util.render_table(register_form) }} - + diff --git a/mediagoblin/templates/mediagoblin/auth/register.html~ b/mediagoblin/templates/mediagoblin/auth/register.html~ new file mode 100644 index 00000000..f3489397 --- /dev/null +++ b/mediagoblin/templates/mediagoblin/auth/register.html~ @@ -0,0 +1,33 @@ +{# +# 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 %} +
+ + {{ wtforms_util.render_table(register_form) }} + + + + +
+
+{% endblock %} diff --git a/mediagoblin/templates/mediagoblin/test_submit.html b/mediagoblin/templates/mediagoblin/test_submit.html index b02f4e40..ebf93b59 100644 --- a/mediagoblin/templates/mediagoblin/test_submit.html +++ b/mediagoblin/templates/mediagoblin/test_submit.html @@ -25,7 +25,7 @@ {{ wtforms_util.render_table(image_form) }} - + diff --git a/mediagoblin/templates/mediagoblin/test_submit.html~ b/mediagoblin/templates/mediagoblin/test_submit.html~ new file mode 100644 index 00000000..ebf93b59 --- /dev/null +++ b/mediagoblin/templates/mediagoblin/test_submit.html~ @@ -0,0 +1,33 @@ +{# +# 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 . +#} +{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} + + + +
+ + {{ wtforms_util.render_table(image_form) }} + + + + +
+
+ +