.
This commit is contained in:
33
WebRoot/chartroom/index.jsp
Normal file
33
WebRoot/chartroom/index.jsp
Normal file
@@ -0,0 +1,33 @@
|
||||
<%@ page contentType="text/html;charset=gb2312" language="java" %>
|
||||
<html>
|
||||
<title>
|
||||
聊天室
|
||||
</title>
|
||||
<link href="../css/chart_style.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap.css" rel="stylesheet">
|
||||
<script language="javascript">
|
||||
function check(){
|
||||
if(form1.username.value==""){
|
||||
alert("请输入用户名!");form1.username.focus();return false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<body>
|
||||
<br>
|
||||
<form role="form" name="form1" method="post" action="login.jsp" onSubmit="return check()">
|
||||
<div class="form-group">
|
||||
<table width="363" height="224" border="0" align="center" cellpadding="0" cellspacing="0" background="images/login.png">
|
||||
<tr>
|
||||
<td height="121" colspan="3" class="word_dark"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="53" align="center" valign="top" class="word_dark"> </td>
|
||||
<td width="216" align="center" valign="top" class="word_dark">用户名:
|
||||
<input type="text" name="username"></td>
|
||||
<td width="94" valign="top" class="word_dark"><input type="image" name="imageField" src="images/go.jpg"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user