]> git.parisson.com Git - django-social-auth.git/commitdiff
Small html changes on template
authorMatías Aguirre <matiasaguirre@gmail.com>
Sun, 9 Jan 2011 13:59:41 +0000 (11:59 -0200)
committerMatías Aguirre <matiasaguirre@gmail.com>
Sun, 9 Jan 2011 13:59:41 +0000 (11:59 -0200)
example/templates/base.html
example/templates/done.html
example/templates/home.html

index 363194c965c9db0031a49f87de8c9e32f78d092f..86426646eebee1185a6cf76cf4116cc42589f3ab 100644 (file)
@@ -6,8 +6,9 @@
     <meta name="keywords" content="social auth, openid, oauth, twitter, facebook, google, yahoo, myopenid, django, python" />
     <style>
       body {background-color: #eee; padding: 10px 20px; font-family: sans-serif; color: #333;}
-      h1 {font-size: 1.5em; border-bottom: 1px solid #ddd; width: 95%;}
-      h2 {font-size: 1.2em;}
+      h1 {font-size: 1.8em; border-bottom: 1px solid #bbb; width: 95%;}
+      h2 {font-size: 1.3em; border-bottom: 1px solid #ddd; width: 85%;}
+      h3 {font-size: 1.2em;}
       a, a:visited {color: #459FDA; text-decoration: none;}
       a:hover {text-decoration: underline;}
       input[type="text"] {border: 1px solid #ccc; padding: 3px; width: 300px;}
@@ -16,6 +17,7 @@
       th {text-align: left; padding-right: 25px; font-weight: normal;}
       th, td {padding: 5px 15px;}
       tr.even {background-color: #ddd;}
+      #heading {margin-top: 2.3em;}
       #content {padding: 5px 20px;}
       .helptext {font-size: 0.9em; color: #aaa; margin: 0; padding: 0;}
       .description {font-size: 1.0em; color: #333;}
     </style>
   </head>
   <body>
-    <h1>{% block heading %}{% endblock %}</h1>
-    <p class="description">Django Social Auth is an easy to setup social authentication/registration mechanism for Django projects.</p>
+    <h1>Django Social Auth</h1>
+    <p class="description">
+      Django Social Auth is an easy to setup social authentication/registration mechanism for Django projects.
+      Check the documentation on <a hre="https://github.com/omab/django-social-auth#readme" title="docs">Github</a>
+    </p>
+
+    <h2 id="heading">{% block heading %}{% endblock %}</h2>
     <div id="content">
       {% block content %}{% endblock %}
     </div>
index a28fa04e85d3e57acbe43de4ab49dc8d8ef73825..bba758078be666546e4a1f1549b6dd15e56964e2 100644 (file)
@@ -5,7 +5,7 @@
 
 {% block content %}
 <div>
-  <h2>User data:</h2>
+  <h3>User data:</h3>
   <table>
     <tr class="odd"><th>Id:</th> <td>{{ user.id }}</td></tr>
     <tr class="even"><th>Username:</th> <td>{{ user.username }}</td></tr>
@@ -16,7 +16,7 @@
 </div>
 
 <div>
-  <h2>Associate new credentials:</h2>
+  <h3>Associate new credentials:</h3>
   <ul>
     <li>
       <a href="/associate/twitter/">Twitter</a>
index 67252cceabca1ae0b033c051a6f8e0507e5320ad..2a31df85e536c2e6e1a531d216f553f451947ffe 100644 (file)
@@ -5,7 +5,7 @@
 
 {% block content %}
 <div>
-  <h2>Login using <a href="http://oauth.net/">OAuth</a> from:</h2>
+  <h3>Login using <a href="http://oauth.net/">OAuth</a> from:</h3>
   <ul>
     <li><a href="/login/twitter/">Twitter</a></li>
     <li><a href="/login/facebook/">Facebook</a></li>
@@ -14,7 +14,7 @@
 </div>
 
 <div>
-  <h2>Login using <a href="http://openid.net/">OpenId</a> from:</h2>
+  <h3>Login using <a href="http://openid.net/">OpenId</a> from:</h3>
   <ul>
     <li><a href="/login/google/">Google</a></li>
     <li><a href="/login/yahoo/">Yahoo</a></li>