Browse Source

repo description ui update

pull/33/head
FuXiaoHei 11 years ago
parent
commit
06af48503c
  1. 9
      public/css/gogs.css
  2. 3
      templates/repo/nav.tmpl

9
public/css/gogs.css

@ -414,6 +414,15 @@ html, body {
height: auto;
}
.gogs-repo-nav .name{
margin-top: 15px;
}
.gogs-repo-nav .desc{
color: #888;
margin-bottom: 0;
}
.gogs-repo-nav h3 .fa {
color: #BBB;
margin-left: 0;

3
templates/repo/nav.tmpl

@ -2,7 +2,8 @@
<div class="container">
<div class="row">
<div class="col-md-6">
<h3><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3>
<h3 class="name"><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3>
<p class="desc">a sentence to describe the repository.<a href="#">official-site</a></p>
</div>
{{if not .IsBareRepo}}
<div class="col-md-6 actions text-right">

Loading…
Cancel
Save