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