... | ... |
@@ -1642,4 +1642,40 @@ button.close { |
1642 | 1642 |
|
1643 | 1643 |
.readme-frame { |
1644 | 1644 |
border: 1px solid #d8d8d8; |
1645 |
-} |
|
1645 |
+} |
|
1646 |
+ |
|
1647 |
+.commit-summary { |
|
1648 |
+ overflow:hidden; |
|
1649 |
+ padding: 10px; |
|
1650 |
+ line-height: 20px; |
|
1651 |
+ background-color: #e6f1f6; |
|
1652 |
+ border: 1px solid #c1dce9; |
|
1653 |
+ border-radius: 3px; |
|
1654 |
+ border-bottom-right-radius: 0; |
|
1655 |
+ border-bottom-left-radius: 0; |
|
1656 |
+ margin-top:13px; |
|
1657 |
+} |
|
1658 |
+ |
|
1659 |
+.commit-summary-left-container { |
|
1660 |
+ float:left; |
|
1661 |
+ width:70%; |
|
1662 |
+} |
|
1663 |
+ |
|
1664 |
+.commit-summary-right-container { |
|
1665 |
+ float:right; |
|
1666 |
+ width:30%; |
|
1667 |
+ text-align:right; |
|
1668 |
+ color: #68777d; |
|
1669 |
+} |
|
1670 |
+ |
|
1671 |
+.commit-summary-author { |
|
1672 |
+ font-weight:bold; |
|
1673 |
+} |
|
1674 |
+ |
|
1675 |
+.commit-summary-left-container a { |
|
1676 |
+ color: #68777d; |
|
1677 |
+} |
|
1678 |
+ |
|
1679 |
+.commit-summary-right-container a { |
|
1680 |
+ color:#445055; |
|
1681 |
+} |
... | ... |
@@ -3,25 +3,20 @@ |
3 | 3 |
%> |
4 | 4 |
|
5 | 5 |
<div style="margin-bottom:10px"> |
6 |
- <div class="bk-blue-light border-blue radius-top" style="padding:5px"> |
|
7 |
- <a style="color:#333" href="<%= url_for("/$user/$project/commit/$rev") %>"> |
|
8 |
- <%= $commit->{title} %> |
|
9 |
- </a> |
|
10 |
- </div> |
|
11 |
- <div class="border-blue" style="padding:5px;border-top:none"> |
|
12 |
- <div class="row" style="font-size:12px"> |
|
13 |
- <div class="span8"> |
|
14 |
- <span style="color:#333" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span> |
|
15 |
- <span class="muted"> |
|
16 |
- authored <span title="<%= $commit->{age_string_datetime_local} %>"><%= $commit->{age_string} %></span> |
|
17 |
- </span> |
|
18 |
- </div> |
|
19 |
- <div class="text-right"> |
|
20 |
- <a class="muted" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
21 |
- latest commit <%= substr($commit->{id}, 0, 10) %> |
|
22 |
- </a> |
|
23 |
- </div> |
|
24 |
- </div> |
|
6 |
+ <div class="commit-summary"> |
|
7 |
+ <div class="commit-summary-left-container"> |
|
8 |
+ <span class="commit-summary-author" title="<%= $commit->{author_email} %>"><%= $commit->{author_name} %></span> |
|
9 |
+ <a href="<%= url_for("/$user/$project/commit/$rev") %>"> |
|
10 |
+ <%= $commit->{title} %> |
|
11 |
+ </a> |
|
12 |
+ </div> |
|
13 |
+ <div class="commit-summary-right-container"> |
|
14 |
+ Latest commit |
|
15 |
+ <a href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
16 |
+ <%= substr($commit->{id}, 0, 7) %> |
|
17 |
+ </a> |
|
18 |
+ <%= $commit->{age_string} %> |
|
19 |
+ </div> |
|
25 | 20 |
</div> |
26 | 21 |
% for (my $i = 0; $i <@$trees; $i++) { |
27 | 22 |
% my $last = $i == @$trees - 1; |