504af99bebe852a2116ed7a2ab550c8d.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:85:"/www/wwwroot/baoxian/public/../application/admin/view/example/customsearch/index.html";i:1632404312;s:63:"/www/wwwroot/baoxian/application/admin/view/layout/default.html";i:1627698986;s:60:"/www/wwwroot/baoxian/application/admin/view/common/meta.html";i:1627698986;s:62:"/www/wwwroot/baoxian/application/admin/view/common/script.html";i:1627698986;}*/ ?>
  2. <!DOCTYPE html>
  3. <html lang="<?php echo $config['language']; ?>">
  4. <head>
  5. <meta charset="utf-8">
  6. <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  8. <meta name="renderer" content="webkit">
  9. <meta name="referrer" content="never">
  10. <meta name="robots" content="noindex, nofollow">
  11. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  12. <!-- Loading Bootstrap -->
  13. <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  14. <?php if(\think\Config::get('fastadmin.adminskin')): ?>
  15. <link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  16. <?php endif; ?>
  17. <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
  18. <!--[if lt IE 9]>
  19. <script src="/assets/js/html5shiv.js"></script>
  20. <script src="/assets/js/respond.min.js"></script>
  21. <![endif]-->
  22. <script type="text/javascript">
  23. var require = {
  24. config: <?php echo json_encode($config); ?>
  25. };
  26. </script>
  27. </head>
  28. <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
  29. <div id="main" role="main">
  30. <div class="tab-content tab-addtabs">
  31. <div id="content">
  32. <div class="row">
  33. <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
  34. <section class="content-header hide">
  35. <h1>
  36. <?php echo __('Dashboard'); ?>
  37. <small><?php echo __('Control panel'); ?></small>
  38. </h1>
  39. </section>
  40. <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
  41. <!-- RIBBON -->
  42. <div id="ribbon">
  43. <ol class="breadcrumb pull-left">
  44. <?php if($auth->check('dashboard')): ?>
  45. <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
  46. <?php endif; ?>
  47. </ol>
  48. <ol class="breadcrumb pull-right">
  49. <?php foreach($breadcrumb as $vo): ?>
  50. <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
  51. <?php endforeach; ?>
  52. </ol>
  53. </div>
  54. <!-- END RIBBON -->
  55. <?php endif; ?>
  56. <div class="content">
  57. <div class="panel panel-default panel-intro">
  58. <?php echo build_heading(); ?>
  59. <div class="panel-body">
  60. <div id="myTabContent" class="tab-content">
  61. <div class="tab-pane fade active in" id="one">
  62. <div class="widget-body no-padding">
  63. <div id="toolbar" class="toolbar">
  64. <?php echo build_toolbar('refresh'); ?>
  65. </div>
  66. <table id="table" class="table table-striped table-bordered table-hover" width="100%">
  67. </table>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. <script id="customformtpl" type="text/html">
  74. <!--form表单必须添加form-commsearch这个类-->
  75. <form action="" class="form-commonsearch">
  76. <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
  77. <h4>自定义搜索表单</h4>
  78. <hr>
  79. <div class="row">
  80. <div class="col-xs-12 col-sm-6 col-md-3">
  81. <div class="form-group">
  82. <label class="control-label">ID</label>
  83. <!--显式的operate操作符-->
  84. <div class="input-group">
  85. <div class="input-group-btn">
  86. <select class="form-control operate" data-name="id" style="width:60px;">
  87. <option value="=" selected>等于</option>
  88. <option value=">">大于</option>
  89. <option value="<">小于</option>
  90. </select>
  91. </div>
  92. <input class="form-control" type="text" name="id" placeholder="" value=""/>
  93. </div>
  94. </div>
  95. </div>
  96. <div class="col-xs-12 col-sm-6 col-md-3">
  97. <div class="form-group">
  98. <label class="control-label">标题</label>
  99. <!--隐式的operate操作符,必须携带一个class为operate隐藏的文本框,且它的data-name="字段",值为操作符-->
  100. <input class="operate" type="hidden" data-name="title" value="="/>
  101. <div>
  102. <input class="form-control" type="text" name="title" placeholder="请输入查找的标题" value=""/>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="col-xs-12 col-sm-6 col-md-3">
  107. <div class="form-group">
  108. <label class="control-label">管理员ID</label>
  109. <div class="row" data-toggle="cxselect" data-selects="group,admin">
  110. <div class="col-xs-6">
  111. <select class="group form-control" name="group"
  112. data-url="example/bootstraptable/cxselect?type=group"></select>
  113. </div>
  114. <div class="col-xs-6">
  115. <select class="admin form-control" name="admin_id"
  116. data-url="example/bootstraptable/cxselect?type=admin"
  117. data-query-name="group_id"></select>
  118. </div>
  119. <input type="hidden" class="operate" data-name="admin_id" value="="/>
  120. </div>
  121. </div>
  122. </div>
  123. <div class="col-xs-12 col-sm-6 col-md-3">
  124. <div class="form-group">
  125. <label class="control-label">用户名</label>
  126. <input type="hidden" class="operate" data-name="username" value="="/>
  127. <div>
  128. <input id="c-category_id" data-source="auth/admin/index" data-primary-key="username"
  129. data-field="username" class="form-control selectpage" name="username" type="text"
  130. value="" style="display:block;">
  131. </div>
  132. </div>
  133. </div>
  134. <div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
  135. <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
  136. <div class="form-group">
  137. <label class="control-label">IP</label>
  138. <input type="hidden" class="operate" data-name="ip" value="in"/>
  139. <div>
  140. <!--给select一个固定的高度-->
  141. <!--@formatter:off-->
  142. <select id="c-flag" class="form-control selectpicker" multiple name="ip" style="height:31px;">
  143. <?php if(is_array($ipList) || $ipList instanceof \think\Collection || $ipList instanceof \think\Paginator): if( count($ipList)==0 ) : echo "" ;else: foreach($ipList as $key=>$vo): ?>
  144. <option value="<?php echo $key; ?>" <?php if(in_array(($key), explode(',',""))): ?>selected<?php endif; ?>><?php echo $vo; ?></option>
  145. <?php endforeach; endif; else: echo "" ;endif; ?>
  146. </select>
  147. <!--@formatter:on-->
  148. </div>
  149. </div>
  150. </div>
  151. <div class="col-xs-12 col-sm-6 col-md-3">
  152. <div class="form-group">
  153. <label class="control-label">创建时间</label>
  154. <input type="hidden" class="operate" data-name="createtime" value="RANGE"/>
  155. <div>
  156. <input type="text" class="form-control datetimerange" name="createtime" value=""/>
  157. </div>
  158. </div>
  159. </div>
  160. <div class="col-xs-12 col-sm-6 col-md-3">
  161. <div class="form-group">
  162. <label class="control-label"></label>
  163. <div class="row">
  164. <div class="col-xs-6">
  165. <input type="submit" class="btn btn-success btn-block" value="提交"/>
  166. </div>
  167. <div class="col-xs-6">
  168. <input type="reset" class="btn btn-primary btn-block" value="重置"/>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </form>
  176. </script>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
  184. </body>
  185. </html>