mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 11:06:06 +01:00
Fix presentation.
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th style="font-weight: normal;">
|
<th style="font-weight: normal;">
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
<a href="@path/@latestCommit.committer">@latestCommit.committer</a>
|
<a href="@path/@latestCommit.committer" class="username">@latestCommit.committer</a>
|
||||||
<span class="description">@helpers.datetime(latestCommit.time)</span>
|
<span class="description">@helpers.datetime(latestCommit.time)</span>
|
||||||
<a href="@path/@repository.owner/@repository.name/commit/@latestCommit.id" class="commit-message">@latestCommit.shortMessage</a>
|
<a href="@path/@repository.owner/@repository.name/commit/@latestCommit.id" class="commit-message">@latestCommit.shortMessage</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="@path/@commit.committer">@commit.committer</a> <span class="description">@helpers.datetime(commit.time)</span>
|
<a href="@path/@commit.committer" class="username">@commit.committer</a> <span class="description">@helpers.datetime(commit.time)</span>
|
||||||
<div class="pull-right align-right">
|
<div class="pull-right align-right monospace small">
|
||||||
<span class="description">commit</span> @commit.id
|
<span class="description">commit</span> @commit.id
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
<a href="@path/@repository.owner/@repository.name/commit/@commit.id"><strong>@commit.shortMessage</strong></a>
|
<a href="@path/@repository.owner/@repository.name/commit/@commit.id" class="commit-message" style="font-weight: bold;">@commit.shortMessage</a>
|
||||||
@if(commit.description.isDefined){
|
@if(commit.description.isDefined){
|
||||||
<a href="javascript:void(0)" onclick="$('#description-@commit.id').toggle();">...</a>
|
<a href="javascript:void(0)" onclick="$('#description-@commit.id').toggle();">...</a>
|
||||||
}
|
}
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
<pre id="description-@commit.id" style="display: none;" class="commit-description">@commit.description.get</pre>
|
<pre id="description-@commit.id" style="display: none;" class="commit-description">@commit.description.get</pre>
|
||||||
}
|
}
|
||||||
<div class="small">
|
<div class="small">
|
||||||
<a href="@path/@commit.committer">@commit.committer</a>
|
<a href="@path/@commit.committer" class="committer">@commit.committer</a>
|
||||||
<span class="description">@helpers.datetime(commit.time)</span>
|
<span class="description">@helpers.datetime(commit.time)</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -24,12 +24,12 @@
|
|||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">
|
<td colspan="4" class="latest-commmit">
|
||||||
<div>
|
<div>
|
||||||
<strong><a href="@path/@repository.owner/@repository.name/@latestCommit.committer">@latestCommit.committer</a></strong>
|
<a href="@path/@repository.owner/@repository.name/@latestCommit.committer" class="username">@latestCommit.committer</a>
|
||||||
<div class="pull-right align-right">
|
|
||||||
@helpers.datetime(latestCommit.time)
|
@helpers.datetime(latestCommit.time)
|
||||||
<a href="@path/@repository.owner/@repository.name/commit/@latestCommit.id">@latestCommit.id.substring(0, 10)</a>
|
<div class="pull-right align-right monospace">
|
||||||
|
<a href="@path/@repository.owner/@repository.name/commit/@latestCommit.id" class="commit-id"><span class="description">latest commit</span> @latestCommit.id.substring(0, 10)</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -45,25 +45,19 @@ span.error {
|
|||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.commit-message {
|
a.commit-message, a.commit-id, a.committer {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.commit-message:hover {
|
a.username {
|
||||||
color: #333333;
|
color: black;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.monospace {
|
.monospace {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
.align-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
span.description {
|
span.description {
|
||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
@@ -72,6 +66,17 @@ table.table-file-list {
|
|||||||
margin-bottom: 0px;
|
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 {
|
table.table th {
|
||||||
background-color: #d9edf7;
|
background-color: #d9edf7;
|
||||||
}
|
}
|
||||||
@@ -81,6 +86,11 @@ table.table-file-list td {
|
|||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th, td, .table th, .table td {
|
||||||
|
padding-top: 4px;
|
||||||
|
padding-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
div.latest-commit {
|
div.latest-commit {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|||||||
Reference in New Issue
Block a user