diff --git a/src/main/twirl/gitbucket/core/menu.scala.html b/src/main/twirl/gitbucket/core/menu.scala.html index f392792..390f459 100644 --- a/src/main/twirl/gitbucket/core/menu.scala.html +++ b/src/main/twirl/gitbucket/core/menu.scala.html @@ -19,57 +19,56 @@ } - -
- @helper.html.information(info) - @helper.html.error(error) -
- @if(repository.commitCount > 0){ -
- - - @if(loginAccount.isEmpty){ - Fork - } else { - @if(isNoGroup) { - Fork +
+
+ @helper.html.information(info) + @helper.html.error(error) +
+ @if(repository.commitCount > 0){ +
+ + + @if(loginAccount.isEmpty){ + Fork } else { - Fork + @if(isNoGroup) { + Fork + } else { + Fork + } } - } + + @repository.forkedCount - @repository.forkedCount - -
- @if(loginAccount.isDefined && isNoGroup){ - - } - } - @helper.html.repositoryicon(repository, true) - @repository.owner / @repository.name - - @defining(repository.repository){ x => - @if(repository.repository.originRepositoryName.isDefined){ - + @if(loginAccount.isDefined && isNoGroup){ + + } } - } -
-
    - @sidemenu("" , "code" , "code" , "Code") - @sidemenu("/issues", "issues" , "issue-opened" , "Issues", repository.issueCount) - @sidemenu("/pulls" , "pulls" , "git-pull-request" , "Pull Requests", repository.pullCount) - @sidemenu("/wiki" , "wiki" , "book" , "Wiki") - @if(loginAccount.isDefined && (loginAccount.get.isAdmin || repository.managers.contains(loginAccount.get.userName))){ - @sidemenu("/settings" , "settings" , "tools", "Settings") - } -
-
-
+ @helper.html.repositoryicon(repository, true) + @repository.owner / @repository.name + @defining(repository.repository){ x => + @if(repository.repository.originRepositoryName.isDefined){ + + } + } +
+
    + @sidemenu("" , "code" , "code" , "Code") + @sidemenu("/issues", "issues" , "issue-opened" , "Issues", repository.issueCount) + @sidemenu("/pulls" , "pulls" , "git-pull-request" , "Pull Requests", repository.pullCount) + @sidemenu("/wiki" , "wiki" , "book" , "Wiki") + @if(loginAccount.isDefined && (loginAccount.get.isAdmin || repository.managers.contains(loginAccount.get.userName))){ + @sidemenu("/settings" , "settings" , "tools", "Settings") + } +
+
+
@* @if(expand){ diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index acf7e8e..80573e5 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -211,6 +211,7 @@ .navbar { min-height: unset; + margin-bottom: 0px; } span.header-version { @@ -535,11 +536,19 @@ /****************************************************************************/ /* Head Menu */ /****************************************************************************/ +div.headbar { + background-color: #fafafa; + padding-top: 19px; + border-bottom: 1px solid #eee; + margin-bottom: 20px; +} + + ul.headmenu { margin-top: 20px; margin-left: 0px; padding-left: 0px; - margin-bottom: -5px; + margin-bottom: -1px; } ul.headmenu a:hover {