| @@ -2,6 +2,12 @@ | |||||
| {{template "base/head" .}} | {{template "base/head" .}} | ||||
| <style> | <style> | ||||
| .selectcloudbrain .active.item{ | |||||
| + color: #0087f5 !important; | |||||
| + border: 1px solid #0087f5; | |||||
| + margin: -1px; | |||||
| + background: #FFF !important; | |||||
| + } | |||||
| #deletemodel { | #deletemodel { | ||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| @@ -210,8 +216,11 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <!-- 中间分割线 --> | |||||
| <div class="ui divider"></div> | |||||
| <p>使用鹏城云脑计算资源进行调试,云脑1提供CPU / GPU资源,云脑2提供Ascend NPU资源;调试使用的数据集也需要上传到对应的环境。</p> | |||||
| <div class="ui blue mini menu selectcloudbrain"> | |||||
| <a class="active item" href="{{.RepoLink}}/cloudbrain">{{svg "octicon-server" 16}} CPU / GPU</a> | |||||
| <a class="item" href="{{.RepoLink}}/modelarts">{{svg "octicon-server" 16}} Ascend NPU</a> | |||||
| </div> | |||||
| <!-- 中下列表展示区 --> | <!-- 中下列表展示区 --> | ||||
| <div class="ui grid"> | <div class="ui grid"> | ||||
| @@ -1,4 +1,12 @@ | |||||
| {{template "base/head" .}} | {{template "base/head" .}} | ||||
| <style> | |||||
| .selectcloudbrain .active.item{ | |||||
| color: #0087f5 !important; | |||||
| border: 1px solid #0087f5; | |||||
| margin: -1px; | |||||
| background: #FFF !important; | |||||
| } | |||||
| </style> | |||||
| <div class="repository release dataset-list view"> | <div class="repository release dataset-list view"> | ||||
| {{template "repo/header" .}} | {{template "repo/header" .}} | ||||
| <script> | <script> | ||||
| @@ -62,7 +70,11 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="ui divider"></div> | |||||
| <div class="ui blue mini menu selectcloudbrain"> | |||||
| <a class="{{if eq .Type 0}}active {{end}}item" href="{{.RepoLink}}/datasets?type=0">{{svg "octicon-server" 16}} CPU / GPU</a> | |||||
| <a class="{{if eq .Type 1}}active {{end}}item" href="{{.RepoLink}}/datasets?type=1">{{svg "octicon-server" 16}} Ascend NPU</a> | |||||
| </div> | |||||
| <div class="ui stackable grid"> | <div class="ui stackable grid"> | ||||
| <div class="twelve wide column"> | <div class="twelve wide column"> | ||||
| <div class="ui sixteen wide column"> | <div class="ui sixteen wide column"> | ||||
| @@ -98,9 +98,8 @@ | |||||
| {{end}} | {{end}} | ||||
| {{if .Permission.CanRead $.UnitTypeDatasets}} | {{if .Permission.CanRead $.UnitTypeDatasets}} | ||||
| <a class="{{if .PageIsDataset}}active{{end}} item dataset" > | |||||
| <a class="{{if .PageIsDataset}}active{{end}} item" href="{{.RepoLink}}/datasets?type=0"> | |||||
| {{svg "octicon-inbox" 16}} {{.i18n.Tr "datasets"}} | {{svg "octicon-inbox" 16}} {{.i18n.Tr "datasets"}} | ||||
| <span style="display:none" class="dataset_link">{{.RepoLink}}</span> | |||||
| </a> | </a> | ||||
| {{end}} | {{end}} | ||||
| @@ -141,9 +140,8 @@ | |||||
| {{end}} | {{end}} | ||||
| {{if .Permission.CanRead $.UnitTypeCloudBrain}} | {{if .Permission.CanRead $.UnitTypeCloudBrain}} | ||||
| <a class="{{if .PageIsCloudBrain}}active{{end}} item cloudbrain"> | |||||
| <a class="{{if .PageIsCloudBrain}}active{{end}} item" href="{{.RepoLink}}/cloudbrain"> | |||||
| {{svg "octicon-server" 16}} {{.i18n.Tr "repo.cloudbrain"}} | {{svg "octicon-server" 16}} {{.i18n.Tr "repo.cloudbrain"}} | ||||
| <span style="display:none" class="cloudbrain_link">{{.RepoLink}}</span> | |||||
| </a> | </a> | ||||
| {{end}} | {{end}} | ||||
| @@ -2,6 +2,12 @@ | |||||
| {{template "base/head" .}} | {{template "base/head" .}} | ||||
| <style> | <style> | ||||
| .selectcloudbrain .active.item{ | |||||
| color: #0087f5 !important; | |||||
| border: 1px solid #0087f5; | |||||
| margin: -1px; | |||||
| background: #FFF !important; | |||||
| } | |||||
| #deletemodel { | #deletemodel { | ||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| @@ -210,8 +216,11 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <!-- 中间分割线 --> | |||||
| <div class="ui divider"></div> | |||||
| <p>使用鹏城云脑计算资源进行调试,云脑1提供CPU / GPU资源,云脑2提供Ascend NPU资源;调试使用的数据集也需要上传到对应的环境。</p> | |||||
| <div class="ui blue mini menu selectcloudbrain"> | |||||
| <a class="item" href="{{.RepoLink}}/cloudbrain">{{svg "octicon-server" 16}} CPU / GPU</a> | |||||
| <a class="active item" href="{{.RepoLink}}/modelarts">{{svg "octicon-server" 16}} Ascend NPU</a> | |||||
| </div> | |||||
| <!-- 中下列表展示区 --> | <!-- 中下列表展示区 --> | ||||
| <div class="ui grid"> | <div class="ui grid"> | ||||
| @@ -11,6 +11,7 @@ | |||||
| {{ file_status_text }} | {{ file_status_text }} | ||||
| <span class="success">{{ status }}</span> | <span class="success">{{ status }}</span> | ||||
| </p> | </p> | ||||
| <p>云脑1提供 <span class="text blue">CPU / GPU</span> 资源,云脑2提供 <span class="text blue">Ascend NPU</span> 资源;调试使用的数据集也需要上传到对应的环境。</p> | |||||
| </div> | </div> | ||||
| </template> | </template> | ||||
| @@ -8,6 +8,7 @@ | |||||
| {{ file_status_text }} | {{ file_status_text }} | ||||
| <span class="success">{{ status }}</span> | <span class="success">{{ status }}</span> | ||||
| </p> | </p> | ||||
| <p>云脑1提供 <span class="text blue">CPU / GPU</span> 资源,云脑2提供 <span class="text blue">Ascend NPU</span> 资源;调试使用的数据集也需要上传到对应的环境。</p> | |||||
| </div> | </div> | ||||
| </template> | </template> | ||||