| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <include file="public@header"/>
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="{:url('setting/signs')}">签到设置列表</a></li>
- </ul>
- <form class="js-ajax-form" method="post">
- <div class="table-actions">
- </div>
- <table class="table table-hover table-bordered table-list">
- <thead>
- <tr>
- <th width="16">
- <label>
- <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
- </label>
- </th>
- <th >ID</th>
- <th>名称</th>
- <th>天数值</th>
- <th>赠送爱心</th>
- <th >时间</th>
- <th >状态</th>
- <th >备注</th>
- <th width="80">操作</th>
- </tr>
- </thead>
- <foreach name="list" item="vo">
- <tr>
- <td>
- <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
- value="{$vo.id}">
- </td>
- <td>{$vo.id}</td>
- <td>{$vo.name}</td>
- <td>{$vo.day}</td>
- <td>{$vo.give_num}</td>
- <td>{$vo.updated_at}</td>
- <td>
- <switch name="vo.status">
- <case value="1">
- <span style="color:green">开启</span>
- </case>
- <case value="2">
- <span style="color:red">关闭</span>
- </case>
- </switch>
- </td>
- <td>{$vo['remark']}</td>
- <td>
- <a class="btn btn-xs btn-primary" href="{:url('setting/signSet',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
- </td>
- </tr>
- </foreach>
- </table>
- <div class="pagination">{$page}</div>
- </form>
- </div>
- <script type="text/javascript" src="__STATIC__/js/admin.js"></script>
- </body>
- </html>
|