<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Welcome!</title>
	<link rel="icon"
		  href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
					
		<link rel="stylesheet" href="/css/base.css"/>
	
	<link rel="stylesheet" href="/css/login.css"/>

			
	</head>
<body>
		<div>
		<h2>ADAA 2023 Conference Sign In</h2>
	</div>
	<div class="login-header">
		<ul>
			<li>ADAA Members</li>
			<ul>
				<li>Sign in with your ADAA username and password to receive the discounted member conference rate.
				</li>
				<li>To become a member <a href="https://members.adaa.org/page/join" target="_blank">click here</a>.</li>
			</ul>
			</li>
			<li>Non-ADAA Members
				<ul>
					<li>Past attendees and former members may have existing user profiles. Please use the username and password from years past. </li>
					<li>First time attendees will need to create a <a href="/register">non-member profile</a>. </li>
				</ul>
			</li>
		</ul>
	</div>
	<div class="login-wrapper">
		<div>
			<form id="login_form" action="/login" method="post">
				<div>
					<input type="text" id="username" name="_username" value=""
						   placeholder="Username"/>
				</div>
				<div>
					<input type="password" id="password" name="_password" placeholder="Password"/>
				</div>
				<div>
					<button type="submit" class="button">SIGN IN</button>
				</div>
				<input type="hidden" name="_csrf_token" value="a877c9a99e1862ea04e.koR-vFdVr0WFBRja88C9G6JAi08EJV-CixgQRTdOLm4.57YJzyQbggq3T1GRl4raLvsa_zVRZG3v4HF2JwA9HBvhyUr7Yz73LO11LA">
			</form>
		</div>
		<div class="after-login-form">
			<div>
				<div>
					<a class="button" target="_blank" href="https://members.adaa.org/general/email_pass.asp">Reset ADAA Password</a>
				</div>
			</div>
			<div>
				<div>
					<a class="button" href="/register">Create Non-Member Profile</a>
				</div>
			</div>
		</div>
	</div>
	<script>
		if(window.location.hash !== ""){
            let form = document.getElementById('login_form');
            let hash_input = document.createElement('input');
            hash_input.type = 'hidden';
            hash_input.name = 'hash';
            hash_input.value = window.location.hash;
            form.appendChild(hash_input);
		}
	</script>


</body>
</html>
