# jankztable.html
> v1.0
~~~
<extend name="./Apps/JankzMaker/View/Public/main.html" />
<block name="metatitle">
<title>{{$meta_title}}</title>
</block>
<block name="my_css"></block>
<block name="main">
<div class="ui bottom attached segment">
<div class="ui fluid grid">
<div class="six wide column ">
<div class="ui mini buttons">
<notempty name="topbtns">
<volist name ="topbtns" id="topbtns">
<a href="{{$topbtns.second.href}}" class="ui compact button {{$topbtns.second.btn_class}}"> <i class="icon {{$topbtns.second.i_class}}"></i>
{{$topbtns.second.name}}
</a>
</volist>
</notempty>
</div>
</div>
<div class="ten wide column">
<div class="ui form">
<div class="fields">
<div class="field">
<div class="ui mini icon input">
<input id="start" placeholder="点击选择开始日期"> <i class="calendar icon"></i>
</div>
</div>
<div class="field">
<div class="ui mini icon input">
<input id="end" placeholder="点击选择开始日期">
<i class="calendar icon"></i>
</div>
</div>
<div class="field">
<div class="ui mini search">
<div class="ui icon input aligned right">
<input class="prompt" type="text" placeholder="Search ...">
<i class="search icon"></i>
</div>
<div class="results"></div>
</div>
</div>
</div>
</div>
</div>
<div class=""></div>
</div>
<table class="ui teal very compact table">
<notempty name="thead">
<thead>
<tr>
<th>
<input class="check-all" type="checkbox"></th>
<volist name="thead" id="thead" >
<th>{{$thead.name}}</th>
</volist>
<notempty name="rightbtns">
<th>操作</th>
</notempty>
</tr>
</thead>
</notempty>
<notempty name="tbody">
<tbody>
<volist name ="tbody" id="tbody">
<tr>
<td>
<input class="ids" type="checkbox" value="{{$tbody[$main_key]}}" name="ids[]"></td>
<volist name ="tbody_list" id="list">
<td>{{$tbody[$list['name']]}}</td>
</volist>
<notempty name="tbody.rightbtns">
<td>
<div class="ui mini buttons">
<volist name ="tbody.rightbtns" id="rightbtns">
<a href="{{$rightbtns.href}}" class="ui icon button compact basic {{$rightbtns.btn_class}}">
<i class="icon {{$rightbtns.i_class}}"></i>
</a>
</volist>
</div>
</td>
</notempty>
</tr>
</volist>
</tbody>
</notempty>
</table>
<notempty name="page_list">
<div id="page_list">
<input type="hidden" id="pages" value="{{$page_list}}"></div>
</notempty>
</div>
</block>
<block name="my_js">
<script src="__PUBLIC__/Common/laypage-v1.3/laypage/laypage.js"></script>
<script type="text/javascript">
laypage({
cont: 'page_list',
pages:$("#pages").val(),
skip: true, //是否开启跳页
skin: 'molv',
curr: function(){ //通过url获取当前页,也可以同上(pages)方式获取
var page = location.search.match(/page=(\d+)/);
return page ? page[1] : 1;
}(),
jump: function(e, first){ //触发分页后的回调
if(!first){ //一定要加此判断,否则初始时会无限刷新
location.href = '?page='+e.curr;
}
}
});
</script>
</block>
~~~
- 序言
- 基础
- 简介
- 获得Jzopen
- 安装
- 配置
- 系统默认配置参考
- 新增配置项
- 数据库
- 预览
- Auth认证
- Session
- User
- Menu
- Manager
- Group
- Role
- 系统结构
- jankzMaker
- V1.0
- MakerTable
- MakerForm
- v1.1
- FormMaker
- 重装系统
- jankzForm
- jankzform-v1.0
- jankzform.html
- jankzform-v1.1
- jankzTable
- jankztable-v1.0
- jankztable.html
- jankzPage
- jankzpage-v1.0
- jankzpage.html
- elementary
- form
- text
- password
- select
- radio
- checkbox
- btn
- btns
- textarea
- hidden
- image
- editor
- toggle
- label
- labels
- rating
- slider
- sliders
- divider
- icon-divider
- pages
- table
- 二次开发
- jzopen后台
- 精简系统
- 插件开发
- 官方插件
- 第三方插件
- 独有专享插件
- 户主开发插件
- 云商店
- 云商店下载插件
- 插件上传
- 在线升级
- 检查升级
- 升级常见问题
- 部署
- 推荐配置
- 阿里云ECS部署
- 新浪Sae部署