This commit is contained in:
BoHung Chiu 2021-03-23 18:24:41 +08:00
parent e31bc35d5c
commit c59a4026c2
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<div class="thead row">
<div class="col-sm-2 date-thead">上傳日期</div>
<div class="col-sm-3 title-thead">標題</div>
<div class="col-sm-3 description-thead" style="border-right: 0.05em solid #333;">{{description-head}}</div>
<div class="col-sm-3 description-thead">{{description-head}}</div>
<div class="col-sm-2 file-thead">檔案下載</div>
</div>
<div class="tbody">
@ -21,7 +21,7 @@
<span class="i-archive__status label status {{status-class}}">{{status}}</span>
</span>
</div>
<div class="description col-sm-3">{{description}}</div>
<div class="description col-sm-3" style="border-right: 0.05em solid #333;">{{description}}</div>
<div class="i-archive__file-list col-sm-2" data-list="files" data-level="2">
<a href="{{file-url}}" class="i-archive-files-item" target="_blank" data-toggle="tooltip" data-placement="bottom" title="{{file-name}}"><span class="label label-primary">{{file-type}}</span></a>
</div>
@ -39,4 +39,7 @@ if( window.location.href.indexOf('/en/') > -1 ) {
$('.title-thead').replaceWith('<div class="col-sm-7 title-thead-en">Title</div>')
$('.file-thead').replaceWith('<div class="col-sm-3 file-thead-en">Download file</div>')
}
$(".archive-items .date").each(function(i,d){
$(d).parent().eq(0).children().height($(d).parent().height());
})
</script>