pageinfo.jsp 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <%@ page contentType="text/html;charset=UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <style>
  4. .tab_footer{float: right;overflow: hidden;font-size: 12px;line-height: 22px;}
  5. .tab_footer>select,.tab_footer>div{float: left;}
  6. .tab_footer>.p-record{padding:0 5px 0 50px}
  7. .tab_footer a{width: 15px;height: 21px;display: inline-block;margin: 0 3px;cursor: pointer;}
  8. .tab_footer .pageprev,#tab_footer .pagenext{height: 21px;border-right: 1px solid #ccc;border-left: 1px solid #ccc;padding: 0 5px;margin: 0 5px;}
  9. .tab_footer .pageprev>a{width: 15px;height: 21px;display: inline-block;}
  10. .tab_footer .prev_all{background: url("../images/page_turn.png") 2px 4px no-repeat;}
  11. .tab_footer .prev_one{background: url("../images/page_turn.png") -19px 4px no-repeat;}
  12. .tab_footer .next_one{background: url("../images/page_turn.png") -39px 4px no-repeat;}
  13. .tab_footer .next_all{background: url("../images/page_turn.png") -60px 4px no-repeat;}
  14. .tab_footer .refresh{background: url("../images/page_turn.png") -80px 4px no-repeat;}
  15. </style>
  16. <!--
  17. <table class="search_button_table" >
  18. <tr>
  19. <td>
  20. </td>
  21. <td style="text-align: center;">
  22. <a href="#" id="pagefirst" style="color: blue;"><i class="glyphicon glyphicon-step-backward" ></i> </a>
  23. <a href="#" id="pageprev" style="color: blue;"><i class="glyphicon glyphicon glyphicon-chevron-left"></i> </a>
  24. <span>第${page.currentpage }页,共${page.totalpages}页
  25. <a href="#" id="pagenext" style="color: blue;"><i class="glyphicon glyphicon glyphicon-chevron-right"></i> </a>
  26. <a href="#" id="pagelast" style="color: blue;"><i class="glyphicon glyphicon-step-forward"></i> </a>
  27. </td>
  28. <td>
  29. <p>
  30. <span > 当前显示${page.datafrom}-${page.dataend}条记录</span><span > 共${page.totalRows}条</span>
  31. </p>
  32. </td>
  33. </tr>
  34. </table>
  35. -->
  36. <div class="tab_footer">
  37. <select class="" name="pagerows" id="pagerows" style="width: 50px;margin-top:3px;">
  38. <option value="5" <c:if test="${page.pagerows==5}">selected</c:if>>5</option>
  39. <option value="10" <c:if test="${page.pagerows==10}">selected</c:if>>10</option>
  40. <option value="15" <c:if test="${page.pagerows==15}">selected</c:if>>15</option>
  41. </select>
  42. <div class="pageprev" style="margin-top:3px;">
  43. <a href="#" class="prev_all" id="pagefirst"></a>
  44. <a href="#" class="prev_one" id="pageprev"></a>
  45. </div>
  46. <div>
  47. 第&nbsp;<input type="text" id="currentpage" value="${page.currentpage }" name="currentpage" style="width: 40px;height:22px;margin-top:3px;"/>&nbsp;页 共${page.totalpages}页
  48. </div>
  49. <div class="pagenext" style="margin-top:3px;">
  50. <a class="next_one" href="#" id="pagenext"></a>
  51. <a class="next_all" href="#" id="pagelast"></a>
  52. </div>
  53. <div>
  54. <a class="refresh" id="refresh" style="margin-top:3px;"></a>
  55. </div>
  56. <div class="p-record" style="margin-top:3px;">当前显示<span>${page.datafrom}-${page.dataend}</span>条记录,共<span>${page.totalRows}</span>条记录</div>
  57. <input type="hidden" value="${page.totalpages}" id="pagetotal">
  58. </div>