index.html 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <div class="panel panel-default panel-intro">
  2. {:build_heading()}
  3. <div class="panel-body">
  4. <div id="myTabContent" class="tab-content">
  5. <div class="tab-pane fade active in" id="one">
  6. <div class="widget-body no-padding">
  7. <div id="toolbar" class="toolbar">
  8. {:build_toolbar('refresh')}
  9. </div>
  10. <table id="table" class="table table-striped table-bordered table-hover"
  11. data-operate-edit="{:$auth->check('auth/admin/edit')}"
  12. data-operate-del="{:$auth->check('auth/admin/del')}"
  13. width="100%">
  14. </table>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. </div>
  20. <script id="customformtpl" type="text/html">
  21. <!--form表单必须添加form-commsearch这个类-->
  22. <form action="" class="form-commonsearch">
  23. <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
  24. <h4>搜索表单</h4>
  25. <hr>
  26. <div class="row">
  27. <!--<div class="col-xs-12 col-sm-6 col-md-3">
  28. <div class="form-group">
  29. <label class="control-label">ID</label>
  30. &lt;!&ndash;显式的operate操作符&ndash;&gt;
  31. <div class="input-group">
  32. <div class="input-group-btn">
  33. <select class="form-control operate" data-name="id" style="width:60px;">
  34. <option value="=" selected>等于</option>
  35. &lt;!&ndash; <option value=">">大于</option>&ndash;&gt;
  36. &lt;!&ndash; <option value="<">小于</option>&ndash;&gt;
  37. </select>
  38. </div>
  39. <input class="form-control" type="text" name="id" placeholder="" value=""/>
  40. </div>
  41. </div>
  42. </div>-->
  43. <div class="col-xs-12 col-sm-6 col-md-3">
  44. <div class="form-group">
  45. <label class="control-label">统计时间</label>
  46. <input type="hidden" class="operate" data-name="time" value="RANGE"/>
  47. <div>
  48. <input type="text" class="form-control datetimerange" name="time" value=""/>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="col-xs-12 col-sm-6 col-md-3">
  53. <div class="form-group">
  54. <label class="control-label"></label>
  55. <div class="row">
  56. <div class="col-xs-6">
  57. <input type="submit" class="btn btn-success btn-block" value="提交"/>
  58. </div>
  59. <div class="col-xs-6">
  60. <input type="reset" class="btn btn-primary btn-block" value="重置"/>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </form>
  68. </script>