savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] [SCM] Savane-cleanup framework branch, master, updated. 1


From: Sylvain Beucler
Subject: [Savannah-cvs] [SCM] Savane-cleanup framework branch, master, updated. 1a41d71870dc3d1097a375a514971f5bf011f34b
Date: Sun, 25 Jul 2010 16:23:00 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Savane-cleanup framework".

The branch, master has been updated
       via  1a41d71870dc3d1097a375a514971f5bf011f34b (commit)
      from  097e9eae3d6f9153964ca28fb17e5d2a36d211d0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/savane-cleanup/framework.git/commit/?id=1a41d71870dc3d1097a375a514971f5bf011f34b

commit 1a41d71870dc3d1097a375a514971f5bf011f34b
Author: Sylvain Beucler <address@hidden>
Date:   Sun Jul 25 18:22:53 2010 +0200

    HTML compliance fixes

diff --git a/templates/my/conf.html b/templates/my/conf.html
index f8363f8..f2619f2 100644
--- a/templates/my/conf.html
+++ b/templates/my/conf.html
@@ -4,7 +4,7 @@
 <div class="box">
   <div class="boxtitle">Change E-Mail</div>
   <div class="boxitem">
-    <form method="post">{% csrf_token %}
+    <form action="" method="post">{% csrf_token %}
       <table>
       {{ form_mail.as_table }}
       </table>
@@ -16,7 +16,7 @@
 <div class="box">
   <div class="boxtitle">Change Name</div>
   <div class="boxitem">
-    <form method="post">{% csrf_token %}
+    <form action="" method="post">{% csrf_token %}
       <table>
       {{ form_identity.as_table }}
       </table>
diff --git a/templates/my/index.html b/templates/my/index.html
index 59c1493..b38ce3c 100644
--- a/templates/my/index.html
+++ b/templates/my/index.html
@@ -1,29 +1,27 @@
 {% extends "base.html" %}
 
 {% block content %}
-<p>
-  <div style="float: left; margin: 10px;">
-    <p>Configure</p>
+<div style="float: left; margin: 10px;">
+  <p>Configure</p>
 
-    <p>
-      <a href="{% url savane.my.views.sv_conf %}">Contact info</a><br />
-      <a href="{% url savane.my.views.sv_ssh_gpg %}">SSH &amp; GPG</a><br />
-      <a href="{% url savane.my.views.sv_resume_skill %}">My resume &amp; 
skills</a><br />
-      <a href="{% url savane.my.group_list %}">My groups</a><br />
-      <a href="{% url savane.my.membership_list %}">My memberships</a><br />
-      <a href="{% url django.contrib.auth.views.password_change %}">Change my 
password</a><br />
-      <a href="{% url savane.my.language %}">Set language</a> 
({{LANGUAGE_CODE}})<br />
-    </p>
-  </div>
+  <p>
+    <a href="{% url savane.my.views.sv_conf %}">Contact info</a><br />
+    <a href="{% url savane.my.views.sv_ssh_gpg %}">SSH &amp; GPG</a><br />
+    <a href="{% url savane.my.views.sv_resume_skill %}">My resume &amp; 
skills</a><br />
+    <a href="{% url savane.my.group_list %}">My groups</a><br />
+    <a href="{% url savane.my.membership_list %}">My memberships</a><br />
+    <a href="{% url django.contrib.auth.views.password_change %}">Change my 
password</a><br />
+    <a href="{% url savane.my.language %}">Set language</a> 
({{LANGUAGE_CODE}})<br />
+  </p>
+</div>
 
-  <div style="float: left; margin: 10px;">
-    <p>Public information</p>
+<div style="float: left; margin: 10px;">
+  <p>Public information</p>
 
-    <p>
-      <a href="{% url savane.svmain.user_detail request.user.username %}">My 
public page</a><br />
-    </p>
-  </div>
-</p>
+  <p>
+    <a href="{% url savane.svmain.user_detail request.user.username %}">My 
public page</a><br />
+  </p>
+</div>
 
 {% endblock %}
 {% comment %}
diff --git a/templates/my/ssh_gpg.html b/templates/my/ssh_gpg.html
index e5b2746..86bffe9 100644
--- a/templates/my/ssh_gpg.html
+++ b/templates/my/ssh_gpg.html
@@ -5,7 +5,7 @@
 {% for key_pk,key in ssh_keys.items %}
 <li>
   {{ key }}
-  <form action="delete/" method="POST">{% csrf_token %}
+  <form action="delete/" method="post">{% csrf_token %}
     <input type="hidden" name="key_pk" value="{{key_pk}}" /><input 
type="submit" value="Delete"</input>
   </form>
 </li>
@@ -14,13 +14,13 @@
 {% endfor %}
 
 <h2>SSH Keys</h2>
-<form method="post" enctype="multipart/form-data">{% csrf_token %}
+<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
   {{ form_ssh.as_p }}
   <br /><input type="submit" value="Add" name="Add" />
 </form>
 
 <h2>GPG Key</h2>
-<form method="post">{% csrf_token %}
+<form action="" method="post">{% csrf_token %}
   {{ form_gpg.as_p }}
   <br /><input type="submit" value="Update" name="Update" />
 </form>
diff --git a/templates/registration/password_change_form.html 
b/templates/registration/password_change_form.html
index fbb578f..642f6d8 100644
--- a/templates/registration/password_change_form.html
+++ b/templates/registration/password_change_form.html
@@ -40,6 +40,6 @@
 
 <script 
type="text/javascript">document.getElementById("id_old_password").focus();</script>
 </div>
-</form></div>
+</form>
 
 {% endblock %}
diff --git a/templates/registration/registration_form.html 
b/templates/registration/registration_form.html
index 31eee19..34c4cfd 100644
--- a/templates/registration/registration_form.html
+++ b/templates/registration/registration_form.html
@@ -4,7 +4,7 @@
 
 {% block content %}
 
-<form action="" method="POST">{% csrf_token %}
+<form action="" method="post">{% csrf_token %}
   <table>
   {{ form.as_table }}
   </table>
diff --git a/templates/svmain/generic_confirm.html 
b/templates/svmain/generic_confirm.html
index d94aa11..151bcb2 100644
--- a/templates/svmain/generic_confirm.html
+++ b/templates/svmain/generic_confirm.html
@@ -5,7 +5,7 @@
 
 {% trans 'Are you sure?' %}
 
-<form action="." method="POST">{% csrf_token %}
+<form action="." method="post">{% csrf_token %}
   <input type="submit" value="{% trans 'Yes' %}" />
 </form>
 
diff --git a/templates/svmain/group_admin_members.html 
b/templates/svmain/group_admin_members.html
index b9d16a7..a31fb73 100644
--- a/templates/svmain/group_admin_members.html
+++ b/templates/svmain/group_admin_members.html
@@ -14,8 +14,8 @@
 
 {% block content %}
 
-<p>Members:<br />
-<form action="" method="POST">{% csrf_token %}
+<p>Members:</p>
+<form action="" method="post">{% csrf_token %}
 <table>
 <tr><th>User</th><th>Admin</th><th>Remove?</th></tr>
 {% for membership in memberships %}
diff --git a/templates/svmain/group_admin_members_add.html 
b/templates/svmain/group_admin_members_add.html
index f1370b1..bc24b37 100644
--- a/templates/svmain/group_admin_members_add.html
+++ b/templates/svmain/group_admin_members_add.html
@@ -16,7 +16,7 @@
 
 {% include "svmain/pagination.inc.html" %}
 
-<form action="." method="GET">
+<form action="." method="get">
   {% trans "Search" %}: <input type="text" name="q" value="{{q}}" />
 </form>
 
@@ -29,7 +29,7 @@
       <td>{{ object.get_full_name }}</td>
       <td><a href="{% url savane.svmain.user_detail object.username %}">{% 
trans 'view' %}</a></td>
       <td>
-       <form action="" method="POST">{% csrf_token %}
+       <form action="" method="post">{% csrf_token %}
          <input type="hidden" name="user_id" value="{{object.pk}}" />
          <input type="submit" value="{% trans 'Add' %}" />
        </form>
diff --git a/templates/svmain/group_detail.html 
b/templates/svmain/group_detail.html
index 4c97d9c..b9136b7 100644
--- a/templates/svmain/group_detail.html
+++ b/templates/svmain/group_detail.html
@@ -34,16 +34,16 @@
 
 <div class="indexcenter">
 <p>{{group.svgroupinfo.type.description}}</p>
-<p></p>
 <p>{{group.svgroupinfo.long_description}}</p>
 <p>
 {% trans "Registration Date" %}: {{group.svgroupinfo.register_time}}<br />
 {% trans "License" %}: <a 
href="{{group.svgroupinfo.license.get_absolute_url}}">{{group.svgroupinfo.license.name}}</a><br
 />
 {% trans "Development Status" %}: {{group.svgroupinfo.devel_status}}<br />
 </p>
+</div>
 
 {% if user.is_authenticated %}
-<form action="join/" method="POST">{% csrf_token %}
+<form action="join/" method="post">{% csrf_token %}
 <input type="submit" value="{% trans 'Join this project' %}" />
 </form>
 {% endif %}
diff --git a/templates/svmain/group_list.html b/templates/svmain/group_list.html
index 7bb310d..51da472 100644
--- a/templates/svmain/group_list.html
+++ b/templates/svmain/group_list.html
@@ -5,7 +5,7 @@
 
 {% include "svmain/pagination.inc.html" %}
 
-<form action="." method="GET">
+<form action="." method="get">
   {% trans "Search" %}: <input type="text" name="q" value="{{q}}" />
 </form>
 
diff --git a/templates/svmain/license_detail.html 
b/templates/svmain/license_detail.html
index a16d0fb..3899935 100644
--- a/templates/svmain/license_detail.html
+++ b/templates/svmain/license_detail.html
@@ -2,11 +2,9 @@
 
 {% block content %}
 
-<p><a href="{% url savane.svmain.license_list %}">License list</a></p>
-
 <p>
 Name: {{object.slug}}<br />
-URL: <a href="{{object.license.url}}">{{object.url}}</a><br />
+URL: <a href="{{object.url}}">{{object.url}}</a><br />
 </p>
 
 <p>Projects that use it:</p>
@@ -17,6 +15,8 @@ URL: <a href="{{object.license.url}}">{{object.url}}</a><br />
 <a href="{% url savane.svmain.group_detail name %}">{{name}}</a>{% if 
forloop.last %}{%else%},{% endif %}
 {% endfor %}
 
+<p><a href="{% url savane.svmain.license_list %}">Go to license list</a></p>
+
 {% endblock %}
 
 {% comment %}
diff --git a/templates/svmain/user_list.html b/templates/svmain/user_list.html
index 92206ce..85573d0 100644
--- a/templates/svmain/user_list.html
+++ b/templates/svmain/user_list.html
@@ -5,7 +5,7 @@
 
 {% include "svmain/pagination.inc.html" %}
 
-<form action="." method="GET">
+<form action="." method="get">
   {% trans "Search" %}: <input type="text" name="q" value="{{q}}" />
 </form>
 

-----------------------------------------------------------------------

Summary of changes:
 templates/my/conf.html                           |    4 +-
 templates/my/index.html                          |   38 ++++++++++-----------
 templates/my/ssh_gpg.html                        |    6 ++--
 templates/registration/password_change_form.html |    2 +-
 templates/registration/registration_form.html    |    2 +-
 templates/svmain/generic_confirm.html            |    2 +-
 templates/svmain/group_admin_members.html        |    4 +-
 templates/svmain/group_admin_members_add.html    |    4 +-
 templates/svmain/group_detail.html               |    4 +-
 templates/svmain/group_list.html                 |    2 +-
 templates/svmain/license_detail.html             |    6 ++--
 templates/svmain/user_list.html                  |    2 +-
 12 files changed, 37 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
Savane-cleanup framework



reply via email to

[Prev in Thread] Current Thread [Next in Thread]