<div class="content_wrapper">

    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <aside>
                    <section>
                        <div class="container-fluid">
                            <button type="button" class="btn btn-success goback">返回</button>
                        </div>
                    </section>
                </aside>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12">
                <aside>
                    <header><i class="fa fa-fw fa-file"></i>热更新备注</header>
                    <section>
                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-sm-12">
                                    <div class="table-responsive">
                                        <table id="example" class="table table-striped table-bordered table-hover" cellspacing="0" width="100%">
                                            <thead>
                                            <tr>
                                                <th>版本</th>
                                                <th>设备</th>
                                                <th>内容</th>
                                                <th>操作人</th>
                                                <th>操作时间</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <?php 
                                                if($list){
                                                foreach($list as $k => $v) { 
                                            ?>
                                            <tr>
                                                <td><?php echo $v['version_name'];?></td>
                                                <td><?php echo $v['version_device'] == 1 ? '安卓':'苹果';?></td>
                                                <td><?php echo $v['remark'];?></td>
                                                <td><?php echo $v['remark_name']?></td>
                                                <td><?php echo date('Y-m-d H:i:s', $v['remark_time']);?></td>
                                            </tr>
                                            <?php } } else{?>
                                            <tr><td colspan="5">暂无记录</td></tr>
                                            <?php } ?>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                </aside>
            </div>
        </div>
    </div>

</div>
<script type="text/javascript">
    $(".goback").click(function(){
        window.history.go(-1);
    });
</script>