📄 layout.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><bean:message key="mokoda.welcome" /></title>
<link rel="stylesheet" type="text/css"
href="<%=request.getContextPath()%>/styles.css">
</head>
<body>
<table width="100%" height="100%" border="0"
background="<%=request.getContextPath()%>/res/backgroud.gif">
<tr>
<td width="10%">
</td>
<td width="80%">
<table width="100%" height="100%" border="0" align="center"
cellpadding="3">
<tr height="150">
<td valign="top">
<html:img align="top" border="1" height="100%" width="100%"
alt="header" page="/res/header.jpg" />
<br>
</td>
</tr>
<tr height="100">
<td align="center" valign="middle">
<table width="90%">
<tr>
<td align="left">
<html:link page="/index.jsp">
<bean:message key="mokoda.frontpage" />
</html:link>
</td>
<td align="center" calss="header">
<logic:notEmpty name="client">
<bean:write name="client" property="email" />,
</logic:notEmpty>
<bean:message key="mokoda.welcome" />
</td>
<td align="right">
<logic:notEmpty name="client">
<html:link action="/logout">
<bean:message key="mokoda.logout" />
</html:link>
</logic:notEmpty>
<logic:empty name="client">
<html:link page="/client/login.jsp">
<bean:message key="mokoda.client.login" />
</html:link>
</logic:empty>
</td>
</tr>
</table>
</td>
</tr>
<tr valign="middle">
<td align="center">
<tiles:insert attribute="body" />
</td>
</tr>
<tr>
<td height="10" class="touming" bgcolor="#7e6236" align="center">
<bean:message key="mokoda.copyright" />
</td>
</tr>
<tr>
<td height="10">
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -