1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <include file="public@header" />
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="{:url('Menu/index')}">后台菜单</a></li>
- <li><a href="{:url('Menu/add')}">添加菜单</a></li>
- <li><a href="{:url('Menu/lists')}">所有菜单</a></li>
- </ul>
- <form class="js-ajax-form" action="{:url('Menu/listOrder')}" method="post">
- <div class="table-actions">
- <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
- </div>
- <table class="table table-hover table-bordered table-list" id="menus-table">
- <thead>
- <tr>
- <th width="80">{:lang('SORT')}</th>
- <th width="50">ID</th>
- <th>{:lang('NAME')}</th>
- <th>操作</th>
- <th width="80">{:lang('STATUS')}</th>
- <th width="180">{:lang('ACTIONS')}</th>
- </tr>
- </thead>
- <tbody>
- {$category}
- </tbody>
- <tfoot>
- <tr>
- <th width="80">{:lang('SORT')}</th>
- <th width="50">ID</th>
- <th>{:lang('NAME')}</th>
- <th>操作</th>
- <th width="80">{:lang('STATUS')}</th>
- <th width="180">{:lang('ACTIONS')}</th>
- </tr>
- </tfoot>
- </table>
- <div class="table-actions">
- <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">{:lang('SORT')}</button>
- </div>
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- <script>
- $(document).ready(function() {
- Wind.css('treeTable');
- Wind.use('treeTable', function() {
- $("#menus-table").treeTable({
- indent : 20
- });
- });
- });
- </script>
- </body>
- </html>
|