-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from samsam2310/master
add FBlogin and FB logout
- Loading branch information
Showing
10 changed files
with
431 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<title>TWCL</title> | ||
|
||
<!-- font --> | ||
<link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'> | ||
|
||
<!-- Bootstrap Core CSS --> | ||
<link href="/static/twcl_page/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- Custom CSS --> | ||
<link href="/static/twcl_page/css/agency.css" rel="stylesheet"> | ||
|
||
<!-- Custom Fonts --> | ||
<link href="/static/twcl_page/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> | ||
<link href='http://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'> | ||
<link href='http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'> | ||
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'> | ||
|
||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
<!-- template Link --> | ||
{% block Link %} | ||
{% end %} | ||
|
||
</head> | ||
|
||
<body id="page-top" class="index"> | ||
|
||
<!-- ___________________________FB_API____________________________ --> | ||
<div id="fb-root"></div> | ||
<script> | ||
window.fbAsyncInit = function() { | ||
FB.init({appId: '{{FACEBOOK_APP_ID}}', status: true, | ||
cookie: true, xfbml: true,oauth: true}); | ||
}; | ||
(function() { | ||
var e = document.createElement('script'); | ||
e.type = 'text/javascript'; | ||
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; | ||
e.async = true; | ||
document.getElementById('fb-root').appendChild(e); | ||
}()); | ||
</script> | ||
<!-- ___________________________FB_API____________________________ --> | ||
|
||
|
||
<!-- Navigation --> | ||
<nav class="navbar navbar-default navbar-fixed-top"> | ||
<div class="container"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header page-scroll"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand page-scroll" href="#page-top" style="font-family: 'Audiowide', cursive;">TWCL</a> | ||
</div> | ||
|
||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li class="hidden"> | ||
<a href="#page-top"></a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href="#about">About</a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href="#portfolio">Members</a> | ||
</li> | ||
<li> | ||
<a class="page-scroll" href="#contact">Contact</a> | ||
</li> | ||
{% if current_user %} | ||
<li> | ||
<div class="btn btn-group"> | ||
<a class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="#"> | ||
{{current_user.name}} | ||
<span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li> | ||
<a href="/logout">Logout</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</li> | ||
{% else %} | ||
<li> | ||
<a class="btn" data-toggle="modal" data-target=".login">Login</a> | ||
</li> | ||
{% end %} | ||
</ul> | ||
</div> | ||
<!-- /.navbar-collapse --> | ||
</div> | ||
<!-- /.container-fluid --> | ||
</nav> | ||
|
||
<!-- Header --> | ||
{% block Header %} | ||
{% end %} | ||
|
||
<!-- About Section --> | ||
{% block Section %} | ||
{% end %} | ||
|
||
<!-- Footer --> | ||
{% block Footer %} | ||
{% end %} | ||
|
||
<!-- Portfolio Modals --> | ||
<!-- Use the modals below to showcase details about your portfolio projects! --> | ||
|
||
{% block Modals %} | ||
{% end %} | ||
|
||
<!-- jQuery --> | ||
<script src="/static/twcl_page/js/jquery.js"></script> | ||
|
||
<!-- Bootstrap Core JavaScript --> | ||
<script src="/static/twcl_page/js/bootstrap.min.js"></script> | ||
|
||
<!-- Plugin JavaScript --> | ||
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script> | ||
<script src="/static/twcl_page/js/classie.js"></script> | ||
<script src="/static/twcl_page/js/cbpAnimatedHeader.js"></script> | ||
|
||
<!-- Contact Form JavaScript --> | ||
<!--<script src="/static/twcl_page/js/jqBootstrapValidation.js"></script> | ||
<script src="/static/twcl_page/js/contact_me.js"></script>--> | ||
|
||
<!-- Custom Theme JavaScript --> | ||
<!-- <script src="/static/twcl_page/js/agency.js"></script>--> | ||
|
||
<!-- template Javascript --> | ||
{% block Javascript %} | ||
{% end %} | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.