Created
September 12, 2014 09:44
-
-
Save pcoady/58e2c490e4226f44afa0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>AWS Cognito App</title> | |
<script type="text/javascript" charset="utf-8" src="phonegap.js"></script> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" /> | |
</head> | |
<body> | |
<button id="btnLogin">Login with Facebook</button> | |
<button id="btnLogout">Logout</button> | |
<hr/> | |
<div style="overflow-y : scroll; height:200px"><span id="appConsole" style="color:green; word-wrap: break-word"></span></div> | |
<hr/> | |
<div style="overflow-y : scroll; height:200px"><span id="errorConsole" style="color:red; word-wrap: break-word"></span></div> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script> | |
<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script> | |
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.15.min.js"></script> | |
<script src="js/openfb.js" type="text/javascript"></script> | |
<script src="js/app.js" type="text/javascript"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the file from the free tutorial at http://backspace.technology/learn-aws-cognito.html