|
@@ -276,27 +276,32 @@ |
|
|
<!-- 数据集名称 --> |
|
|
<!-- 数据集名称 --> |
|
|
|
|
|
|
|
|
<div class="four wide column" style="width: 24% !important;display: flex;align-items: center;"> |
|
|
<div class="four wide column" style="width: 24% !important;display: flex;align-items: center;"> |
|
|
{{if .Description}} |
|
|
|
|
|
<el-tooltip class="item" effect="dark" placement="top" popper-class="diy-popper"> |
|
|
<el-tooltip class="item" effect="dark" placement="top" popper-class="diy-popper"> |
|
|
<div slot="content">{{.Description}}</br><span><i |
|
|
|
|
|
class="ri-download-line"></i>{{$.i18n.Tr "dataset.download"}}:{{.DownloadCount}}</span></div> |
|
|
|
|
|
<a class="dataset_title title" href="{{.DownloadURL}}" title="{{.Name}}" style="border: none;"> |
|
|
|
|
|
{{.Name}} |
|
|
|
|
|
</a> |
|
|
|
|
|
</el-tooltip> |
|
|
|
|
|
{{else}} |
|
|
|
|
|
<el-tooltip class="item" effect="dark" placement="top" popper-class="diy-popper"> |
|
|
|
|
|
<div slot="content"><span><i |
|
|
|
|
|
class="ri-download-line"></i>{{$.i18n.Tr "dataset.download"}}:{{.DownloadCount}}</span></div> |
|
|
|
|
|
<a class="dataset_title title" href="{{.DownloadURL}}" title="{{.Name}}" style="border: none;"> |
|
|
|
|
|
{{.Name}} |
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
<div slot="content"><span class="wrap"> |
|
|
|
|
|
|
|
|
|
|
|
{{$.i18n.Tr "dataset.unzip_status"}}:{{if eq .DecompressState 1}}{{$.i18n.Tr "dataset.unzip_successed"}}{{else if eq .DecompressState 0}}{{$.i18n.Tr "dataset.unzip_stared"}}{{else}}{{$.i18n.Tr "dataset.unzip_failed"}}{{end}} |
|
|
|
|
|
<i class="ri-download-line"></i>{{$.i18n.Tr "dataset.download"}}:{{.DownloadCount}} |
|
|
|
|
|
{{if .Description}} {{$.i18n.Tr "dataset.description"}}:{{.Description}}{{end}}</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div style="border: none;display: flex;align-items: center;max-width: 100%;"> |
|
|
|
|
|
{{.DecompressState}} |
|
|
|
|
|
{{if eq .DecompressState 1}} |
|
|
|
|
|
<i class="ri-folder-open-line" style="color: #5bb973;" |
|
|
|
|
|
title='{{$.i18n.Tr "dataset.unzip_successed"}}'></i> |
|
|
|
|
|
{{else if eq .DecompressState 0}} |
|
|
|
|
|
<i class="ri-folder-chart-2-line" style="color: #888888;" |
|
|
|
|
|
title='{{$.i18n.Tr "dataset.unzip_stared"}}'></i> |
|
|
|
|
|
{{else}} |
|
|
|
|
|
<i class="ri-folder-forbid-line" style="color: #101010;" |
|
|
|
|
|
title='{{$.i18n.Tr "dataset.unzip_failed"}}'></i> |
|
|
|
|
|
{{end}} |
|
|
|
|
|
<a class="dataset_title title" href="{{.DownloadURL}}" title="{{.Name}}"> |
|
|
|
|
|
{{.Name}} |
|
|
|
|
|
</a> |
|
|
|
|
|
<i class="ri-lock-2-line" style="color: #fa8c16;" v-if="privates[{{$k}}]"></i> |
|
|
|
|
|
</div> |
|
|
</el-tooltip> |
|
|
</el-tooltip> |
|
|
{{end}} |
|
|
|
|
|
<i class="ri-lock-2-line" style="color: #fa8c16;" v-if="privates[{{$k}}]"></i> |
|
|
|
|
|
<!-- <i class="COMPLETED" v-if="zipStatus[{{$k}}]==1"></i> |
|
|
|
|
|
<i class="WAITING" v-if="zipStatus[{{$k}}]==2"></i> |
|
|
|
|
|
<i class="FAILED" v-if="zipStatus[{{$k}}]==3"></i> --> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="one wide column text center" style="width: 7.25% !important;"> |
|
|
<div class="one wide column text center" style="width: 7.25% !important;"> |
|
|
{{.Size | FileSize}} |
|
|
{{.Size | FileSize}} |
|
|