Permalink
Switch branches/tags
{{ refName }}
default
Cannot retrieve contributors at this time
64751a67d8
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Music-Website/views/login.handlebars
Go to file- Go to file T
-
Copy path -
Copy permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<link href="images/favicon.png" type="image/png" rel="shortcut icon" /> <!-- shortcut to return to home page --> | |
<meta charset="utf-8"> | |
<title>Log In</title> | |
<link href="images/fav.png" type="image/png" rel="shortcut icon" /> | |
<!-- logo image with shorcut to return to homepage --> | |
<link href="css/mystyle.css" type="text/css" rel="stylesheet" /> | |
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> | |
<script src="scripts/scripts.js"></script> | |
</head> | |
<body> | |
<section class="middle"> | |
<section class="centered"> | |
<h2 class="ram3" <style="color: white ;"> | |
<img class="logo3 ram2" src="images/remake.png" alt="Logo of website">Uploadify | |
</h2> | |
<h4 id="errormsg" class="login_error_h4"></h4> | |
<section id="main_content" style="display: none;"></section> | |
<form action="/login" id="login_form" method="post"> | |
<section class="ram2"> | |
Username:<br /> | |
<input type="text" name="user" id="user" value="{{user}}" oninput=OnChangeUserPass("login_error") | |
autofocus> | |
</section> | |
<section id="login_error" class="login_error">'Username' cannot be empty!</section> | |
<br /> | |
<section class="ram2"> | |
Password:<br /> | |
<input type="password" name="pass" id="pass" value="" oninput=OnChangeUserPass("pass_error")> | |
</section> | |
<section id="pass_error" class="login_error">'Password' cannot be empty!</section> | |
<br /> | |
<p class="ram2"><input id="myBtn" type=button onClick="OnSubmitLoginForm()" value="Log in"></p> | |
<p class="ram2"><input type=button onClick="location.href='register'" value='Register'></p> | |
{{!-- <p class="ram2"><input type=button onClick=test() value='test'></p> --}} | |
<script> | |
var input = document.getElementById("pass"); | |
input.addEventListener("keyup", function(event) { | |
if (event.keyCode === 13) { | |
event.preventDefault(); | |
document.getElementById("myBtn").click(); | |
} | |
}); | |
</script> | |
</form> | |
</section> | |
</section> | |
</body> | |
</html> |
-
Copy lines -
Copy permalink - View git blame
- Reference in new issue