📄 timesheetlist.jsp
字号:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Time Expression - Timesheet List</title>
<link href="includes/timex.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="85%" border="1" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="4"
cellspacing="0" bordercolor="#CCCCCC">
<tr bgcolor="#C2DCEB" valign="middle">
<td width="90%" height="60" valign="middle" bgcolor="#C2DCEB">
<h1>Timesheet List</h1>
</td>
<td align="right" nowrap="nowrap"><a href="signout.htm">Sign out</a></td>
</tr>
<tr>
<td colspan="2">
<p align="center"><!-- status messages --> <c:if
test="${not empty message}">
<font color="green"><c:out value="${message}" /></font>
<c:set var="message" value="" scope="session" />
</c:if></p>
<p align="center"><a href="enterhours.htm">Click here</a> to add a
new timesheet, or select one from the list below.</p>
<table border="1" align="center" cellpadding="8" cellspacing="0">
<tr>
<th>Period Ending</th>
<th>Hours</th>
<th>Status</th>
<th>Timesheet Id</th>
</tr>
<c:forEach items="${timesheets}" var="timesheet">
<tr>
<td align="center"><a
href='enterhours.htm?tid=<c:out
value="${timesheet.timesheetId}"/>'><fmt:formatDate
value="${timesheet.periodEndingDate}" type="date"
pattern="MM/dd/yyyy" /></a>
<div></div>
</td>
<td align="center"><fmt:formatNumber
value="${timesheet.totalMinutes / 60}"
pattern="0.00" /></td>
<td align="center"><c:out
value="${timesheet.department.name}" />
<div></div>
</td>
<td align="center">
<c:out value="${timesheet.timesheetId}" />
<div></div>
</td>
</tr>
</c:forEach>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -