##// END OF EJS Templates
css: merge/branch/tag blurbs
Aras Pranckevicius -
r1856:0855c64c beta
parent child Browse files
Show More
@@ -2342,9 +2342,17 b' h3.files_location {'
2342 }
2342 }
2343
2343
2344 .right .merge {
2344 .right .merge {
2345 vertical-align: top;
2345 padding: 1px 3px 1px 3px;
2346 font-size: 0.75em;
2346 background-color: #fca062;
2347 font-weight: 700;
2347 font-size: 10px;
2348 font-weight: bold;
2349 color: #ffffff;
2350 text-transform: uppercase;
2351 white-space: nowrap;
2352 -webkit-border-radius: 3px;
2353 -moz-border-radius: 3px;
2354 border-radius: 3px;
2355 margin-right: 2px;
2348 }
2356 }
2349
2357
2350 .right .parent {
2358 .right .parent {
@@ -2354,9 +2362,9 b' h3.files_location {'
2354 padding: 2px 2px 2px 2px;
2362 padding: 2px 2px 2px 2px;
2355 }
2363 }
2356 .right .logtags .branchtag,.logtags .branchtag {
2364 .right .logtags .branchtag,.logtags .branchtag {
2357 padding: 1px 3px 2px;
2365 padding: 1px 3px 1px 3px;
2358 background-color: #bfbfbf;
2366 background-color: #bfbfbf;
2359 font-size: 9.75px;
2367 font-size: 10px;
2360 font-weight: bold;
2368 font-weight: bold;
2361 color: #ffffff;
2369 color: #ffffff;
2362 text-transform: uppercase;
2370 text-transform: uppercase;
@@ -2364,7 +2372,6 b' h3.files_location {'
2364 -webkit-border-radius: 3px;
2372 -webkit-border-radius: 3px;
2365 -moz-border-radius: 3px;
2373 -moz-border-radius: 3px;
2366 border-radius: 3px;
2374 border-radius: 3px;
2367 padding-left:4px;
2368 }
2375 }
2369 .right .logtags .branchtag a:hover,.logtags .branchtag a{
2376 .right .logtags .branchtag a:hover,.logtags .branchtag a{
2370 color: #ffffff;
2377 color: #ffffff;
@@ -2374,9 +2381,9 b' h3.files_location {'
2374 color: #ffffff;
2381 color: #ffffff;
2375 }
2382 }
2376 .right .logtags .tagtag,.logtags .tagtag {
2383 .right .logtags .tagtag,.logtags .tagtag {
2377 padding: 1px 3px 2px;
2384 padding: 1px 3px 1px 3px;
2378 background-color: #62cffc;
2385 background-color: #62cffc;
2379 font-size: 9.75px;
2386 font-size: 10px;
2380 font-weight: bold;
2387 font-weight: bold;
2381 color: #ffffff;
2388 color: #ffffff;
2382 text-transform: uppercase;
2389 text-transform: uppercase;
@@ -65,10 +65,7 b''
65 <div id="${cs.raw_id}_changes_info" class="changes">
65 <div id="${cs.raw_id}_changes_info" class="changes">
66 <span id="${cs.raw_id}" class="changed_total tooltip" title="${_('Affected number of files, click to show more details')}">${len(cs.affected_files)}</span>
66 <span id="${cs.raw_id}" class="changed_total tooltip" title="${_('Affected number of files, click to show more details')}">${len(cs.affected_files)}</span>
67 </div>
67 </div>
68 %if len(cs.parents)>1:
68 %if cs.parents:
69 <div class="merge">${_('merge')}</div>
70 %endif
71 %if cs.parents:
72 %for p_cs in reversed(cs.parents):
69 %for p_cs in reversed(cs.parents):
73 <div class="parent">${_('Parent')}
70 <div class="parent">${_('Parent')}
74 <span class="changeset_id">${p_cs.revision}:<span class="changeset_hash">${h.link_to(h.short_id(p_cs.raw_id),
71 <span class="changeset_id">${p_cs.revision}:<span class="changeset_hash">${h.link_to(h.short_id(p_cs.raw_id),
@@ -80,6 +77,9 b''
80 %endif
77 %endif
81
78
82 <span class="logtags">
79 <span class="logtags">
80 %if len(cs.parents)>1:
81 <span class="merge">${_('merge')}</span>
82 %endif
83 %if cs.branch:
83 %if cs.branch:
84 <span class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}">
84 <span class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}">
85 ${h.link_to(cs.branch,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
85 ${h.link_to(cs.branch,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
@@ -68,11 +68,6 b''
68 <span class="added" title="${_('affected %s files') % len(c.changeset.affected_files)}">!</span>
68 <span class="added" title="${_('affected %s files') % len(c.changeset.affected_files)}">!</span>
69 % endif
69 % endif
70 </div>
70 </div>
71 %if len(c.changeset.parents)>1:
72 <div class="merge">
73 ${_('merge')}<img alt="merge" src="${h.url('/images/icons/arrow_join.png')}"/>
74 </div>
75 %endif
76
71
77 %if c.changeset.parents:
72 %if c.changeset.parents:
78 %for p_cs in reversed(c.changeset.parents):
73 %for p_cs in reversed(c.changeset.parents):
@@ -84,6 +79,9 b''
84 <div class="parent">${_('No parents')}</div>
79 <div class="parent">${_('No parents')}</div>
85 %endif
80 %endif
86 <span class="logtags">
81 <span class="logtags">
82 %if len(c.changeset.parents)>1:
83 <span class="merge">${_('merge')}</span>
84 %endif
87 <span class="branchtag" title="${'%s %s' % (_('branch'),c.changeset.branch)}">
85 <span class="branchtag" title="${'%s %s' % (_('branch'),c.changeset.branch)}">
88 ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}</span>
86 ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}</span>
89 %for tag in c.changeset.tags:
87 %for tag in c.changeset.tags:
General Comments 0
You need to be logged in to leave comments. Login now