| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?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="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>
- <th>操作</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php if(!empty($course)){ ?>
- <?php foreach($course as $key => $val){ ?>
- <tr>
- <td><input type="checkbox"></td>
- <td><?= $key+1 ?></td>
- <td><?= $val['courseName'] ?></td>
- <td><?php if(!empty($val['worksImg'])){ echo '<img src="'.Yii::$app->params['imgUrl'].$val['worksImg'].'" width="25" />'; } ?></td>
- <td><?= $val['praiseNum'] ?></td>
- <td>
- <?php if($val['status'] == 1){ ?>
- <a href="javascript:void(0)" style="color:#68b828;cursor:text" <i="" class="fa fa-check"></a>
- <?php } ?>
- </td>
- <td><?php if(!empty($val['attendTime'])){ echo date("Y-m-d",$val['attendTime']); } ?></td>
- <td>
- </td>
- </tr>
- <?php } }?>
- </tbody>
- </table>
- </div>
- <div class="row">
- <div>
-
- <div style="text-align:center;">
- <a href="javascript:void(0)" onclick="history.go(-1)" class="btn btn-secondary btn-single" style="margin:0 auto;">返回</a>
- </div>
- <!--
- <div style="display:inline-block;margin-left:15px;">
- <label><select name="example-1_length"
- aria-controls="example-1" class="form-control">
- <option value="0">批量操作</option>
- <option value="1">批量下架</option>
- <option value="2">批量删除</option>
- </select>
- </label>
- <input class="btn btn-secondary btn-single" type="submit" name="" value="确认" />
- </div>
- -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget()?>
- <!-- footer -->
|