repo description ui update

tokarchuk/v1.17
FuXiaoHei 11 years ago
parent 78097a2c5a
commit 06af48503c
  1. 9
      public/css/gogs.css
  2. 3
      templates/repo/nav.tmpl

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

@ -2,7 +2,8 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-6"> <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> </div>
{{if not .IsBareRepo}} {{if not .IsBareRepo}}
<div class="col-md-6 actions text-right"> <div class="col-md-6 actions text-right">

Loading…
Cancel
Save