Mercurial > kallithea
comparison rhodecode/templates/files/files_browser.html @ 4116:ffd45b185016 rhodecode-2.2.5-gpl
Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
This imports changes between changesets 21af6c4eab3d and 6177597791c2 in
RhodeCode's original repository, including only changes to Python files and HTML.
RhodeCode clearly licensed its changes to these files under GPLv3
in their /LICENSE file, which states the following:
The Python code and integrated HTML are licensed under the GPLv3 license.
(See:
https://code.rhodecode.com/rhodecode/files/v2.2.5/LICENSE
or
http://web.archive.org/web/20140512193334/https://code.rhodecode.com/rhodecode/files/f3b123159901f15426d18e3dc395e8369f70ebe0/LICENSE
for an online copy of that LICENSE file)
Conservancy reviewed these changes and confirmed that they can be licensed as
a whole to the Kallithea project under GPLv3-only.
While some of the contents committed herein are clearly licensed
GPLv3-or-later, on the whole we must assume the are GPLv3-only, since the
statement above from RhodeCode indicates that they intend GPLv3-only as their
license, per GPLv3ยง14 and other relevant sections of GPLv3.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:03:13 -0400 |
parents | 3563bb7b4b82 |
children | 1cb909e6fc6d |
comparison
equal
deleted
inserted
replaced
4115:8b7294a804a0 | 4116:ffd45b185016 |
---|---|
8 <div id="body" class="browserblock"> | 8 <div id="body" class="browserblock"> |
9 <div class="browser-header"> | 9 <div class="browser-header"> |
10 <div class="browser-nav"> | 10 <div class="browser-nav"> |
11 ${h.form(h.url.current())} | 11 ${h.form(h.url.current())} |
12 <div class="info_box"> | 12 <div class="info_box"> |
13 <span class="rev">${_('View')}@rev</span> | 13 <div class="info_box_elem rev">${_('revision')}</div> |
14 <a class="ui-btn ypjax-link" href="${c.url_prev}" title="${_('Previous revision')}">«</a> | 14 <div class="info_box_elem"><a class="btn btn-mini ypjax-link" href="${c.url_prev}" title="${_('Previous revision')}"><i class="icon-chevron-left"></i></a></div> |
15 ${h.text('at_rev',value=c.changeset.revision,size=5)} | 15 <div class="info_box_elem">${h.text('at_rev',value=c.changeset.revision,size=5)}</div> |
16 <a class="ui-btn ypjax-link" href="${c.url_next}" title="${_('Next revision')}">»</a> | 16 <div class="info_box_elem"><a class="btn btn-mini ypjax-link" href="${c.url_next}" title="${_('Next revision')}"><i class="icon-chevron-right"></i></a></div> |
17 ## ${h.submit('view',_('View'),class_="ui-btn")} | |
18 </div> | 17 </div> |
19 ${h.end_form()} | 18 ${h.end_form()} |
20 </div> | 19 </div> |
21 <div class="browser-branch"> | 20 <div class="browser-branch"> |
22 ${h.checkbox('stay_at_branch',c.changeset.branch,c.changeset.branch==c.branch)} | 21 ${h.checkbox('stay_at_branch',c.changeset.branch,c.changeset.branch==c.branch)} |
23 <label>${_('Follow current branch')}</label> | 22 <label>${_('Follow current branch')}</label> |
24 </div> | 23 </div> |
24 <div id="search_activate_id" class="search_activate"> | |
25 <a class="btn btn-mini" id="filter_activate" href="#">${_('Search File List')}</a> | |
26 </div> | |
25 <div class="browser-search"> | 27 <div class="browser-search"> |
26 <div id="search_activate_id" class="search_activate"> | 28 <div> |
27 <a class="ui-btn" id="filter_activate" href="#">${_('Search file list')}</a> | 29 <div id="node_filter_box_loading" style="display:none">${_('Loading file list...')}</div> |
28 </div> | 30 <div id="node_filter_box" style="display:none"> |
29 % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): | 31 ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.file.path)}/<input class="init" type="text" value="type to search..." name="filter" size="25" id="node_filter" autocomplete="off"> |
30 <div id="add_node_id" class="add_node"> | 32 </div> |
31 <a class="ui-btn" href="${h.url('files_add_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path)}">${_('Add new file')}</a> | |
32 </div> | |
33 % endif | |
34 <div> | |
35 <div id="node_filter_box_loading" style="display:none">${_('Loading file list...')}</div> | |
36 <div id="node_filter_box" style="display:none"> | |
37 ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.file.path)}/<input class="init" type="text" value="type to search..." name="filter" size="25" id="node_filter" autocomplete="off"> | |
38 </div> | 33 </div> |
39 </div> | |
40 </div> | 34 </div> |
41 </div> | 35 </div> |
42 | 36 |
43 <div class="browser-body"> | 37 <div class="browser-body"> |
44 <table class="code-browser"> | 38 <table class="code-browser"> |
112 <tbody id="tbody_filtered" style="display:none"> | 106 <tbody id="tbody_filtered" style="display:none"> |
113 </tbody> | 107 </tbody> |
114 </table> | 108 </table> |
115 </div> | 109 </div> |
116 </div> | 110 </div> |
111 | |
112 <script> | |
113 $(document).ready(function(){ | |
114 // init node filter if we pass GET param ?search=1 | |
115 var search_GET = "${request.GET.get('search','')}"; | |
116 if(search_GET == "1"){ | |
117 _NODEFILTER.initFilter(); | |
118 } | |
119 }) | |
120 </script> |