-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
26 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
|
||
<h2>Account Registration</h2><br> | ||
<ul> | ||
<li>usernames must contain only letters or numbers</li> | ||
<li>usernames must be longer than 4 characters but shorter than 51</li> | ||
<li>passwords must contain a uppercase letter, lowercase letter, number, and special character</li> | ||
<li>passwords must be greater than 11 characters but less than 60</li> | ||
</ul><br> | ||
|
||
<form action="/registerauth" method="POST"> | ||
<label for="username">Name:</label><br> | ||
<input type="text" id="username" name="username"><br> | ||
<label for="password">Password:</label><br> | ||
<input type="password" id="password" name="password"><br><br> | ||
<input type="submit" value="Submit"> | ||
</form> | ||
|
||
<br><br> | ||
{{if .}} | ||
{{.}} | ||
{{end}} | ||
|
||
</body> | ||
<head> | ||
<!-- Required meta tags --> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<!-- Bootstrap CSS --> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="css/signin.css" rel="stylesheet"> | ||
</head> | ||
<body class="text-center"> | ||
<form action="/user" method="post" class="form-signin"> | ||
<h1 class="h3 mb-3 font-weight-normal">Kayıt</h1> | ||
<input type="inputUsername" name="Username" class="form-control" placeholder="Username" > | ||
<input type="inputPassword" name="password" class="form-control mt-1" placeholder="Şifre" required=""> | ||
<!-- <div class="checkbox mb-3"> | ||
<label> | ||
<input type="checkbox" value="remember-me"> Beni hatırla | ||
</label> | ||
</div>--> | ||
<button class="btn btn-lg btn-primary btn-block mt-3" type="submit">Kayır Ol</button> | ||
</form> | ||
</body> | ||
</html> |