listPage.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <%var cssPar = {%>
  2. <link href="${contextPath}/WebPages_170421/css/personal/list.css" rel="stylesheet" type="text/css">
  3. <%};%>
  4. <%var jsPar = {%>
  5. <script type="text/javascript" src="${contextPath}/WebPages_170421/js/personal/list.js"></script>
  6. <%};%>
  7. <%layout("/WebPages_170421/personalPages/commonPage/_layout.html", {nav:"",meunsel:"",jsParam:jsPar,cssParam:cssPar}) {%>
  8. <div class="container">
  9. <div class="conent">
  10. <span class="nin">您当前的位置:</span>
  11. <a href="/" class="yiji">首页</a>
  12. <span class="nin"> > </span>
  13. <a href="/toindex" class="yiji">个人中心</a>
  14. <span class="nin"> > </span>
  15. <a href="${contextPath}/onlineSurvey/getThemeList?pageNumber=1" class="yiji">网上调查管理</a>
  16. </div>
  17. </div>
  18. <div class="container" >
  19. <% include("/WebPages_170421/personalPages/commonPage/_navigation.html"){} %>
  20. <div class="Dlrt">
  21. <form action="/onlineSurvey/getThemeList" method="post" class="frmSs">
  22. <input type="hidden" name="pageNumber" value="1" />
  23. <span class="p1">查询用户编号:</span>
  24. <input type="text" class="p2" name="userid" placeholder="请输入用户编号">
  25. <span class="p1">查询主题说明:</span>
  26. <input type="text" class="p2" name="explains" placeholder="请输入主题说明">
  27. <input type="submit" class="p3" value="查询">
  28. <a href="${contextPath}/onlineSurvey/toeditTheme?pageNumber=${pageNumber!1}">
  29. <input type="button" class="p4" value="添加网上调查">
  30. </a>
  31. </form>
  32. <div class="table-fa">
  33. <table border="1" style="border-bottom:1px solid #cccccc; border-left:1px solid #f6f7f8; border-top:1px solid #f6f7f8; border-right:1px solid #cccccc;" width="915px" >
  34. <thead>
  35. <tr style="width: 910px; height: 40px; text-align: center; background: #e5f1f9">
  36. <th>序号</th>
  37. <th>主题说明</th>
  38. <th>可选择的选项数量</th>
  39. <th>目前状态</th>
  40. <th>状态操作</th>
  41. <th> 操 作 </th>
  42. </tr>
  43. </thead>
  44. <tbody id="t1">
  45. <%for(tempDate in dateList!){%>
  46. <tr style=" height: 40px;">
  47. <td>${tempDateLP.index}</td>
  48. <td><a href = ${contextPath}/onlineSurvey/getOptionsList4Theme?themeId=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>${tempDate.explains!''}</a></td>
  49. <td>${tempDate.selnum!''}</td>
  50. <td>
  51. <%if(tempDate.state == 0){%>
  52. <font color="blue">开启</font>
  53. <%}else if(tempDate.state == 1){%>
  54. <font color="green">未开启</font>
  55. <%}else if(tempDate.state == 2){%>
  56. <font color="red">结束</font>
  57. <%}%>
  58. </td>
  59. <td>
  60. <a href = ${contextPath}/onlineSurvey/editThemeState?id=${tempDate.id}&state=${state!0}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>开启</a>
  61. <a href = ${contextPath}/onlineSurvey/editThemeState?id=${tempDate.id}&state=${state!1}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>关闭</a>
  62. <a href = ${contextPath}/onlineSurvey/editThemeState?id=${tempDate.id}&state=${state!2}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>结束</a>
  63. </td>
  64. <td style="width:110px;">
  65. <a href="${contextPath}/onlineSurvey/viewTheme?id=${tempDate.id}">
  66. <div class="btn1" style="margin-left:12px;" title="详情">
  67. <i class="icon-folder-open-alt"></i>
  68. </div>
  69. </a>
  70. <a href="${contextPath}/onlineSurvey/toeditTheme?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}">
  71. <div class="btn1" title="编辑">
  72. <i class="icon-edit"></i>
  73. </div>
  74. </a>
  75. <a href="javascript:" onclick="del()">
  76. <div class="btn1 bgli" title="删除">
  77. <i class="icon-trash" ></i>
  78. </div>
  79. </a>
  80. </td>
  81. </tr>
  82. <div id="box">
  83. <p style="width: 200px; height:80px; line-height:80px; text-align: center;">确认删除吗?</p>
  84. <a href="${contextPath}/onlineSurvey/delTheme?id=${tempDate.id}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
  85. <input type="button" onclick="yes()" value="确定" class="delBtn">
  86. </a>
  87. <input type="button" onclick="no()" value="取消" class="delBtn m0" >
  88. </div>
  89. <%}elsefor{%>
  90. <tr>
  91. <td colspan="12">没有记录!</td>
  92. </tr>
  93. <%}%>
  94. </tbody>
  95. </table>
  96. <%include("/WebPages_170421/personalPages/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/onlineSurvey/getThemeList?pageNumber=", "urlParas": urlParas!''}){}%>
  97. </div>
  98. </div>
  99. </div>
  100. <%}%>