Browse Source

Merge branch 'V20210731' into fix-57

pull/158/head
avadesian 3 years ago
parent
commit
bc47e89d0f
3 changed files with 720 additions and 287 deletions
  1. +3
    -3
      custom/public/css/git.openi.css
  2. +711
    -282
      custom/public/img/develop.svg
  3. +6
    -2
      templates/repo/home.tmpl

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

@@ -117,16 +117,16 @@
border-left: 2px solid #505559; border-left: 2px solid #505559;
border-bottom: 2px solid #505559; border-bottom: 2px solid #505559;
border-radius: 0 0 0 2.0rem; border-radius: 0 0 0 2.0rem;
width: 17.5rem;
width: 2.0rem;
} }
.leftline02{ .leftline02{
position: absolute; position: absolute;
left: 20.5rem;
left: 5rem;
top: calc(-5.0rem - 2px); top: calc(-5.0rem - 2px);
border-top: 2px solid #505559; border-top: 2px solid #505559;
border-right: 2px solid #505559; border-right: 2px solid #505559;
border-radius: 0 2.0rem 0 0; border-radius: 0 2.0rem 0 0;
width: 2.0rem;
width: 17.5rem;
height: 6.0rem; height: 6.0rem;
} }




+ 711
- 282
custom/public/img/develop.svg
File diff suppressed because it is too large
View File


+ 6
- 2
templates/repo/home.tmpl View File

@@ -157,7 +157,11 @@
<div id="repo-desc"> <div id="repo-desc">
<h4 class="ui header">简介</h4> <h4 class="ui header">简介</h4>
<p> <p>
{{if .Repository.DescriptionHTML}}<span class="description">{{.Repository.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}}
{{if .Repository.DescriptionHTML}}
<span class="description">{{.Repository.DescriptionHTML}}</span>
{{else}}
<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>
{{end}}
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>
</p> </p>
</div> </div>
@@ -187,7 +191,7 @@


<div> <div>
<h4 class="ui header"> <h4 class="ui header">
<strong>贡献者</strong>
<strong>贡献者 ({{len .ContributorInfo}})</strong>
<div class="ui right"> <div class="ui right">
<a class="text grey" href="">全部 {{svg "octicon-chevron-right" 16}}</a> <a class="text grey" href="">全部 {{svg "octicon-chevron-right" 16}}</a>
</div> </div>


Loading…
Cancel
Save