Files
@ 6af3e67cc576
Branch filter:
Location: kallithea/rhodecode/templates/compare/compare_cs.html - annotation
6af3e67cc576
2.3 KiB
text/html
Add Twitter's Bootstrap 3.0.0 CSS and Javascript files, under Apache License 2.0
These files are exactly as they appear the upstream release 3.0.0 of
Bootstrap, which Twitter released under the Apache License 2.0. To extract
these files, I did the following:
I downloaded the following file:
https://github.com/twbs/bootstrap/archive/v3.0.0.zip
with sha256sum of:
$ sha256sum v3.0.0.zip
2d54f345f4abc6bf65ea648c323e9bae577e6febf755650e62555f2d7a222e17 v3.0.0.zip
And extracted from it these two files:
bootstrap-3.0.0/dist/css/bootstrap.css
bootstrap-3.0.0/dist/js/bootstrap.js
which are licensed under the Apache License 2.0.
and placed them into:
rhodecode/public/css/bootstrap.css
rhodecode/public/js/bootstrap.js
respectively.
These files are exactly as they appear the upstream release 3.0.0 of
Bootstrap, which Twitter released under the Apache License 2.0. To extract
these files, I did the following:
I downloaded the following file:
https://github.com/twbs/bootstrap/archive/v3.0.0.zip
with sha256sum of:
$ sha256sum v3.0.0.zip
2d54f345f4abc6bf65ea648c323e9bae577e6febf755650e62555f2d7a222e17 v3.0.0.zip
And extracted from it these two files:
bootstrap-3.0.0/dist/css/bootstrap.css
bootstrap-3.0.0/dist/js/bootstrap.js
which are licensed under the Apache License 2.0.
and placed them into:
rhodecode/public/css/bootstrap.css
rhodecode/public/js/bootstrap.js
respectively.
b262e349a7a5 b262e349a7a5 b262e349a7a5 16af24982e30 b262e349a7a5 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 2053053e0882 41b4edf77b5b ffd45b185016 b262e349a7a5 b262e349a7a5 ffd45b185016 ffd45b185016 ffd45b185016 b262e349a7a5 f29469677319 ffd45b185016 ffd45b185016 5f1f77948355 c9b85375776d f29469677319 f29469677319 f29469677319 f29469677319 e8db9fe4cca3 e8db9fe4cca3 e8db9fe4cca3 e8db9fe4cca3 e8db9fe4cca3 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 b262e349a7a5 b262e349a7a5 2053053e0882 2053053e0882 2053053e0882 2053053e0882 2053053e0882 b262e349a7a5 f29469677319 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 | ## Changesets table !
<div class="container">
%if not c.cs_ranges:
<span class="empty_data">${_('No changesets')}</span>
%else:
%if c.ancestor:
<div class="ancestor">${_('Ancestor')}:
${h.link_to(h.short_id(c.ancestor),h.url('changeset_home',repo_name=c.repo_name,revision=c.ancestor))}
</div>
%endif
<table class="compare_view_commits noborder">
%for cs in reversed(c.cs_ranges):
<tr id="row-${cs.raw_id}">
<td>
%if cs.raw_id in c.statuses:
<div title="${_('Changeset status: %s') % c.statuses[cs.raw_id][1]}" class="changeset-status-ico">
<img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cs.raw_id][0])}" />
</div>
%endif
</td>
<td style="min-width: 120px"><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td>
<td><div class="gravatar" commit_id="${cs.raw_id}"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td>
<td><div class="author">${h.person(cs.author)}</div></td>
<td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.other_repo.repo_name,revision=cs.raw_id))}
%if c.as_form:
${h.hidden('revisions',cs.raw_id)}
%endif
</td>
<td>
%if cs.branch:
<span class="branchtag">${cs.branch}</span>
%endif
</td>
<td class="expand_commit" commit_id="${cs.raw_id}" title="${_('Expand commit message')}">
<i class="icon-resize-vertical" style="color:#DDD"></i>
</td>
<td><div id="C-${cs.raw_id}" class="message" style="white-space:normal; height: 10px;width: 250px">${h.urlify_commit(cs.message, c.repo_name)}</div></td>
</tr>
%endfor
</table>
%if c.as_form:
${h.hidden('ancestor_rev',c.ancestor)}
${h.hidden('merge_rev',c.cs_ranges[-1].raw_id)}
%endif
%endif
</div>
<script>
$('.expand_commit').on('click',function(e){
$(this).children('i').hide();
var cid = $(this).attr('commit_id');
$('#C-'+cid).css({'height': 'auto','width': 'auto', 'white-space': 'pre'})
});
$('.gravatar').on('click',function(e){
var cid = $(this).attr('commit_id');
$('#row-'+cid).toggleClass('hl', !$('#row-'+cid).hasClass('hl'));
});
</script>
|