... | ... |
@@ -37,7 +37,9 @@ |
37 | 37 |
padding-top:5px; |
38 | 38 |
padding-bottom:5px; |
39 | 39 |
} |
40 |
- |
|
40 |
+ .padding5 { |
|
41 |
+ padding:5px; |
|
42 |
+ } |
|
41 | 43 |
/* space */ |
42 | 44 |
.space5 { |
43 | 45 |
display:inline-block; |
... | ... |
@@ -201,39 +201,42 @@ |
201 | 201 |
|
202 | 202 |
<div class="tab-content"> |
203 | 203 |
<div class="tab-pane active" id="commits"> |
204 |
- <div class="commits_number"> |
|
204 |
+ <div> |
|
205 | 205 |
Showing <%= @$commits %> commits by <%= $authors_count %> author. |
206 | 206 |
</div> |
207 | 207 |
|
208 | 208 |
% for my $date (reverse sort keys %$commits_date) { |
209 |
- <div class="commits"> |
|
210 |
- % my $commits = $commits_date->{$date}; |
|
211 |
- |
|
212 |
- <div class="cdate"><%= $date %></div> |
|
209 |
+ % my $commits = $commits_date->{$date}; |
|
210 |
+ |
|
211 |
+ <div class="bk-gray-light border-gray padding5" style="border-bottom:none"> |
|
212 |
+ <%= $date %> |
|
213 |
+ </div> |
|
214 |
+ |
|
215 |
+ <div style="margin-bottom:20px"> |
|
213 | 216 |
% for my $commit (sort {$b->{author_epoch} <=> $a->{author_epoch}} @$commits) { |
214 |
- <table class="cbody"> |
|
215 |
- <tr class="crecord"> |
|
216 |
- <td class="cauthor"> |
|
217 |
+ <div class="border-gray padding5"> |
|
218 |
+ <div class="row"> |
|
219 |
+ <div class="span2"> |
|
217 | 220 |
<%= $commit->{author_name} %> |
218 |
- </td> |
|
219 |
- <td class="ccomment"> |
|
220 |
- <a class="ubar" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
221 |
+ </div> |
|
222 |
+ <div class="span2"> |
|
223 |
+ <a class="muted" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
221 | 224 |
<%= $commit->{title_short} %> |
222 | 225 |
</a> |
223 |
- </td> |
|
224 |
- <td class="cid"> |
|
225 |
- <a class="ubar" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
226 |
+ </div> |
|
227 |
+ <div class="span7 text-right"> |
|
228 |
+ <a href="<%= url_for("/$user/$project/commit/$commit->{id}") %>"> |
|
226 | 229 |
<%= substr($commit->{id}, 0, 7) %> |
227 | 230 |
</a> |
228 |
- </td> |
|
229 |
- </tr> |
|
230 |
- </table> |
|
231 |
+ </div> |
|
232 |
+ </div> |
|
233 |
+ </div> |
|
231 | 234 |
% } |
232 | 235 |
</div> |
233 | 236 |
% } |
234 | 237 |
</div> |
235 | 238 |
<div class="tab-pane" id="file-changed"> |
236 |
- <div style="margin-top:10px;margin-bottom:10px;"> |
|
239 |
+ <div> |
|
237 | 240 |
<%= include '/include/difftree', id => $end_commit->{id}, from_id => $start_commit->{id}, |
238 | 241 |
difftrees => $difftrees, parents => [], project_ns => $project %> |
239 | 242 |
</div> |