30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>Schafkopf</title>
|
|
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
|
<link rel='stylesheet' type='text/css' media='screen' href='style.css'>
|
|
</head>
|
|
<body>
|
|
<div class="signup-backdrop" id="signup-window">
|
|
<div class="signup-window-vertical">
|
|
<div class="signup-window">
|
|
<label for="usrname">Username</label>
|
|
<input type="text" id="user-name" name="usrname" required>
|
|
|
|
<label for="psw">Password</label>
|
|
<input type="password" id="user-pwd" name="psw" required>
|
|
|
|
<button class="login-buttons" onclick="registerUser()">Register</button>
|
|
<button class="login-buttons" onclick="loginUser()">Log in</button>
|
|
<div id="login-error"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src='game.js'></script>
|
|
<script>
|
|
loadExistingSession()
|
|
</script>
|
|
</body>
|
|
</html> |