Created
October 15, 2013 17:25
-
-
Save johnvilsack/6995278 to your computer and use it in GitHub Desktop.
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
<HTML> | |
<HEAD> | |
<title>User Login</title> | |
<!-- Twitter Bootstrap stylesheet --> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> | |
</HEAD> | |
<BODY> | |
<!-- !!CONTAINER --> | |
<div class="container"> | |
<!-- !!HEADERINFO --> | |
<center><h1>User Login</h1></center> | |
<!-- !@HEADERINFO --> | |
<!-- !!BACKBUTTON --> | |
<div class="pull-right"> | |
<a href='mainmenu.asp?strUserID='><button type="button" class="btn btn-link">Main Menu</button></a> | |
</div> | |
<!-- !@BACKBUTTON --> | |
<!-- !!LOGINFORM --> | |
<form role="form" METHOD="POST" ACTION="mainmenu.asp" NAME="frmLogIn" ID="frmLogIn" onsubmit="submit()"> | |
<div class="form-group"> | |
<label for="strUserID">User Name:</label> | |
<input type="text" class="form-control" id="strUserID" placeholder="Enter User ID" size="15" maxlength="20" onChange="javascript:dofrmSubmit();"> | |
</div> | |
<button type="submit" class="btn btn-default">Submit</button> | |
</form> | |
<!-- !@LOGINFORM --> | |
</div> | |
<!-- !@CONTAINER --> | |
<!-- Load Javascript at bottom of page, so that it fires after all the page elements have been created. --> | |
<!-- Twitter Bootstrap Javascript --> | |
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> | |
<!-- !!3RAjs --> | |
<script language="javascript"> | |
function dofrmFocus() { | |
document.frmLogIn.strUserID.focus(); | |
document.frmLogIn.strUserID.select(); | |
} | |
function dofrmSubmit() { | |
document.frmLogIn.submit(); | |
} | |
dofrmFocus(); | |
</script> | |
<!-- !@3RAjs --> | |
</BODY> | |
</HTML> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment