|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
{{template "base/head" .}} |
|
|
|
<!-- 提示框 --> |
|
|
|
<script src="{{StaticUrlPrefix}}/js/specsuse.js?v={{MD5 AppVer}}" type="text/javascript"></script> |
|
|
|
<div class="alert"></div> |
|
|
|
<div class="explore users"> |
|
|
|
<div class="cloudbrain_debug" style="display: none;" data-debug="{{$.i18n.Tr "repo.debug"}}" |
|
|
|
@@ -159,11 +160,17 @@ |
|
|
|
</div> |
|
|
|
<!-- XPU类型 --> |
|
|
|
<div class="one wide column text center nowrap" style="width:10% !important;"> |
|
|
|
<span style="font-size: 12px;" title="{{.CardType}}"> |
|
|
|
{{if .CardType}}{{.CardType}}{{else}}--{{end}} |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<span style="font-size: 12px;" title="" class="card_type_{{.DisplayJobName}}_{{$JobID}}"></span> |
|
|
|
</div> |
|
|
|
<script> |
|
|
|
(function(){ |
|
|
|
var spec = {{.Spec}} || {}; |
|
|
|
var cardType = getListValueWithKey(ACC_CARD_TYPE, spec.AccCardType) || '--'; |
|
|
|
var spanEl = document.querySelector('.card_type_{{.DisplayJobName}}_{{$JobID}}'); |
|
|
|
spanEl.setAttribute('title', cardType); |
|
|
|
spanEl.innerText = cardType; |
|
|
|
})(); |
|
|
|
</script> |
|
|
|
<!-- 项目 --> |
|
|
|
<div class="two wide column text center nowrap" style="width: 11%!important;"> |
|
|
|
<a href="{{AppSubUrl}}/{{.Repo.OwnerName}}/{{.Repo.Name}}" |
|
|
|
|