deleteindex.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <div class="panel">
  6. <div class="panel-body">
  7. <!--搜索面板-->
  8. <form class="js-search-form form-inline" method="get" action="{:url('deleteIndex')}">
  9. <div class="form-group">
  10. </div>
  11. <div class="form-group">
  12. <label class="control-label">{:lang('GAME_NAME')}</label>
  13. {$games_select}
  14. </div>
  15. <div class="form-group">
  16. {:filter_button()}
  17. {:filter_button_clear(url('deleteIndex'))}
  18. </div>
  19. </form>
  20. <form method="get" class="js-ajax-form" action="">
  21. <div class="table-actions" id="game_category-icons">
  22. <button class="btn btn-xs btn-primary js-ajax-submit"
  23. type="submit"
  24. data-action="{:url('resetPost')}">{:lang('RESTORE')}</button>
  25. </div>
  26. <table class="table table-hover table-bordered table-list treeTable" id="menus-table">
  27. <thead>
  28. <tr>
  29. <th width="10">
  30. <label>
  31. <input type="checkbox" class="js-check-all" data-direction="x"
  32. data-checklist="js-check-x">
  33. </label>
  34. </th>
  35. <th width="50">{:LANG('GAME_ID')}</th>
  36. <th width="50">{:lang('GAME_NAME')}</th>
  37. <th width="50">{:lang('CP_NAME')}</th>
  38. <th width="50">{:LANG('DELETE_TIME')}</th>
  39. <th width="100">{:lang('ACTIONS')}</th>
  40. </tr>
  41. </thead>
  42. <tbody>
  43. <foreach name="items" item="vo">
  44. <tr>
  45. <td>
  46. <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x"
  47. name="ids[]" value="{$vo.id}">
  48. </td>
  49. <td>{$vo.id}</td>
  50. <td class="text-left" style="text-indent: 10px;">
  51. <notempty name="vo['icon']">
  52. {:cmf\\view\\Index::img($vo['icon'])}
  53. </notempty>
  54. {$vo.name}
  55. <notempty name="vo['classify']">
  56. -{$classifies[$vo['classify']]}
  57. </notempty>
  58. </td>
  59. <td>
  60. <empty name="cps[$vo['cp_id']]">
  61. --
  62. <else/>
  63. {$cps[$vo['cp_id']]}
  64. </empty>
  65. </td>
  66. <td>{:view_time($vo.delete_time)}</td>
  67. <td>
  68. <div class="action-buttons">
  69. {:cmf\\view\\Index::link(url('resetPost',['id'=>$vo['id']]), lang('RESTORE'), 'undo', 'js-ajax-dialog-btn', lang('CONFIRM').lang('RESTORE').'?','','primary')}
  70. </div>
  71. </td>
  72. </tr>
  73. </if>
  74. </foreach>
  75. </if>
  76. </tbody>
  77. </table>
  78. <div class="pagination">{$page}</div>
  79. </form>
  80. </div>
  81. </div>
  82. </div>
  83. <include file="public@footer"/>