📄 login.jsp
字号:
<%@ include file = "../tiles/include.jsp"%>
<%
/**
* login system
* @author edgeloner
* 2004-05-24 created
*/
%>
<bean:define id="loginTitle">
<bean:message key="login.title"/>
</bean:define>
<bean:define id="registerTitle">
<bean:message key="register.title"/>
</bean:define>
<center>
<gui:window title = "<%=loginTitle%>" prototype = "boWindow" color = "70%">
<gui:tabbedPanel prototype = "boTabbedPanel" followUp = "login.do" color = "#f0f0f0" selectedTab = "tab1"
width = "60">
<gui:tab prototype = "boTab" name = "tab1" title = "<%=loginTitle%>" followUp = "login.do">
<html:form action = "loginAction?method=login" target="_top" focus = "name" onsubmit = "return validateLoginForm(this);">
<html:errors/>
<br>
<table class = "win" CELLPADDING = "0" CELLSPACING = "0" WIDTH = "100%">
<tr>
<td>
<bean:message key = "login.name"/></td>
<td>
<html:text property = "name" size = "20" maxlength = "18"/>
<td>
</tr>
<tr>
<td>
<bean:message key = "login.password"/></td>
<td>
<html:password property = "password" size = "20" maxlength = "18" redisplay = "false"/></td>
</tr>
<tr>
<td><bean:message key="login.chkCode"/></td>
<td><input type="text" name="chkCode" size="20" maxlength="6"><html:img page="/CheckCodeImage" style="border: 1 dotted black"/></td>
</tr>
<tr>
<td colspan = "2" align = "right">
<html:submit styleClass="button">
<bean:message key = "button.login"/></html:submit>
<html:reset styleClass="button">
<bean:message key = "button.reset"/></html:reset>
</td>
</tr>
</html:form>
</table>
</gui:tab>
<gui:tab prototype = "boTab" name = "tab2" title = "<%=registerTitle%>" followUp="register.do">
regedit!
</gui:tab>
</gui:tabbedPanel>
</gui:window>
</center>
<html:javascript formName="loginForm"
dynamicJavascript="true"
staticJavascript="false"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -