| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <div class="builder listbuilder-box">
- <!-- Tab导航 -->
- <notempty name="tab_nav">
- <div class="builder-tabs">
- <div class="row">
- <div class="col-xs-12">
- <ul class="nav nav-tabs">
- <volist name="tab_nav.tab_list" id="tab">
- <li class="<php>if($tab_nav['current_tab'] == $key) echo 'active';</php>"><a href="{$tab.href}">{$tab.title}</a></li>
- </volist>
- </ul>
- </div>
- </div>
- </div>
- <div class="form-group"></div>
- </notempty>
- <!-- 顶部工具栏按钮 -->
- <div class="builder-toolbar">
- <div class="row">
- <!-- 工具栏按钮 -->
- <notempty name="top_button_list">
- <div class="col-xs-12 col-sm-8 button-list clearfix">
- <div class="form-group">
- <volist name="top_button_list" id="button">
- <a {$button.attribute}>{$button.title}</a>
- </volist>
- </div>
- </div>
- </notempty>
- <!-- 搜索框 -->
- <notempty name="search">
- <empty name="search_form_items">
- <div class="col-xs-12 col-sm-4 clearfix">
- <form class="form" method="get" action="{$search.url}">
- <div class="form-group">
- <div class="input-group search-form">
- <input type="text" name="keyword" class="search-input form-control" value="{$_GET.keyword}" placeholder="{$search.title}">
- <span class="input-group-btn"><a class="btn btn-default search-btn"><i class="fa fa-search"></i></a></span>
- </div>
- </div>
- </form>
- </div>
- </empty>
- </notempty>
- </div>
- </div>
- <!-- 数据列表 -->
- <div class="builder-container">
- <div class="row">
- <div class="col-xs-12">
- <div class="builder-table">
- <div class="panel panel-default table-responsive">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr>
- <th><input class="check-all" type="checkbox"></th>
- <volist name="table_column_list" id="column">
- <th>{$column.title|htmlspecialchars}</th>
- </volist>
- </tr>
- </thead>
- <tbody>
- <volist name="table_data_list" id="data">
- <tr>
- <td>
- <input class="ids" type="checkbox" value="{$data[$table_data_list_key]}" name="ids[]">
- </td>
- <?php foreach ($table_column_list as $column) :?>
- <td>
- <?php if ($column['name'] === 'right_button') : ?>
- <?php foreach ($data['right_button'] as $rb) : ?>
- <a {$rb['attribute']}>{$rb['title']}</a>
- <?php endforeach; ?>
- <?php else: ?>
- {$data[$column['name']]}
- <?php endif; ?>
- </td>
- <?php endforeach; ?>
- </tr>
- </volist>
- <empty name="table_data_list">
- <tr class="builder-data-empty">
- <php>$tdcolspan = count($table_column_list)+1</php>
- <td class="text-center empty-info" colspan="{$tdcolspan}">
- <i class="fa fa-database"></i> 暂时没有数据<br>
-
- </td>
- </tr>
- </empty>
- </tbody>
- </table>
- </div>
- <notempty name="table_data_page">
- <ul class="pagination">{$table_data_page}</ul>
- </notempty>
- </div>
- </div>
- </div>
- </div>
- <!-- 额外功能代码 -->
- {$extra_html}
- </div>
|