uuHelperGroupList.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <style>
  2. /*table表格*/
  3. .box-content .box-message{
  4. border-top: none;
  5. margin-top: 40px;
  6. }
  7. .box-content .box-message table thead tr{
  8. background: #f1f1f1;
  9. }
  10. .bodyUas .messageTitle{
  11. font-size: 18px;
  12. color: #000;
  13. padding-left: 30px;
  14. }
  15. .bodyUas .messageTime{
  16. font-size: 16px;
  17. color: #333;
  18. }
  19. .bodyUas .isOpenMessage{
  20. font-size: 16px;
  21. color: #333;
  22. }
  23. .bodyUas .handleMessage a.replay{
  24. margin-right: 20px;
  25. font-size: 16px;
  26. color: #0a44ff;
  27. }
  28. .box-content .box-message .table tbody.bodyUas tr {
  29. background-color: #fff;
  30. }
  31. .box-content .box-message .table tbody.bodyUas tr td{
  32. vertical-align: middle;
  33. height: 70px;
  34. }
  35. .content-wrapper{
  36. background-color: #fff!important;
  37. }
  38. </style>
  39. <!-- Main content -->
  40. <section class="content box-content">
  41. <div class="box box-message">
  42. <!-- /.box-header -->
  43. <div class="box-body">
  44. <form action="" method="POST" id="form">
  45. <input type="hidden" name="ucode" value="${ucode}">
  46. <table class="table table-striped" style="word-break:break-all">
  47. <thead>
  48. <tr>
  49. <th width="330" style="padding-left: 40px;">文章标题</th>
  50. <th width="260">时间</th>
  51. <th width="230">是否开启</th>
  52. <th width="200">操作</th>
  53. </tr>
  54. </thead>
  55. <tbody class="bodyUas">
  56. <@jp.contents module="uuhelper" orderBy="meta:push_time desc">
  57. <#list contents as content>
  58. <tr>
  59. <td class="messageTitle">${content.title!}</td>
  60. <td class="messageTime">
  61. ${(content.getMetadataByKey("push_time"))!}
  62. </td>
  63. <td class="isOpenMessage">
  64. <select id="commentStatus${content.id!}" onchange="changeCommentSataus(${content.id!})">
  65. <#if (content.comment_status)?? && "close" == content.comment_status >
  66. <option value="close" selected="selected">关闭</option>
  67. <#else>
  68. <option value="close">关闭</option>
  69. </#if>
  70. <#if (content.comment_status)?? && "open" == content.comment_status >
  71. <option value="open" selected="selected">开启</option>
  72. <#else>
  73. <option value="open">开启</option>
  74. </#if>
  75. </select>
  76. </td>
  77. <td class="handleMessage">
  78. <a class="replay" href="${CPATH}/admin/comment?t=comment&m=uuhelper&p=uuhelper&c=comment&way=detail">查看</a>
  79. </td>
  80. </tr>
  81. </#list>
  82. </@jp.contents>
  83. </tbody>
  84. </table>
  85. </form>
  86. </div>
  87. <!-- /.box-body -->
  88. </div>
  89. <div class="cf">
  90. <div class="pull-right " >
  91. <#if page??>
  92. <#include "../_inc/_paginate.html" />
  93. <@paginate currentPage=page.pageNumber totalPage=page.totalPage actionUrl="?p="+(p!)+"&c="+(c!)+"&m="+(m!)+"&t="+(t!)+"&s="+(s!)+"&k="+(k!)+"&tids="+(tids!)+"&page="/>
  94. </#if>
  95. </div>
  96. </div>
  97. <!-- /.row -->
  98. </section>