added 3 other pages

This commit is contained in:
Jacob Levine
2019-02-06 17:51:58 -06:00
parent 48f34f0472
commit 901c8d25f8
8 changed files with 122 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ var uiConfig = {
}
};
var handleSignedInUser = function(user) {
document.getElementById("mainhead").innerHTML = "TitanScout- Create Form";
document.getElementById("mainhead").innerHTML = "TitanScout- User Info";
if (user.displayName != null) {
document.getElementById('status').innerHTML = "You are signed in as: " + user.displayName;
} else if (user.email != null) {
@@ -219,3 +219,6 @@ function closeNav() {
document.getElementById("main").style.marginLeft = "0";
document.body.style.backgroundColor = "white";
}
if(firebase.auth().currentUser!=null){
handleSignedInUser(firebase.auth().currentUser)
}