new fixes

This commit is contained in:
Jacob Levine 2019-02-06 13:57:29 -06:00
parent f195b81974
commit b8d209b283
4 changed files with 5 additions and 41 deletions

View File

@ -1,37 +0,0 @@
[debug] [2019-01-05T21:05:36.632Z] ----------------------------------------------------------------------
[debug] [2019-01-05T21:05:36.634Z] Command: C:\ProgramData\Anaconda3\node.exe C:\ProgramData\Anaconda3\node_modules\firebase-tools\lib\bin\firebase.js serve
[debug] [2019-01-05T21:05:36.634Z] CLI Version: 6.2.2
[debug] [2019-01-05T21:05:36.634Z] Platform: win32
[debug] [2019-01-05T21:05:36.634Z] Node Version: v9.11.1
[debug] [2019-01-05T21:05:36.634Z] Time: Sat Jan 05 2019 15:05:36 GMT-0600 (Central Standard Time)
[debug] [2019-01-05T21:05:36.634Z] ----------------------------------------------------------------------
[debug]
[debug] [2019-01-05T21:05:36.642Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2019-01-05T21:05:36.642Z] > authorizing via signed-in user
[debug] [2019-01-05T21:05:36.642Z] [iam] checking project titanscoutandroid for permissions ["firebase.projects.get"]
[debug] [2019-01-05T21:05:36.644Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"]
[debug] [2019-01-05T21:05:36.644Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[debug] [2019-01-05T21:05:36.842Z] <<< HTTP RESPONSE 200
[debug] [2019-01-05T21:05:36.859Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/titanscoutandroid:testIamPermissions
[debug] [2019-01-05T21:05:37.163Z] <<< HTTP RESPONSE 200
[debug] [2019-01-05T21:05:37.165Z] >>> HTTP REQUEST GET https://cloudresourcemanager.googleapis.com/v1/projects/titanscoutandroid
[debug] [2019-01-05T21:05:37.366Z] <<< HTTP RESPONSE 200
[info]
[info] === Serving from 'C:\Users\jlevi\Downloads\tr2022-strategy-master\tr2022-strategy-master\data analysis'...
[info]
[info] i functions: Preparing to emulate functions.
[debug] [2019-01-05T21:05:37.943Z] Fetching environment
[debug] [2019-01-05T21:05:37.945Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/1097635313476:getServerAppConfig
[debug] [2019-01-05T21:05:37.945Z] >>> HTTP REQUEST GET https://mobilesdk-pa.googleapis.com/v1/projects/1097635313476/clients/_:getWebAppConfig
[debug] [2019-01-05T21:05:38.234Z] <<< HTTP RESPONSE 200
[debug] [2019-01-05T21:05:38.234Z] Starting @google-cloud/functions-emulator
[debug] [2019-01-05T21:05:38.398Z] <<< HTTP RESPONSE 200
[info] i hosting: Serving hosting files from: public
[info] + hosting: Local server: http://localhost:5000
[debug] [2019-01-05T21:05:39.818Z] Parsing function triggers
[info] i functions: No HTTPS functions found. Use firebase functions:shell if you would like to emulate other types of functions.

View File

@ -16,10 +16,11 @@
<input type="button" name="Sign Out" value="Sign Out" onclick="signout();" id="signout">
<input type="button" name="Update Profile" onClick="loadupdpi();" value='Update Profile Info' id="updpi">
<input type="button" name="DelAcc" value="Delete Account" onclick="deleteAccount();" id="deleteacc">
<div id="ProfileUpdate">
<div id="profileupd">
New Username: <input type="text" name="NewDN" value="" id="newDN">
New Profile Pic URL: <input type="text" name="NewPP" value="" id='newPP'>
New Email: <input type="text" name="NewEM" value="" id="newEM">
<input type=
</div>
<div id="firebaseui-auth-container"></div>
</body>

View File

@ -90,11 +90,11 @@ function signout() {
}
function loadupdpi(){
if(firebase.auth().currentUser != null){
document.getElementById('ProfileUpdate').display='block';
document.getElementById('profileupd').display='block';
}else {
setTimeout(function() {
alert('Please sign in to change your account info.');
}, 1);
handleSignedOutUser();
handleSignedOutUser();
}
}

View File

@ -13,6 +13,6 @@ body{
display: none;
}
#ProfileUpdate{
#profileupd{
display: none;
}