Sha256: 471abec9c0cc81ddeae37e9a141418d4f2dab950a36bca45df58455b2a4651a5
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
<table class="layui-hide" id="coursesTable" lay-filter="courses_filter"></table> <script type="text/html" id="courses_bar"> <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">编辑</a> <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a> </script> <script> layui.use('element', function () { var element = layui.element; }); layui.use(['table', 'element'], function () { var $ = layui.jquery, form = layui.form, table = layui.table, element = layui.element, miniPage = layui.miniPage; table.render({ elem: '#coursesTable', defaultToolbar: [], cols: [ [ { field: 'id', title: '序号' }, { field: 'username', title: '课程名称' }, { field: 'zhi', title: '教学角色', }, { title: '操作', toolbar: '#courses_bar', align: "center" } ] ], data: [{ "id": "1", "username": "大数据导论", "zhi": "主讲教师", }], // limits: [10, 15, 20, 25, 50, 100], // limit: 15, // page: true, skin: 'line' }); }); </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
educode_sales-0.1.1 | app/views/educode_sales/teachers/add_courses.html.erb |
educode_sales-0.1.0 | app/views/educode_sales/teachers/add_courses.html.erb |