layout changes

This commit is contained in:
Jacob Levine 2019-02-06 14:15:59 -06:00
parent b8d209b283
commit e290f5ae11
2 changed files with 14 additions and 5 deletions

View File

@ -17,10 +17,19 @@
<input type="button" name="Update Profile" onClick="loadupdpi();" value='Update Profile Info' id="updpi"> <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"> <input type="button" name="DelAcc" value="Delete Account" onclick="deleteAccount();" id="deleteacc">
<div id="profileupd"> <div id="profileupd">
New Username: <input type="text" name="NewDN" value="" id="newDN"> <div class="profupdopt">
New Profile Pic URL: <input type="text" name="NewPP" value="" id='newPP'> New Username: <input type="text" name="NewDN" value="" id="newDN">
New Email: <input type="text" name="NewEM" value="" id="newEM"> </div>
<input type= <div class="profupdopt">
New Profile Pic URL: <input type="text" name="NewPP" value="" id='newPP'>
</div>
<div class="profileupdopt">
New Email: <input type="text" name="NewEM" value="" id="newEM">
</div>
<div class="profileupdopt">
<input type='button' name="upd" value="Update Profile" id="upd">
</div>
</div> </div>
<div id="firebaseui-auth-container"></div> <div id="firebaseui-auth-container"></div>
</body> </body>

View File

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