Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1362 Reviewed-by: zhoupzh <zhoupzh@pcl.ac.cn>tags/v1.22.1.3
| @@ -61,7 +61,9 @@ | |||||
| -webkit-line-clamp: 2; | -webkit-line-clamp: 2; | ||||
| -webkit-box-orient: vertical; | -webkit-box-orient: vertical; | ||||
| } | } | ||||
| .ui.cards>.card>.extra .tags > a{ | |||||
| margin-top: 5px; | |||||
| } | |||||
| </style> | </style> | ||||
| <div class="ui stackable grid"> | <div class="ui stackable grid"> | ||||
| @@ -99,7 +101,7 @@ | |||||
| {{if .Topics }} | {{if .Topics }} | ||||
| <div class=" tags " style="position: relative;"> | <div class=" tags " style="position: relative;"> | ||||
| {{range .Topics}} | {{range .Topics}} | ||||
| {{if ne . "" }}<a style="max-width:100%;margin: 5px 0;display:inline-flex;" href="{{AppSubUrl}}/explore/repos?q={{.}}&topic={{$.Topic}}" ><span class="ui small label topic omit" >{{.}}</span></a>{{end}} | |||||
| {{if ne . "" }}<a style="max-width:100%;display:inline-flex;" href="{{AppSubUrl}}/explore/repos?q={{.}}&topic={{$.Topic}}" ><span class="ui small label topic omit" >{{.}}</span></a>{{end}} | |||||
| {{end}} | {{end}} | ||||
| </div> | </div> | ||||
| @@ -108,7 +110,7 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class=" extra " style="color:#888888;border-top: none !important"> | |||||
| <div class=" extra " style="color:#888888;border-top: none !important;padding-top: 0"> | |||||
| <div class="ui mini right compact marg" > | <div class="ui mini right compact marg" > | ||||
| <a class="item marg "> | <a class="item marg "> | ||||
| {{svg "octicon-eye" 16}} {{.NumWatches}} | {{svg "octicon-eye" 16}} {{.NumWatches}} | ||||
| @@ -77,14 +77,14 @@ | |||||
| <a class="ui image poping up" style="color: #0366D6;overflow: hidden; white-space: nowrap; text-overflow: ellipsis;" href="{{.HomeLink}}" data-content="{{.Name}}" data-position="top center" data-variation="tiny inverted">{{.Name}}</a> | <a class="ui image poping up" style="color: #0366D6;overflow: hidden; white-space: nowrap; text-overflow: ellipsis;" href="{{.HomeLink}}" data-content="{{.Name}}" data-position="top center" data-variation="tiny inverted">{{.Name}}</a> | ||||
| </li> | </li> | ||||
| <li class="infor" style="width: 25%;"> | |||||
| <li class="infor" style="width: 25%;display: table-cell"> | |||||
| <img style="width: 14px; height: 14px;border: none;" src="/img/member.svg" > | |||||
| <span style="color: rgba(0,0,0,.4);padding-left: 5px;">{{.NumMembers}}</span> | |||||
| <img style="width: 16px;height:16px;border: none;" src="/img/member.svg" > | |||||
| <span style="color: rgba(0,0,0,.4);vertical-align: middle;">{{.NumMembers}}</span> | |||||
| </li> | </li> | ||||
| <li class="infor" style="width: 25%;"> | |||||
| <img style="width: 14px; height: 14px" src="/img/pro_num.svg" > | |||||
| <span style="color: rgba(0,0,0,.4);padding-left: 5px;">{{.NumRepos}}</span> | |||||
| <li class="infor" style="width: 25%;display: table-cell"> | |||||
| <img style="width: 16px;height: 16px;" src="/img/pro_num.svg" > | |||||
| <span style="color: rgba(0,0,0,.4);vertical-align: middle;">{{.NumRepos}}</span> | |||||
| </li> | </li> | ||||
| {{end}} | {{end}} | ||||