Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1283/head
zouap 3 years ago
parent
commit
937d7055b5
5 changed files with 11 additions and 8 deletions
  1. +3
    -2
      custom/public/css/git.openi.css
  2. +1
    -0
      options/locale/locale_en-US.ini
  3. +1
    -0
      options/locale/locale_zh-CN.ini
  4. +4
    -4
      public/home/home.js
  5. +2
    -2
      templates/home.tmpl

+ 3
- 2
custom/public/css/git.openi.css View File

@@ -25,6 +25,7 @@
.am-pt-30{ padding-top: 3.0rem !important;}
.am-pl-30{ padding-left: 3.0rem !important;}
.am-pl-50{ padding-left: 5.0em !important;}
.am-ml-10{ margin-left: 1.0rem !important;}
.am-ml-30{ margin-left: 3.0rem !important;}
.am-pr-30{ padding-right: 3.0rem !important;}
.am-mr-30{ margin-right: 3.0rem !important;}
@@ -261,10 +262,10 @@
background-color: #FFF;
box-shadow: 0px 5px 10px 0px rgba(105, 192, 255, 30);
border: 1px solid rgba(105, 192, 255, 40);
min-height: 9.38em;
min-height: 10.8em;
}
.homepro-list .ui.card>.content>.header{
line-height: 40px;
line-height: 40px !important;
}

.homepro-list .swiper-pagination-bullet-active{


+ 1
- 0
options/locale/locale_en-US.ini View File

@@ -249,6 +249,7 @@ page_dev_yunlao_desc1=The platform has been connected with Pengcheng Cloudbrain
page_dev_yunlao_desc2=Pengcheng Cloudbrain's existing AI computing power is 100p FLOPS@FP16 (billions of half precision floating-point calculations per second), the main hardware infrastructure is composed of GPU server equipped with NVIDIA Tesla V100 and Atlas 900 AI cluster equipped with Kunpeng and shengteng processors
page_dev_yunlao_desc3=Developers can freely choose the corresponding computing resources according to the use requirements, and can test the adaptability, performance and stability of the model in different hardware environments
page_dev_yunlao_desc4=If your model needs more computing resources, you can also apply separately
page_dev_yunlao_apply=Separate apply

[explore]
repos = Repositories


+ 1
- 0
options/locale/locale_zh-CN.ini View File

@@ -251,6 +251,7 @@ page_dev_yunlao_desc1=平台已经与鹏城云脑打通,可以利用鹏城云
page_dev_yunlao_desc2=鹏城云脑现有AI算力100P FLOPS@FP16(每秒十亿亿次半精度浮点计算),主要硬件基础设施由搭载英伟达Tesla V100 的GPU服务器和搭载鲲鹏、昇腾处理器的Atlas 900 AI集群构成
page_dev_yunlao_desc3=开发者可以根据使用需求,自由选择相应计算资源,可以测试模型在不同硬件环境下的适配能力、性能、稳定性等
page_dev_yunlao_desc4=如果您的模型需要更多的计算资源,也可以单独申请
page_dev_yunlao_apply=单独申请

[explore]
repos=项目


+ 4
- 4
public/home/home.js View File

@@ -363,7 +363,7 @@ function displayRepo(json){
html += " <div class=\"ui fluid card\">";
html += " <div class=\"content\">";
html += " <span class=\"right floated meta\">";
html += " <i class=\"ri-star-line\"></i>" + record["NumStars"] + "<i class=\"ri-git-branch-line\"></i>" + record["NumForks"];
html += " <i class=\"ri-star-line\"></i>" + record["NumStars"] + "<i class=\"ri-git-branch-line am-ml-10\"></i>" + record["NumForks"];
html += " </span>";
html += " <img class=\"left floated mini ui image\" src=\"" + record["Avatar"] + "\">";
html += " <a class=\"header nowrap\" href=\"/" + record["OwnerName"] + "/" + record["Name"] + "\">" + record["Name"] +"</a>";
@@ -428,9 +428,9 @@ function displayOrg(json){
html += " <div class=\"content\">";
html += " <div class=\"ui small header\">";
html += " <img class=\"ui image\" src=\"" + record["Avatar"] + "\">";
html += " <div class=\"content nowrap\">";
html += " <span class=\"ui blue\">" + record["Name"] + "</sapn> " + record["FullName"];
html += " <div class=\"sub header\">" + record["NumRepos"] +" " + getRepoOrOrg(1,isZh) + " ・ " + record["NumMembers"] +" " + getRepoOrOrg(2,isZh) + " ・ " + record["NumTeams"] + " " + getRepoOrOrg(3,isZh) + "</div>";
html += " <div class=\"content nowrap\">";
html += " <span class=\"ui blue\">" + record["Name"] + "</span> " + record["FullName"];
html += " <div class=\"sub header\">" + record["NumRepos"] +" " + getRepoOrOrg(1,isZh) + " ・ " + record["NumMembers"] +" " + getRepoOrOrg(2,isZh) + " ・ " + record["NumTeams"] + " " + getRepoOrOrg(3,isZh) + "</div>";
html += " </div>";
html += " </div>";
html += " </div>";


+ 2
- 2
templates/home.tmpl View File

@@ -10,7 +10,7 @@
</h1>
<p class="ui am-lh-18">{{.page_description}}</p>
<a class="circular huge ui secondary button" href="{{AppSubUrl}}/user/sign_up">{{.page_use}}<i class="right arrow icon"></i></a>
<a class="circular huge ui secondary button" href="{{AppSubUrl}}/user/login">{{.page_use}} <i class="right arrow icon"></i></a>
</div>
<div class="bannerpic"><img class="ui fluid image" src="/img/gitopeni-index-01.svg"></div>
<div id="homenews" class="ui container">
@@ -137,7 +137,7 @@
{{.page_dev_yunlao_desc3}}<br>
{{.page_dev_yunlao_desc4}}<br>
</p>
<a class="ui blue basic button am-mt-20" href="{{AppSubUrl}}/user/sign_up">{{.page_use}}</a> <a class="ui grey basic button am-mt-20" href="/zeizei/OpenI_Learning/issues">单独申请</a>
<a class="ui blue basic button am-mt-20" href="{{AppSubUrl}}/user/login">{{.page_use}}</a> <a class="ui grey basic button am-mt-20" href="/zeizei/OpenI_Learning/issues">{{.page_dev_yunlao_apply}}</a>
</div>
</div>
</div>


Loading…
Cancel
Save