]> git.parisson.com Git - django-social-auth.git/commitdiff
HTML validation changes
authorMatías Aguirre <matiasaguirre@gmail.com>
Sun, 9 Jan 2011 15:01:26 +0000 (13:01 -0200)
committerMatías Aguirre <matiasaguirre@gmail.com>
Sun, 9 Jan 2011 15:01:26 +0000 (13:01 -0200)
example/templates/base.html
example/templates/home.html

index a96fd893cfdb048871a231746333194882ffb120..6dbe8e044a558443be7931b957f73836b3cef996 100644 (file)
@@ -4,7 +4,7 @@
     <title>Django Social Auth</title>
     <meta name="description" content="Django Social Auth is an easy to setup social authentication/registration mechanism for Django projects." />
     <meta name="keywords" content="social auth, openid, oauth, twitter, facebook, google, yahoo, myopenid, django, python" />
-    <style>
+    <style type="text/css">
       body {background-color: #eee; padding: 10px 20px; font-family: sans-serif; color: #333;}
       h1 {font-size: 1.8em; border-bottom: 1px solid #bbb; width: 95%;}
       h2 {font-size: 1.3em; border-bottom: 1px solid #ddd; width: 85%;}
@@ -37,6 +37,6 @@
     <div id="content">
       {% block content %}{% endblock %}
     </div>
-    <a id="forkme" href="http://github.com/omab/django-social-auth"><img src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
+    <div><a id="forkme" href="http://github.com/omab/django-social-auth"><img src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a></div>
   </body>
 </html>
index a5d82b70ee196040b829b56be08acee62ae9de34..aae415a18da760983f68cef6a7e5ca39d15f6467 100644 (file)
@@ -4,7 +4,7 @@
 
 {% block content %}
 <div>
-  <h3>Login using <a target="_blank" href="http://oauth.net/" title="OAuth">OAuth</a> from:</h3>
+  <h3>Login using <a href="http://oauth.net/" title="OAuth">OAuth</a> from:</h3>
   <ul>
     <li><a rel="nofollow" href="/login/twitter/">Twitter</a></li>
     <li><a rel="nofollow" href="/login/facebook/">Facebook</a></li>
 </div>
 
 <div>
-  <h3>Login using <a target="_blank" href="http://openid.net/" title="OpenId">OpenId</a> from:</h3>
+  <h3>Login using <a href="http://openid.net/" title="OpenId">OpenId</a> from:</h3>
   <ul>
     <li><a rel="nofollow" href="/login/google/">Google</a></li>
     <li><a rel="nofollow" href="/login/yahoo/">Yahoo</a></li>
     <li>
       <form action="/login/openid/" method="post">{% csrf_token %}
-        <label for="openid_identifier">Other provider</label>
-        <input id="openid_identifier" type="text" value="" name="openid_identifier" />
-        <input type="submit" />
-        <p class="helptext">Like your personal <a target="_blank" href="https://www.myopenid.com/" title="My OpenId">myopenid</a></p>
+        <div>
+          <label for="openid_identifier">Other provider</label>
+          <input id="openid_identifier" type="text" value="" name="openid_identifier" />
+          <input type="submit" value="Login" />
+        </div>
+        <p class="helptext">Like your personal <a href="https://www.myopenid.com/" title="My OpenId">myopenid</a></p>
       </form>
     </li>
   </ul>