From 1c88a541cb356018d8aedc66e6d4c6eb1aaf65b6 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Thu, 1 May 2014 21:27:12 +0800 Subject: [PATCH] fix profile ui --- public/css/gogs.css | 13 ++++++++++--- templates/repo/collaboration.tmpl | 2 +- templates/repo/setting.tmpl | 2 +- templates/user/profile.tmpl | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index ce9f27e41..b4855d780 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -311,11 +311,18 @@ html, body { border-radius: 2px; } -#user-name { - margin-top: 20px; +#user-name,#user-full-name { font-size: 1.6em; font-weight: bold; +} + +#user-name{ margin-bottom: 20px; + margin-top: 10px; +} + +#user-full-name{ + margin-top: 20px; } #user-profile .profile-info .list-group-item { @@ -387,7 +394,7 @@ html, body { /* gogits user setting */ -#user-setting-nav { +#user-setting-nav.repo-setting-nav { background-color: #FFF; border: 1px solid #CCC; padding: 0; diff --git a/templates/repo/collaboration.tmpl b/templates/repo/collaboration.tmpl index aea0aa414..ec0b832a4 100644 --- a/templates/repo/collaboration.tmpl +++ b/templates/repo/collaboration.tmpl @@ -3,7 +3,7 @@ {{template "repo/nav" .}} {{template "repo/toolbar" .}}
-
+
  • Options
  • Collaborators
  • diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl index 9066b587d..6672e90b5 100644 --- a/templates/repo/setting.tmpl +++ b/templates/repo/setting.tmpl @@ -3,7 +3,7 @@ {{template "repo/nav" .}} {{template "repo/toolbar" .}}
    -
    +
    • Options
    • Collaborators
    • diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 43ecabfa1..4c42be248 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -6,7 +6,7 @@ user-avatar - {{if .Owner.FullName}}{{.Owner.FullName}}{{end}} + {{if .Owner.FullName}}{{.Owner.FullName}}{{end}} {{.Owner.Name}}