optionsListPage.html 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. <a href="${contextPath}/onlineSurvey/toeditOptions?themeId=${themeId}&pageNumber=${pageNumber!1}">
  22. <input type="button" class="p4" value="添加主题选项">
  23. </a>
  24. <div class="table-fa">
  25. <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" >
  26. <thead>
  27. <tr style="width: 910px; height: 40px; text-align: center; background: #e5f1f9">
  28. <th>序号</th>
  29. <th>选项说明</th>
  30. <th>目前状态</th>
  31. <th>状态操作</th>
  32. <th> 操 作 </th>
  33. </tr>
  34. </thead>
  35. <tbody id="t1">
  36. <%for(tempDate in dateList!){%>
  37. <tr style=" height: 40px;">
  38. <td>${tempDateLP.index}</td>
  39. <td>${tempDate.explains!''}</td>
  40. <td>
  41. <%if(tempDate.state == 0){%>
  42. <font color="blue">开启</font>
  43. <%}else if(tempDate.state == 1){%>
  44. <font color="green">未开启</font>
  45. <%}else if(tempDate.state == 2){%>
  46. <font color="red">结束</font>
  47. <%}%>
  48. </td>
  49. <td>
  50. <a href = ${contextPath}/onlineSurvey/editThemeOptionsState?id=${tempDate.id}&themeId=${themeId}&state=${state!0}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>开启</a>
  51. <a href = ${contextPath}/onlineSurvey/editThemeOptionsState?id=${tempDate.id}&themeId=${themeId}&state=${state!1}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>关闭</a>
  52. <a href = ${contextPath}/onlineSurvey/editThemeOptionsState?id=${tempDate.id}&themeId=${themeId}&state=${state!2}&pageNumber=${pageNumber!1}&urlParas=${urlParas!''}>结束</a>
  53. </td>
  54. <td style="width:110px;">
  55. <a href="${contextPath}/onlineSurvey/viewThemeOptions?id=${tempDate.id}">
  56. <div class="btn1" style="margin-left:12px;" title="详情">
  57. <i class="icon-folder-open-alt"></i>
  58. </div>
  59. </a>
  60. <a href="${contextPath}/onlineSurvey/toeditOptions?id=${tempDate.id}&themeId=${themeId}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
  61. <div class="btn1" title="编辑">
  62. <i class="icon-edit"></i>
  63. </div>
  64. </a>
  65. <a href="javascript:" onclick="del()">
  66. <div class="btn1 bgli" title="删除">
  67. <i class="icon-trash" ></i>
  68. </div>
  69. </a>
  70. </td>
  71. </tr>
  72. <div id="box">
  73. <p style="width: 200px; height:80px; line-height:80px; text-align: center;">确认删除吗?</p>
  74. <a href="${contextPath}/onlineSurvey/delOptions?id=${tempDate.id}&themeId=${themeId}&pageNumber=${pageNumber!1}&urlParas=${urlParas!}">
  75. <input type="button" onclick="yes()" value="确定" class="delBtn">
  76. </a>
  77. <input type="button" onclick="no()" value="取消" class="delBtn m0" >
  78. </div>
  79. <%}elsefor{%>
  80. <tr>
  81. <td colspan="12">没有记录!</td>
  82. </tr>
  83. <%}%>
  84. </tbody>
  85. </table>
  86. </div>
  87. </div>
  88. </div>
  89. <%}%>