|
|
|
@@ -236,7 +236,7 @@ |
|
|
|
{{end}} |
|
|
|
</td> |
|
|
|
<td><div class="dataset_nowrap_two_line">{{.DatasetDownloadLink}}</div></td> |
|
|
|
<td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-dataset" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{.DatasetDownloadLink}}">{{$.i18n.Tr "dataset.download_copy"}}</a></td> |
|
|
|
<td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-dataset-{{.DatasetName}}" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{.DatasetDownloadLink}}">{{$.i18n.Tr "dataset.download_copy"}}</a></td> |
|
|
|
</tr> |
|
|
|
{{end}} |
|
|
|
</tbody> |
|
|
|
@@ -260,7 +260,7 @@ |
|
|
|
{{end}} |
|
|
|
</td> |
|
|
|
<td><div class="dataset_nowrap_two_line">{{$.modelDownload.DownloadLink}}</div></td> |
|
|
|
<td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-dataset" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{$.modelDownload.DownloadLink}}">{{if $.modelDownload.DownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}</a></td> |
|
|
|
<td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn-model" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{$.modelDownload.DownloadLink}}">{{if $.modelDownload.DownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}</a></td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
@@ -309,8 +309,6 @@ |
|
|
|
$(document).ready(function () { |
|
|
|
$('.secondary.menu .item').tab(); |
|
|
|
}); |
|
|
|
console.log({{$.datasetDownload}}) |
|
|
|
|
|
|
|
;(function() { |
|
|
|
var SPEC = {{ .Spec }}; |
|
|
|
var showPoint = false; |
|
|
|
|