From a33e2c6e36dce8f72868a5ca037aba0ed1a81b89 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Fri, 20 Feb 2015 01:51:16 +0100 Subject: [PATCH] Completely moved to octicon --- .../twirl/gitbucket/core/helper/diff.scala.html | 16 ++++++++-------- .../core/issues/labels/label.scala.html | 2 +- .../core/issues/milestones/list.scala.html | 4 ++-- .../twirl/gitbucket/core/repo/files.scala.html | 6 +++--- src/main/webapp/assets/common/css/gitbucket.css | 5 +++++ 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/main/twirl/gitbucket/core/helper/diff.scala.html b/src/main/twirl/gitbucket/core/helper/diff.scala.html index 287706012..605efd245 100644 --- a/src/main/twirl/gitbucket/core/helper/diff.scala.html +++ b/src/main/twirl/gitbucket/core/helper/diff.scala.html @@ -24,16 +24,16 @@ 0){ class="border"}> @if(diff.changeType == ChangeType.COPY || diff.changeType == ChangeType.RENAME){ - @diff.oldPath -> @diff.newPath + @diff.oldPath -> @diff.newPath } @if(diff.changeType == ChangeType.ADD){ - @diff.newPath + @diff.newPath } @if(diff.changeType == ChangeType.MODIFY){ - @diff.newPath + @diff.newPath } @if(diff.changeType == ChangeType.DELETE){ - @diff.oldPath + @diff.oldPath } @@ -46,7 +46,7 @@ @if(diff.changeType == ChangeType.COPY || diff.changeType == ChangeType.RENAME){ - @diff.oldPath -> @diff.newPath + @diff.oldPath -> @diff.newPath @if(newCommitId.isDefined){
@@ -56,9 +56,9 @@ } @if(diff.changeType == ChangeType.ADD || diff.changeType == ChangeType.MODIFY){ @if(diff.changeType == ChangeType.ADD){ - + }else{ - + } @diff.newPath @if(newCommitId.isDefined){
@@ -68,7 +68,7 @@ } } @if(diff.changeType == ChangeType.DELETE){ - @diff.oldPath + @diff.oldPath @if(oldCommitId.isDefined){
diff --git a/src/main/twirl/gitbucket/core/issues/labels/label.scala.html b/src/main/twirl/gitbucket/core/issues/labels/label.scala.html index b7cee420d..891f31ad3 100644 --- a/src/main/twirl/gitbucket/core/issues/labels/label.scala.html +++ b/src/main/twirl/gitbucket/core/issues/labels/label.scala.html @@ -11,7 +11,7 @@
- + @label.labelName diff --git a/src/main/twirl/gitbucket/core/issues/milestones/list.scala.html b/src/main/twirl/gitbucket/core/issues/milestones/list.scala.html index 0f3583430..e1e8f7cd3 100644 --- a/src/main/twirl/gitbucket/core/issues/milestones/list.scala.html +++ b/src/main/twirl/gitbucket/core/issues/milestones/list.scala.html @@ -13,11 +13,11 @@ - + @milestones.count(_._1.closedDate.isEmpty) Open    - + @milestones.count(_._1.closedDate.isDefined) Closed diff --git a/src/main/twirl/gitbucket/core/repo/files.scala.html b/src/main/twirl/gitbucket/core/repo/files.scala.html index 11d5f70b4..0e68b1907 100644 --- a/src/main/twirl/gitbucket/core/repo/files.scala.html +++ b/src/main/twirl/gitbucket/core/repo/files.scala.html @@ -76,12 +76,12 @@ @if(file.isDirectory){ @if(file.linkUrl.isDefined){ - + } else { - + } } else { - + } diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 75da72f78..3af0520d0 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -257,6 +257,7 @@ div.box-header-small { background: #f2f8fa; } + div.box-content { background-color: white; border: 1px solid #d8d8d8; @@ -277,6 +278,10 @@ th.box-header { text-shadow: 0 1px 0 #fff } +th.box-header .octicon { + display: inline; +} + th.metal { background-color: #e0e0e0; background-image: -moz-linear-gradient(#fafafa, #e8e8e8);