forked from chookspace/chookchat
start work on persistent login
This commit is contained in:
33
client/login.html
Normal file
33
client/login.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>login</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script src="/script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<div id="brand">
|
||||
<h2><a href="/">chookchat</a></h2>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li><a href="/">home</a></li>
|
||||
<li><a id="loginLink" href="/login">login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="login" id="posts">
|
||||
<h1>login</h1>
|
||||
<p>if you haven't registered, enter a username that doesn't exist and hit 'register'</p>
|
||||
<label for="username">Username:</label>
|
||||
<input name="username" id="username"></input>
|
||||
<br>
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" name="password" id="password"></input>
|
||||
<br>
|
||||
<button onclick="login()">Log In</button>
|
||||
<button onclick="register()">Register</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user