📄 loginform.jsp
字号:
<%@ include file="/common/taglibs.jsp"%>
<%-- If you don't want to encrypt passwords programmatically, or you don't
care about using SSL for the login, you can change this form's action
to "j_security_check" --%>
<form method="post" id="loginForm" action="<c:url value="/authorize"/>"
onsubmit="saveUsername(this);return validateForm(this)">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="150"></td>
</tr>
<tr>
<td align=center valign=middle>
<table width="340">
<tr>
<td width="340">
<div id="mainTable">
<table>
<tr>
<td colspan="2" width="340" bgcolor="#8FBEE8"><img src="<c:url value="/images/pgmmlogin.gif"/>" width="300" height="25"></td>
</tr>
<tr>
<td colspan="2">
<c:if test="${param.error != null}">
<div class="error"
style="margin-right: 0; margin-bottom: 3px; margin-top: 3px">
<img src="<c:url value="/images/iconWarning.gif"/>"
alt="<fmt:message key="icon.warning"/>" class="icon" />
<fmt:message key="errors.password.mismatch"/>
</div>
</c:if>
</td>
</tr>
<tr>
<th>
<label for="j_username" class="required">
* <fmt:message key="label.username"/>:
</label>
</th>
<td>
<input type="text" name="j_username" id="j_username" size="25" tabindex="1" />
</td>
</tr>
<tr>
<th>
<label for="j_password" class="required">
* <fmt:message key="label.password"/>:
</label>
</th>
<td>
<input type="password" name="j_password" id="j_password" size="25" tabindex="2" />
</td>
</tr>
<c:if test="${rememberMeEnabled}">
<tr>
<td></td>
<td>
<input type="checkbox" name="rememberMe" id="rememberMe" tabindex="3"/>
<label for="rememberMe"><fmt:message key="login.rememberMe"/></label>
</td>
</tr>
</c:if>
<tr>
<td></td>
<td>
<!-- for Resin -->
<input type="hidden" name="j_uri" value="" />
<input type="submit" class="button" name="login" value="<fmt:message key="button.login"/>" tabindex="4" />
<input type="reset" class="button" name="reset" value="<fmt:message key="button.reset"/>" tabindex="5"
onclick="document.getElementById('j_username').focus()" />
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<%@ include file="/scripts/login.js"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -