Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
shull4 authored Jun 29, 2018
1 parent 5569b22 commit 0823702
Showing 1 changed file with 2 additions and 45 deletions.
47 changes: 2 additions & 45 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,54 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Programming Strategies Login</title>
<style>body {background-color: #c9e2b3}</style>
<!-- *******************************************************************************************
* TODO(DEVELOPER): Paste the initialization snippet from:
* Firebase Console > Overview > Add Firebase to your web app. *
***************************************************************************************** -->
<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase.js"></script>
Strategy Tracker Index Redirect
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAXjL6f739BVqLDknymCN2H36-NBDS8LvY",
authDomain: "strategytracker.firebaseapp.com",
databaseURL: "https://strategytracker.firebaseio.com",
projectId: "strategytracker",
storageBucket: "strategytracker.appspot.com",
messagingSenderId: "261249836518"
};
firebase.initializeApp(config);
</script>

<script src="https://cdn.firebase.com/libs/firebaseui/3.0.0/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/3.0.0/firebaseui.css" />
<script type="text/javascript">


// FirebaseUI config.
var uiConfig = {
signInSuccessUrl: '../StrategyTracker/StrategyTracker.html',
signInOptions: [
// Leave the lines as is for the providers you want to offer your users.
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
],
// Terms of service url.
tosUrl: '<your-tos-url>'
};
// Initialize the FirebaseUI Widget using Firebase.
var ui = new firebaseui.auth.AuthUI(firebase.auth());
// The start method will wait until the DOM is loaded.
ui.start('#firebaseui-auth-container', uiConfig);
window.location = "./StrategyTracker/StrategyTracker.html";
</script>

</head>
<body>
<!-- The surrounding HTML is left untouched by FirebaseUI.
Your app may use that space for branding, controls and other customizations.-->
<h1 style="text-align:center">Welcome to Strategy Tracker <br>
Please sign in below</h1>
<div id="firebaseui-auth-container"></div>
</body>
</html>

0 comments on commit 0823702

Please sign in to comment.