Show More
@@ -15,7 +15,6 b'' | |||
|
15 | 15 | margin-bottom: 20px; |
|
16 | 16 | |
|
17 | 17 | .summary-detail-header { |
|
18 | float: left; | |
|
19 | 18 | display: block; |
|
20 | 19 | width: 100%; |
|
21 | 20 | margin-bottom: @textmargin; |
@@ -23,13 +22,12 b'' | |||
|
23 | 22 | border-bottom: @border-thickness solid @border-default-color; |
|
24 | 23 | |
|
25 | 24 | .breadcrumbs { |
|
26 | float: left; | |
|
27 | 25 | display: inline; |
|
28 | 26 | margin: 0; |
|
29 | 27 | padding: 0; |
|
30 | 28 | } |
|
29 | ||
|
31 | 30 | h4 { |
|
32 | float: left; | |
|
33 | 31 | margin: 0 1em 0 0; |
|
34 | 32 | padding: 0; |
|
35 | 33 | line-height: 1.2em; |
@@ -192,6 +190,12 b'' | |||
|
192 | 190 | } |
|
193 | 191 | } |
|
194 | 192 | |
|
193 | .summary { | |
|
194 | .fieldset { | |
|
195 | margin-bottom: 0; | |
|
196 | } | |
|
197 | } | |
|
198 | ||
|
195 | 199 | .fieldset { |
|
196 | 200 | |
|
197 | 201 | .left-label { // similar to form legend |
@@ -223,6 +227,13 b'' | |||
|
223 | 227 | width: ~"calc(50% - 20px)"; |
|
224 | 228 | float: left; |
|
225 | 229 | margin: 15px 0 15px 20px; |
|
230 | ||
|
231 | .rc-user { | |
|
232 | min-width: auto; | |
|
233 | max-width: none; | |
|
234 | min-height: auto; | |
|
235 | padding-right: 5px; | |
|
236 | } | |
|
226 | 237 | } |
|
227 | 238 | |
|
228 | 239 | .right-content { // similar to form fields |
@@ -258,6 +269,10 b'' | |||
|
258 | 269 | color: @grey1; |
|
259 | 270 | } |
|
260 | 271 | } |
|
272 | .commit { | |
|
273 | color: @grey1; | |
|
274 | margin-bottom: 10px; | |
|
275 | } | |
|
261 | 276 | .commit.truncate-wrap { |
|
262 | 277 | overflow:hidden; |
|
263 | 278 | text-overflow: ellipsis; |
@@ -46,6 +46,11 b' h6, .h6 { font-size: 1em; font-weight' | |||
|
46 | 46 | .breadcrumbs { |
|
47 | 47 | font-size: @repo-title-fontsize; |
|
48 | 48 | margin: 0; |
|
49 | ||
|
50 | h4 { | |
|
51 | font-size: @basefontsize; | |
|
52 | margin-bottom: 15px; | |
|
53 | } | |
|
49 | 54 | } |
|
50 | 55 | |
|
51 | 56 | .breadcrumbs_light { |
@@ -27,7 +27,7 b'' | |||
|
27 | 27 | </%def> |
|
28 | 28 | |
|
29 | 29 | <%def name="main()"> |
|
30 |
<div id="pjax-container" |
|
|
30 | <div id="pjax-container"> | |
|
31 | 31 | <div id="files_data"> |
|
32 | 32 | <%include file='files_pjax.mako'/> |
|
33 | 33 | </div> |
@@ -19,15 +19,12 b'' | |||
|
19 | 19 | <div class="summary-detail-header"> |
|
20 | 20 | <div class="breadcrumbs files_location"> |
|
21 | 21 | <h4> |
|
22 |
|
|
|
22 | ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path)} | |
|
23 | 23 | %if c.annotate: |
|
24 | 24 | - ${_('annotation')} |
|
25 | 25 | %endif |
|
26 | 26 | </h4> |
|
27 | 27 | </div> |
|
28 | <div class="btn-collapse" data-toggle="summary-details"> | |
|
29 | ${_('Show More')} | |
|
30 | </div> | |
|
31 | 28 | </div><!--end summary-detail-header--> |
|
32 | 29 | |
|
33 | 30 | % if c.file.is_submodule(): |
@@ -1,26 +1,22 b'' | |||
|
1 | 1 | <%namespace name="base" file="/base/base.mako"/> |
|
2 | 2 | <%namespace name="file_base" file="/files/base.mako"/> |
|
3 | 3 | |
|
4 | <div class="summary"> | |
|
5 | <div class="fieldset"> | |
|
6 | <div class="left-content"> | |
|
4 | 7 | <div class="fieldset collapsable-content no-hide" data-toggle="summary-details"> |
|
5 | <div class="left-label"> | |
|
6 | ${_('Description')}: | |
|
7 | </div> | |
|
8 | <div class="commit right-content truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> | |
|
8 | <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> | |
|
9 | 9 | </div> |
|
10 | 10 | |
|
11 | 11 | <div class="fieldset collapsable-content" data-toggle="summary-details"> |
|
12 | <div class="left-label"> | |
|
13 | ${_('Description')}: | |
|
14 | </div> | |
|
15 | <div class="commit right-content">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> | |
|
12 | <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> | |
|
16 | 13 | </div> |
|
17 | 14 | |
|
18 | <div class="fieldset"> | |
|
19 | <div class="left-label"> | |
|
20 | ${_('References')}: | |
|
15 | <div class="clear-fix">${base.gravatar_with_user(c.commit.author)}-${h.age_component(c.commit.date)}</div> | |
|
21 | 16 | </div> |
|
17 | ||
|
22 | 18 | <div class="right-content"> |
|
23 | <div class="tags"> | |
|
19 | <div class="tags commit-info"> | |
|
24 | 20 | <code> |
|
25 | 21 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> |
|
26 | 22 | </code> |
@@ -28,18 +24,14 b'' | |||
|
28 | 24 | ${file_base.refs(c.commit)} |
|
29 | 25 | </div> |
|
30 | 26 | </div> |
|
27 | <div class="clear-fix"> | |
|
31 | 28 | </div> |
|
32 | 29 | |
|
33 | <div class="fieldset"> | |
|
34 | <div class="left-label"> | |
|
35 |
${_(' |
|
|
36 | </div> | |
|
37 | <div class="right-content"> | |
|
38 | ${base.gravatar_with_user(c.commit.author)} | |
|
39 | <div class="user-inline-data">- ${h.age_component(c.commit.date)}</div> | |
|
30 | ||
|
31 | <div class="btn-collapse" data-toggle="summary-details"> | |
|
32 | ${_('Show More')} | |
|
40 | 33 | </div> |
|
41 | 34 | </div> |
|
42 | ||
|
43 | 35 | <script> |
|
44 | 36 | collapsableContent(); |
|
45 | 37 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now