表格div轉th
This commit is contained in:
parent
86926da612
commit
ba2592ff9d
|
@ -4,34 +4,35 @@
|
|||
</h3>
|
||||
<div class="i-archive__list list-unstyled" id="index-archive-group" data-list="categories" data-level="0">
|
||||
<h4 class="i-archive__category-title">{{category-title}}</h4>
|
||||
<div class="i-items">
|
||||
<div class="thead row">
|
||||
<div class="col-sm-2 date-thead">{{date-head}}</div>
|
||||
<div class="col-sm-4 title-thead">{{title-head}}</div>
|
||||
<div class="col-sm-3 description-thead">{{description-head}}</div>
|
||||
<div class="col-sm-3 file-thead">{{file-head}}</div>
|
||||
</div>
|
||||
<div class="tbody">
|
||||
<div class="i-archive__category-list list-unstyled" data-list="archives" data-level="1">
|
||||
<div class="archive-items clearfix">
|
||||
<div class="date col-sm-2">{{created_at}}</div>
|
||||
<div class="head col-sm-4">
|
||||
{{archive-title}}
|
||||
<table class="i-items table table-bordered">
|
||||
<thead class="thead row">
|
||||
<tr>
|
||||
<th class="col-sm-2">{{date-head}}</th>
|
||||
<th class="col-sm-4">{{title-head}}</th>
|
||||
<th class="col-sm-3">{{description-head}}</th>
|
||||
<th class="col-sm-3">{{file-head}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="tbody i-archive__category-list" data-list="archives" data-level="1">
|
||||
<tr class="archive-items">
|
||||
<td class="date col-sm-2">{{created_at}}</td>
|
||||
<td class="head col-sm-4">{{archive-title}}</td>
|
||||
|
||||
<span class="i-archive__status-wrap" data-list="statuses" data-level="2">
|
||||
<span class="i-archive__status label status {{status-class}}">{{status}}</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="description col-sm-3" style="border-right: 0.05em solid #333;">{{description}}</div>
|
||||
<div class="i-archive__file-list col-sm-3" data-list="files" data-level="2">
|
||||
</td>
|
||||
<td class="description col-sm-3" style="border-right: 0.05em solid #333;">{{description}}</td>
|
||||
<td class="i-archive__file-list col-sm-3" data-list="files" data-level="2">
|
||||
<a href="{{file-url}}" class="i-archive-files-item" target="{{target}}" data-toggle="tooltip" data-placement="bottom" title="{{file-name}}"><span class="label label-primary {{file-type}}">{{file-type}}</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</div>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
|
Loading…
Reference in New Issue