Skip to content

Instantly share code, notes, and snippets.

@strax
Created November 6, 2011 18:01
Show Gist options
  • Save strax/1343247 to your computer and use it in GitHub Desktop.
Save strax/1343247 to your computer and use it in GitHub Desktop.
Sample login dialog
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Login</title>
<link rel="stylesheet" type="text/css" media="screen, projection" href="screen.css">
</head>
<body>
<div class="dialog" id="new-session-dialog">
<h1>Login</h1>
<form name="session" id="new-session-form" method="POST" action="/session/new">
<div id="inputs">
<input type="text" name="session[username]" id="new-session-username"><br>
<input type="password" name="session[password]" id="new-session-password">
</div>
<div id="button">
<button id="submit-button">Go!</button>
</div>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment