src/main/resources/templates/task/managetable.ftl

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<div class="bgc-w box box-primary">
	<!--盒子头-->
	<div class="box-header">
		<h3 class="box-title">
			<a href="addtask" class="label label-success" style="padding: 5px;">
				<span class="glyphicon glyphicon-plus"></span> 新增
			</a>
		</h3>
		<div class="box-tools">
			<div class="input-group" style="width: 150px;">
				<input type="text" class="form-control input-sm cha"
					placeholder="查找..." />
				<div class="input-group-btn chazhao">
					<a class="btn btn-sm btn-default"><span
						class="glyphicon glyphicon-search"></span></a>
				</div>
			</div>
		</div>
	</div>
	<!--盒子身体-->
	<div class="box-body no-padding">
		<div class="table-responsive">
			<table class="table table-hover table-striped">
				<thead>
					<tr>
						<th scope="col" class="co commen ">类型<span class="block"></span></th>
						<th scope="col">标题</th>
						<th scope="col" class="co commen ">发布时间<span class="block"></span></th>
						<th scope="col">发布人</th>
						<th scope="col">部门</th>
						<th scope="col" class="co commen ">状态<span class="block"></span></th>
						<th>置顶</th>
						<th scope="col">操作</th>
					</tr>
				</thead>
				<tbody>
					<#list tasklist as task>
					<tr>
						<td><span>${task.typename}</span></td>
						<td><span>${task.title}</span></td>
						<td><span>${task.publishtime}</span></td>
						<td><span>${task.username}</span></td>
						<td><span>${task.deptname}</span></td>
						<#if task.cancel==true>
						<td><span class="label label-default">已取消</span></td>
						<#else>
						<td><span class="label ${task.statuscolor}">${task.statusname}</span></td>
						</#if>
						<#if task.zhiding==true>
							<td> <span class="labels"><label><input type="checkbox" name="top" class="val" checked disabled><i>✓</i></label></span></td>
						<#else>
							<td> <span class="labels"><label><input type="checkbox" name="top" class="val" disabled><i>✓</i></label></span></td>
						</#if>
						<td><a  href="edittasks?id=${task.taskid}"
							class="label xiugai"><span
								class="glyphicon glyphicon-edit"></span> 修改</a> 
								<a href="seetasks?id=${task.taskid}" class="label xiugai"><span
								class="glyphicon glyphicon-search"></span> 查看</a>
								 <a href="shanchu?id=${task.taskid}" onclick="{return confirm('删除该记录将不能恢复,确定删除吗?');};"
							class="label shanchu"><span
后面还有 47 行代码,购买后查看完整代码

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

AI 解读

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

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