mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-28 10:09:09 +00:00
sections
This commit is contained in:
parent
302f6b794d
commit
ed151f1707
@ -76,6 +76,9 @@ function updun() {
|
|||||||
}).then(function() {
|
}).then(function() {
|
||||||
document.getElementById('newDN').innerHTML = firebase.auth().currentUser.displayName;
|
document.getElementById('newDN').innerHTML = firebase.auth().currentUser.displayName;
|
||||||
document.getElementById('status').innerHTML = "You are signed in as: " + firebase.auth().currentUser.displayName;
|
document.getElementById('status').innerHTML = "You are signed in as: " + firebase.auth().currentUser.displayName;
|
||||||
|
firebase.firestore().collection("users").doc(user.uid).set({alias:firebase.auth().currentUser.displayName}}, {
|
||||||
|
merge: true
|
||||||
|
}
|
||||||
}).catch(function(error) {
|
}).catch(function(error) {
|
||||||
alert("there was a problem: " + error)
|
alert("there was a problem: " + error)
|
||||||
});
|
});
|
||||||
|
@ -28,6 +28,13 @@
|
|||||||
<div>
|
<div>
|
||||||
Scouting For: <select id="tns"></select>
|
Scouting For: <select id="tns"></select>
|
||||||
</div>
|
</div>
|
||||||
|
<h2>Submit a Report:</h2>
|
||||||
|
<div>
|
||||||
|
Match Number: <input type="text" name="" value="" id="mn">
|
||||||
|
Number of Team Scouted: <input type="text" name="" value="" id="tsn">
|
||||||
|
</div>
|
||||||
|
<h3>Sandstorm:</h3>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user