]> source.dussan.org Git - gitea.git/commitdiff
fix logo ui, add following ui in user-profile page
authorFuXiaoHei <fuxiaohei@hexiaz.com>
Sat, 12 Apr 2014 04:47:35 +0000 (12:47 +0800)
committerFuXiaoHei <fuxiaohei@hexiaz.com>
Sat, 12 Apr 2014 04:47:35 +0000 (12:47 +0800)
public/css/gogs.css
templates/user/profile.tmpl

index 634548b8c86ce98e679bdb1dd65cc257ea8a884b..8be2bc4e72504364433aa31bb5733e8504e61eab 100755 (executable)
@@ -74,6 +74,7 @@ html, body {
     padding-left: 0;
     padding-right: 0;
     margin-right: 10px;
+    margin-top: 0;
 }
 
 .nav-item:hover,
@@ -310,6 +311,22 @@ html, body {
     padding-right: 18px;
 }
 
+#user-profile .profile-rel .col-md-6 {
+    text-align: center;
+    padding-bottom: 12px;
+}
+
+#user-profile .profile-rel strong {
+    font-size: 24px;
+    color: #444;
+    display: block;
+}
+
+#user-profile .profile-rel p {
+   margin-right: 0;
+    color: #888;
+}
+
 #user-activity .tab-pane {
     padding: 20px;
 }
index 88ee318f4ae2a24ab36c2d8e2afa3fa0ec8cd61c..0cbd3489100c369c44f8f73e78e95869673b8f65 100644 (file)
         </div>
         <div class="profile-info">
             <ul class="list-group">
+                <li class="list-group-item">
+                    <div class="profile-rel">
+                        <div class="col-md-6 followers">
+                            <strong>123</strong>
+                            <p>followers</p>
+                        </div>
+                        <div class="col-md-6 following">
+                            <strong>123</strong>
+                            <p>following</p>
+                        </div>
+                    </div>
+                </li>
                 {{if .Owner.Location}}
                     <li class="list-group-item"><i class="fa fa-thumb-tack"></i>{{.Owner.Location}}</li>
                 {{end}}