Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2>404</h2>
<h1>Page Not Found</h1>
<p>The specified file was not found on this website. Please check the URL for mistakes and try again.</p>
<h3>Why am I seeing this?</h3>
<p>This page was generated by the Firebase Command-Line Interface. To modify it, edit the <code>404.html</code> file in your project's configured <code>public</code> directory.</p>
<p> This is a system generated file.</p>
</div>
</body>
</html>
21 changes: 3 additions & 18 deletions js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ firebase.auth().onAuthStateChanged(function(user)

$("#sec2").hide();

// firebase.database().ref('/users/').orderByChild('uid').equalTo(userUID)
//
// var userId = firebase.auth().currentUser.uid;
//return firebase.database().ref('/users/' + userId).once('value').then(function(snapshot) {
// var username = (snapshot.val() && snapshot.val().Name) || 'Anonymous';
// // ...
//});



$("#sec2").removeClass("col-md-3").addClass("col-md-0");
$("#sec1").removeClass("col-md-9").addClass("col-md-12");
$("#loutBtn").show();
Expand All @@ -39,12 +30,7 @@ firebase.auth().onAuthStateChanged(function(user)

}

// firebase.auth().signOut().then(function() {
// console.log('Signed Out');
// }, function(error) {
// console.error('Sign Out Error', error);
// });


}
else
{
Expand Down Expand Up @@ -93,9 +79,8 @@ function funcUp(){

firebase.auth().createUserWithEmailAndPassword(eMail, passWord).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
window.alert("Error : - "+errorMessage);

window.alert("Error : - "+error.message);
// ...
});

Expand Down
2 changes: 1 addition & 1 deletion try.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.2/angular.min.js">
<!--<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.2/angular.min.js">-->
<script src="js/control.js"></script>
</head>
<body ng-app="myApp">
Expand Down