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="DelAcc" value="Delete Account" onclick="deleteAccount();" id="deleteacc">
<div id="profileupd">
<div class="profupdopt">
New Username: <input type="text" name="NewDN" value="" id="newDN">
</div>
<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">
<input type=
</div>
<div class="profileupdopt">
<input type='button' name="upd" value="Update Profile" id="upd">
</div>
</div>
<div id="firebaseui-auth-container"></div>
</body>

View File

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