Anonymous avatar Anonymous committed 0c72bf7

update base template

Comments (0)

Files changed (3)


+FACEBOOK_API_KEY= '368015036613887'
+FACEBOOK_SECRET_KEY = '449c76988461efa1ae292e6453319a7f'
+FACEBOOK_NAMESPACE = 'localchingadazo'


     <title>Bootstrap, from Twitter</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="description" content="">
-    <meta name="author" content="">
+    <meta name="author" content="fartApp">
+      <script src=""></script>
     <!-- Le styles -->
     <link href="{{MEDIA_URL}}bootstrap/css/bootstrap.css" rel="stylesheet">
-    <style>
-      body {
-        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
-      }
-    </style>
     <link href="{{MEDIA_URL}}bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
     <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
     <!--[if lt IE 9]>
       <script src=""></script>


 {%block content %}
       <h1>Bootstrap starter template</h1>
       <p>Use this document as a way to quick start any new project.<br> All you get is this message and a barebones HTML document.</p>
+$(document).ready(function () {
+    var redirect = function(response){
+        if(response.status=="connected"){
+            document.location.href="{# url autorizado #}?&auth_token="+ response.authResponse.accessToken;
+        }
+    }
+    FB.Event.subscribe("auth.login", redirect);
+    FB.Event.subscribe("auth.authResponseChange", redirect);
+    FB.getLoginStatus(redirect);
+<fb:login-button  size="xlarge"></fb:login-button>
 {% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.