forked from hzuapps/java-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> | ||
<link href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"> | ||
</head> | ||
<title> | ||
REGISTER | ||
</title> | ||
<body> | ||
<div class="Register"> | ||
<h2 class="text-center"> Register</h2> | ||
<form id="register"> | ||
<div class="form-group"> | ||
<label for="username1">Username *</label> | ||
<input type="text" id="username1" class="form-control" /> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password1">Password *</label> | ||
<input type="password" id="password1" class="form-control"/> | ||
</div> | ||
<div class="form-group"> | ||
<label for="repassword">Repeat *</label> | ||
<input type="password" id="repassword" class="form-control"/> | ||
</div> | ||
<div class="form-group"> | ||
<label for="nickname">Nickname</label> | ||
<input type="text" id="nickname" class="form-control"/> | ||
</div> | ||
<label for="school">School</label> | ||
<input type="text" id="school" class="form-control"/> | ||
<div class="form-group"> | ||
<label for="qq">QQ</label> | ||
<input type="text" id="qq" class="form-control"/> | ||
</div> | ||
<div class="form-group"> | ||
<label for="email">Email * | ||
</label><input type="text" id="email" class="form-control"/> | ||
</div> | ||
<div style = "text-align:right;"> | ||
<button type="button" class="btn btn-default">Register</button> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</body> | ||
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> | ||
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> | ||
<script type="text/javascript"> | ||
$( ".btn" ).click(function() { | ||
//alert(".btn"); | ||
$.ajax({ | ||
url: "success.json", | ||
success: function(data){ | ||
alert(data.msg); | ||
}}); | ||
}); | ||
</script> | ||
|
||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> | ||
<link href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"> | ||
</head> | ||
<title> | ||
ATM Transfer | ||
</title> | ||
<body> | ||
<div class="Register"> | ||
<h2 class="text-center"> ATM Transfer </h2> | ||
<center>Now time is: | ||
<%=new java.util.Date()%> | ||
</center> | ||
<form id="register"> | ||
<div class="form-group"> | ||
<label for="username1">Account *</label> | ||
<input type="text" id="Account" class="form-control" /> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password1">Amount *</label> | ||
<input type="password" id="Amount" class="form-control"/> | ||
</div> | ||
<div style = "text-align:right;"> | ||
<button type="button" class="btn btn-default">Confirm</button> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</body> | ||
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> | ||
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> | ||
<script type="text/javascript"> | ||
$( ".btn" ).click(function() { | ||
//alert(".btn"); | ||
$.ajax({ | ||
url: "success.json", | ||
success: function(data){ | ||
alert(data.msg); | ||
}}); | ||
}); | ||
</script> | ||
|
||
</html> |