diff --git a/src/main/twirl/gitbucket/core/menu.scala.html b/src/main/twirl/gitbucket/core/menu.scala.html index 2c47f6a..c26bc81 100644 --- a/src/main/twirl/gitbucket/core/menu.scala.html +++ b/src/main/twirl/gitbucket/core/menu.scala.html @@ -11,7 +11,7 @@ @menuitem(path: String, name: String, icon: String, label: String, count: Int = 0) = {
  • - @label + @label @if(count > 0){ @count } @@ -143,22 +143,5 @@ $('#fork-form').submit(); }); } -@* - @repository.sshUrl.map { sshUrl => - $('#repository-url-http').click(function(){ - $('#repository-url-proto').text('HTTP'); - $('#repository-url').val('@repository.httpUrl'); - $('#repository-clone-url').attr('href', '@openRepoUrl(repository.httpUrl)') - $('#repository-url-copy').attr('data-clipboard-text', $('#repository-url').val()); - }); - - $('#repository-url-ssh').click(function(){ - $('#repository-url-proto').text('SSH'); - $('#repository-url').val('@sshUrl'); - $('#repository-clone-url').attr('href', '@openRepoUrl(sshUrl)'); - $('#repository-url-copy').attr('data-clipboard-text', $('#repository-url').val()); - }); - } -*@ }); diff --git a/src/main/twirl/gitbucket/core/repo/files.scala.html b/src/main/twirl/gitbucket/core/repo/files.scala.html index 1a1397d..c2b5d2c 100644 --- a/src/main/twirl/gitbucket/core/repo/files.scala.html +++ b/src/main/twirl/gitbucket/core/repo/files.scala.html @@ -25,13 +25,13 @@ @html.menu("code", repository, Some(branch), pathList.isEmpty, groupNames.isEmpty, info, error){
    @if(pathList.isEmpty){ -
    + -
    +
    @helper.html.copy("repository-url-copy", repository.httpUrl){ @if(repository.sshUrl.isDefined){ @@ -62,8 +62,8 @@ }
    - New file - Find file + New file + Find file @if(pathList.nonEmpty){ History } diff --git a/src/main/twirl/gitbucket/core/wiki/page.scala.html b/src/main/twirl/gitbucket/core/wiki/page.scala.html index 9bc6a80..cf5963a 100644 --- a/src/main/twirl/gitbucket/core/wiki/page.scala.html +++ b/src/main/twirl/gitbucket/core/wiki/page.scala.html @@ -26,7 +26,7 @@ }
  • -
    +
    @defining(15){ max =>
    diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 2880ab3..9f764ad 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -1965,6 +1965,9 @@ .body>div.pull-left { width: auto !important; } + .pc { + display: none; + } /* Adjust issue search box size and position */ #search-filter-box { @@ -1985,7 +1988,7 @@ overflow: hidden; display: inline-block; } - +/* .nav-tabs a.btn[href$="/_edit"] { width: 24px; white-space: nowrap; @@ -1993,7 +1996,7 @@ padding: 4px 6px; margin: 3px 4px 0 0; } - +*/ body>div.container.body { margin: 0 -12px 40px -12px; }