signs.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="{:url('setting/signs')}">签到设置列表</a></li>
  7. </ul>
  8. <form class="js-ajax-form" method="post">
  9. <div class="table-actions">
  10. </div>
  11. <table class="table table-hover table-bordered table-list">
  12. <thead>
  13. <tr>
  14. <th width="16">
  15. <label>
  16. <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
  17. </label>
  18. </th>
  19. <th >ID</th>
  20. <th>名称</th>
  21. <th>天数值</th>
  22. <th>赠送爱心</th>
  23. <th >时间</th>
  24. <th >状态</th>
  25. <th >备注</th>
  26. <th width="80">操作</th>
  27. </tr>
  28. </thead>
  29. <foreach name="list" item="vo">
  30. <tr>
  31. <td>
  32. <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
  33. value="{$vo.id}">
  34. </td>
  35. <td>{$vo.id}</td>
  36. <td>{$vo.name}</td>
  37. <td>{$vo.day}</td>
  38. <td>{$vo.give_num}</td>
  39. <td>{$vo.updated_at}</td>
  40. <td>
  41. <switch name="vo.status">
  42. <case value="1">
  43. <span style="color:green">开启</span>
  44. </case>
  45. <case value="2">
  46. <span style="color:red">关闭</span>
  47. </case>
  48. </switch>
  49. </td>
  50. <td>{$vo['remark']}</td>
  51. <td>
  52. <a class="btn btn-xs btn-primary" href="{:url('setting/signSet',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
  53. </td>
  54. </tr>
  55. </foreach>
  56. </table>
  57. <div class="pagination">{$page}</div>
  58. </form>
  59. </div>
  60. <script type="text/javascript" src="__STATIC__/js/admin.js"></script>
  61. </body>
  62. </html>