diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 21:00:20 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-19 21:00:20 +0800 |
commit | 06af48503cc002d3ab89372c11fc43fc9a5470a8 (patch) | |
tree | c6e35f968e0317f73ea891025027559170337640 | |
parent | 78097a2c5a79ec93340db975c23014de2a329572 (diff) |
repo description ui update
-rwxr-xr-x | public/css/gogs.css | 9 | ||||
-rw-r--r-- | templates/repo/nav.tmpl | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 168d754b..328d81e7 100755 --- a/public/css/gogs.css +++ b/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; diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index 8cbf33c0..b67f82d5 100644 --- a/templates/repo/nav.tmpl +++ b/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"> |