| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- use backend\widgets\TabWidget;
- echo TabWidget::widget(['list' => $this->context->menuList, 'currentMenu' => $this->context->id]);
- ?>
- <div class="panel panel-default">
- <?php
- use backend\widgets\SubTabWidget;
- echo SubTabWidget::widget(['list' => $this->context->subMenuList, 'currentMenu' => $this->context->action->id]);
- ?>
- <div class="panel-body">
- <div class="dataTables_wrapper form-inline dt-bootstrap no-footer">
- <div class="row">
- <form action="" method="GET">
- <div class="col-xs-6" style="width:90%;">
- <div class="dataTables_length">
- <label>昵称/手机号:<input type="search" value="<?php if (isset($_GET['content'])) {
- echo $_GET['content'];
- } ?>" class="form-control" name="content" placeholder=""></label>
- <input class="btn btn-secondary btn-single" type="submit" name="" value="搜索"/>
- </div>
- </div>
- </form>
- </div>
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover table-condensed">
- <thead>
- <tr class="active">
- <th class="no-sorting hidden-xs"><input name="selectAll" type="checkbox"></th>
- <th class="hidden-xs">ID</th>
- <th class="hidden-xs">头像</th>
- <th>来源 昵称</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php foreach ($models as $key => $val) { ?>
- <tr>
- <td class="hidden-xs"><input name="uId" value="<?= $val->id ?>" type="checkbox"></td>
- <td class="hidden-xs"><?= $val->id ?></td>
- <td class="hidden-xs"></td>
- <td class="hidden-xs"><?= $val->xhUser->userName ?></td>
- <td class="hidden-xs"></td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- </div>
- <div class="row">
- <div>
- <div class="dataTables_paginate paging_simple_numbers"
- style="float:right;padding-top:0px;margin-right:15px;">
- <?= $pages ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget() ?>
- <!-- footer -->
|