| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- use yii\widgets\LinkPager;
- ?>
- <div class="page-title">
- <div class="title-env">
- <h1 class="title">培训课程</h1>
- </div>
- <div class="breadcrumb-env">
- <ol class="breadcrumb bc-1">
- <li>
- <a href="/"><i class="fa-home"></i>Home</a>
- </li>
- <li>
- <a href="javascript:void(0)">花艺培训</a>
- </li>
- <li class="active">
- <strong>培训课程</strong>
- </li>
- </ol>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-body">
- <div id="example-2_wrapper" 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">
- <a href="/class/add" class="btn btn-secondary btn-single" style="margin-right:15px;">新建培训班</a>
- </div>
- </div>
- </form>
- </div>
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr class="active">
- <th class="no-sorting"><input type="checkbox"></th>
- <th>ID</th>
- <th>课程名</th>
- <th>学费</th>
- <th>节课</th>
- <th>创建时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php if(!empty($models)){
- foreach($models as $key => $val){
- ?>
- <tr>
- <td><input type="checkbox"></td>
- <td><?= $val->id ?></td>
- <td><a href="/class/update?id=<?= $val->id ?>"><?= $val->name ?></a></td>
- <td><?= $val->tuition ?></td>
- <td><?= $val->lesson ?></td>
- <td><?= $val->createTime ?></td>
- <td>
- <!--
- <a href="/class/update?id=<?= $val->id ?>" class="btn btn-secondary btn-sm btn-icon icon-left">修改</a>
- -->
- </td>
- </tr>
- <?php } } ?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget()?>
- <!-- footer -->
|