WebRoot/jsp/index.jsp

(完整代码) 2KB

<%@ page language="java" 	contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>eXtremeTest</title>
		<%@ include file="/common/meta.jsp"%>
	</head>
	<body style="margin: 25px;">
	<form action="" name="ec" id="ec">
		<div class="FP_toolBar" id="FP_toolBar" uic="toolbar">
        <div class="pageTitle" id="pageTitle">网站文章管理</div>
        <div class="buttonBar">
            <ul class="viewingButton" id="viewingButton">
            </ul>
            <div class="allButton" id="allButton">
                 <div class="allButtonTitle" id="allButtonTitle"><a href="article.do?method=add"><img src="images/icon/xinjian.gif"  align="middle" border="0"/>新建</a></div>
                 <div class="allButtonTitle" id="allButtonTitle"><a href="#" onclick="javascript:edit(document.forms.ec,'文章','ss');"><img src="images/icon/bianji.gif"  align="middle" border="0"/>编辑</a></div>
                 <div class="allButtonTitle" id="allButtonTitle"><a href="#" onclick="javascript:batch_del(document.forms.ec,'文章','sss');"><img src="images/icon/shanchu.gif"  align="middle" border="0"/>删除</a></div>
            </div>
        </div>
        </div>
        <br/>
		<ec:table items="objlist" var="obj" retrieveRowsCallback="process" width="100%" classic="true"
			action="${pageContext.request.contextPath}/test.jsp" 
			pageSizeList="10,50" rowsDisplayed="10" 
			editable="false" xlsFileName="文件1.xls" csvFileName="文件2.csv"
			pdfFileName="文件3.pdf" sortable="true" filterable="true">
			<ec:row>
				<ec:column property="checkbox" title="<input type=checkbox onclick=sel('itemlist')>" sortable="false"
					filterable="false" viewsAllowed="html"  styleClass="FP_ColHot"
					headerStyle="text-align:center" style="text-align:center" width="5%">
					 <input type="checkbox" name="itemlist" value="${obj.id}"  style="border:0px" />
				</ec:column>
				<ec:column  property="_0" title="序号"
					value="${GLOBALROWCOUNT}" />
				<ec:column property="username" title="姓名" />
				<ec:column property="password" />
				<ec:column property="null" title="修改"  sortable="false"
					viewsAllowed="xls,html">
					<a href="person.do?method=edit&id=${pre.name}">修改</a>
				</ec:column>
				<ec:column property="null" title="删除" sortable="false"
					viewsAllowed="html">
					<a href="person.do?method=del&id=${pre.name}">删除</a>
				</ec:column>
			</ec:row>
		</ec:table>
</form>
	</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。