Bootstrap,来自 Twitter,是目前最受欢迎的前端框架。Bootstrap 是基于 HTML、CSS、JAVASCRIPT 的,它简洁灵活,使得 Web 开发更加快捷。
废话不多说了,直接给大家贴bootstrap实现查询的代码了。具体代码如下所示:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%><!DOCTYPE html><html lang="en"><head><title><%=request.getParameter("title") %></title> </head><body><!-- 头部引入 --><%@ include file="/jsp/public/header.jspf" %><div class="main"><!-- 左侧菜单 --><%@ include file="/jsp/public/menu.jsp" %><div class="left-side"><div class="contrain"><div class="position"> <a class="a2" href=""><span class="iconfont"></span></a> <span class="iconfont"></span> <span><%=request.getParameter("title") %></span></div><!-- 操作部分 --><div class="bgroup text-right"><!-- <s:a action="dataRule_addUI" cssClass="button bPrimary"><i class="iconfont"></i>新增</s:a><a href="###" class="button bSuccess" onclick="editRule();"><i class="iconfont"></i>编辑</a><a href="###" class="button bInfo" onclick="collectRule();"><i class="iconfont"></i>收藏</a><a href="###" class="button bDanger" onclick="delRule();" id="delRuleId"><i class="iconfont"></i>删除</a> --></div><div class="showMessage"><!-- 表单部分 --><form class="form-inline" id="taskList_form"><div class="form-group"><c:set var="querywhere" value="state='1'"/><c:if test="${not empty param.pdKey}"><c:set var="querywhere" value="pdKey='${param.pdKey}'"/></c:if>流程名称:<OATag:select cssclass="form-control pdKey" name="pdKey" classname="ProcDefExtend" listkey="pdName" otherattr="${not empty param.pdKey?'disabled':''}" listvalue="pdKey" querywhere="${querywhere}" value="${param.pdKey}" auth="false"/></div><div class="form-group">开单人:<input name="openUserName" onkeypress="if(event.keyCode==13){$('#bnt_search').click();return false;}" class="form-control"/></div><div class="form-group pdate"><label for="date">送达时间:</label><input class="form-control layer-date" id="start" placeholder="请选择开始日期" name="startDate" /><i class="iconfont"></i></div><div class="form-group pdate"><label for="date">至</label><input class="form-control layer-date" id="end" placeholder="请选择结束日期" name="endDate"/><i class="iconfont"></i></div><%-- <div class="form-group"><label for="keywords">关键词:</label><s:textfield type="text" cssClass="form-control" name="keyword" id="keywords" value="%{keyword}" placeholder="请输入关键词"/></div> --%><div class="form-group"> <a href="javascript:void(0);" class="button bPrimary" id="bnt_search" onclick="_search();"><i class="iconfont">