mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
bugfix
This commit is contained in:
parent
19a236251a
commit
781b4dc8b5
@ -21,13 +21,12 @@
|
||||
<a href="#">Contact</a>
|
||||
</div>
|
||||
<div id="main">
|
||||
<!-- Use any element to open the sidenav -->
|
||||
<span onclick="openNav()">open</span>
|
||||
<h1 id="mainhead">TitanScout- Sign In</h1>
|
||||
<p id="status">You are not signed in.</p>
|
||||
<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">
|
||||
<span onclick="openNav()"id="sideload"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Hamburger_icon.svg/1200px-Hamburger_icon.svg.png"></span>
|
||||
<div id="profileupd">
|
||||
<div class="profupdopt">
|
||||
New Username: <input type="text" name="NewDN" value="" id="newDN">
|
||||
|
@ -55,6 +55,7 @@ var handleSignedInUser = function(user) {
|
||||
document.getElementById('updpi').style.display = 'inline-block';
|
||||
document.getElementById('deleteacc').style.display = 'inline-block';
|
||||
document.getElementById('profileupd').style.display = 'none';
|
||||
document.getElementById('sideload').style.display = 'block';
|
||||
}
|
||||
var handleSignedOutUser = function() {
|
||||
document.getElementById("mainhead").innerHTML = "TitanScout- Sign In";
|
||||
@ -63,6 +64,7 @@ var handleSignedOutUser = function() {
|
||||
document.getElementById('updpi').style.display = 'none';
|
||||
document.getElementById('deleteacc').style.display = 'none';
|
||||
document.getElementById('profileupd').style.display = 'none';
|
||||
document.getElementById('sideload').style.display = 'none';
|
||||
ui.start('#firebaseui-auth-container', uiConfig);
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,9 @@ body{
|
||||
#profileupd{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sideload{
|
||||
display: none;
|
||||
}
|
||||
/* The side navigation menu */
|
||||
.sidenav {
|
||||
height: 100%; /* 100% Full-height */
|
||||
|
Loading…
Reference in New Issue
Block a user