]> source.dussan.org Git - gitea.git/commitdiff
repo description ui update
authorFuXiaoHei <fuxiaohei@hexiaz.com>
Wed, 19 Mar 2014 13:00:20 +0000 (21:00 +0800)
committerFuXiaoHei <fuxiaohei@hexiaz.com>
Wed, 19 Mar 2014 13:00:20 +0000 (21:00 +0800)
public/css/gogs.css
templates/repo/nav.tmpl

index 168d754be910080cfbeef0918048fac1f308721c..328d81e7764daa67fe14f32362ff36e720fcba8a 100755 (executable)
@@ -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;
index 8cbf33c087eb5c35bfae59255db87f21efd15848..b67f82d5e34a6d91d7bc505524e4e5a4e7369e27 100644 (file)
@@ -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">