Files
@ 6af3e67cc576
Branch filter:
Location: kallithea/rhodecode/templates/pullrequests/pullrequest_show_all.html - annotation
6af3e67cc576
1.9 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.
1bc579bcd67a 1bc579bcd67a 1bc579bcd67a ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 1bc579bcd67a 1bc579bcd67a 2ea981f9da79 2ea981f9da79 2ea981f9da79 2ea981f9da79 1bc579bcd67a 072a37c44f58 9d2db665ef31 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a 1bc579bcd67a ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 1bc579bcd67a 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 73ef2a5d3042 9d2db665ef31 73ef2a5d3042 1bc579bcd67a 1bc579bcd67a | <%inherit file="/base/base.html"/>
<%def name="title()">
${_('%s Pull Requests') % c.repo_name}
%if c.rhodecode_name:
· ${c.rhodecode_name}
%endif
</%def>
<%def name="breadcrumbs_links()">
%if c.from_:
${_('Pull requests from %s') % c.repo_name}
%else:
${_('Pull requests to %s') % c.repo_name}
%endif
</%def>
<%def name="page_nav()">
${self.menu('repositories')}
</%def>
<%def name="main()">
${self.repo_context_bar('showpullrequest')}
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
<ul class="links">
<li>
%if c.rhodecode_user.username != 'default':
<span>
<a id="open_new_pr" class="btn btn-small btn-success" href="${h.url('pullrequest_home',repo_name=c.repo_name)}"><i class="icon-plus"></i> ${_('Open new pull request')}</a>
</span>
%endif
<span>
%if c.from_:
<a class="btn btn-small" href="${h.url('pullrequest_show_all',repo_name=c.repo_name,closed=c.closed)}"><i class="icon-loop-2"></i> ${_('Show pull requests to %s') % c.repo_name}</a>
%else:
<a class="btn btn-small" href="${h.url('pullrequest_show_all',repo_name=c.repo_name,closed=c.closed,from_=1)}"><i class="icon-loop-2"></i> ${_('Show pull requests from %s') % c.repo_name}</a>
%endif
</span>
</li>
</ul>
</div>
<div style="margin: 0 20px">
<div>
%if c.closed:
${h.link_to(_('Hide closed pull requests'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_))}
%else:
${h.link_to(_('Show closed pull requests too'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_,closed=1))}
%endif
</div>
</div>
${c.pullrequest_data}
</div>
</%def>
|