diff --git a/src/main/twirl/repo/blob.scala.html b/src/main/twirl/repo/blob.scala.html index e463594..32dde5c 100644 --- a/src/main/twirl/repo/blob.scala.html +++ b/src/main/twirl/repo/blob.scala.html @@ -19,7 +19,7 @@
- @latestCommit.committer + @latestCommit.committer @helpers.datetime(latestCommit.time) @latestCommit.shortMessage
diff --git a/src/main/twirl/repo/commit.scala.html b/src/main/twirl/repo/commit.scala.html index 49bd913..90d990a 100644 --- a/src/main/twirl/repo/commit.scala.html +++ b/src/main/twirl/repo/commit.scala.html @@ -17,8 +17,8 @@ - @commit.committer @helpers.datetime(commit.time) -
+ @commit.committer @helpers.datetime(commit.time) +
commit @commit.id
diff --git a/src/main/twirl/repo/commits.scala.html b/src/main/twirl/repo/commits.scala.html index 1d5fe1e..4901e5d 100644 --- a/src/main/twirl/repo/commits.scala.html +++ b/src/main/twirl/repo/commits.scala.html @@ -30,7 +30,7 @@
- @commit.shortMessage + @commit.shortMessage @if(commit.description.isDefined){ ... } @@ -39,7 +39,7 @@ }
- @commit.committer + @commit.committer @helpers.datetime(commit.time)
diff --git a/src/main/twirl/repo/files.scala.html b/src/main/twirl/repo/files.scala.html index 5ed4633..f1ad4af 100644 --- a/src/main/twirl/repo/files.scala.html +++ b/src/main/twirl/repo/files.scala.html @@ -24,12 +24,12 @@ - +
- @latestCommit.committer -
- @helpers.datetime(latestCommit.time) - @latestCommit.id.substring(0, 10) + @latestCommit.committer + @helpers.datetime(latestCommit.time) +
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css index 163f2e8..1416ed4 100644 --- a/src/main/webapp/assets/common/css/gitbucket.css +++ b/src/main/webapp/assets/common/css/gitbucket.css @@ -45,25 +45,19 @@ font-size: small; } -a.commit-message { +a.commit-message, a.commit-id, a.committer { color: #333333; } -a.commit-message:hover { - color: #333333; +a.username { + color: black; + font-weight: bold; } - .monospace { font-family: monospace; } -/* -.align-right { - text-align: right; -} -*/ - span.description { color: gray; } @@ -72,6 +66,17 @@ margin-bottom: 0px; } +table.table-file-list th, table.table-file-list td { + padding-top: 8px; + padding-bottom: 8px; +} + +table.table-file-list td.latest-commmit { + padding-top: 4px; + padding-bottom: 4px; + background-color: white; +} + table.table th { background-color: #d9edf7; } @@ -81,6 +86,11 @@ font-size: small; } +th, td, .table th, .table td { + padding-top: 4px; + padding-bottom: 4px; +} + div.latest-commit { font-size: small; font-weight: normal;