Files
@ ffd45b185016
Branch filter:
Location: kallithea/rhodecode/templates/base/root.html - annotation
ffd45b185016
8.2 KiB
text/html
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.
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | 41241617a7a3 e77fbd3b069c 1226fdf24f8a 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 ca30c9924023 c6b811f11c94 c6b811f11c94 c6b811f11c94 ffd45b185016 ffd45b185016 ffd45b185016 867820342329 ffd45b185016 ffd45b185016 c6b811f11c94 c6b811f11c94 c6b811f11c94 1226fdf24f8a 1226fdf24f8a f91d3f9b7230 41241617a7a3 f91d3f9b7230 41241617a7a3 41241617a7a3 c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af f91d3f9b7230 c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af c20adbaf16af b4f401524060 f91d3f9b7230 c6b811f11c94 c6b811f11c94 c2f131502037 c2f131502037 c2f131502037 c44645e5a836 c2f131502037 c2f131502037 c2f131502037 530bd12fc18a c44645e5a836 636ff0369986 c44645e5a836 c44645e5a836 58bb350bfef8 58bb350bfef8 549c73bfc206 549c73bfc206 37c7abd34d44 c44645e5a836 7e3d89d9d3a2 afe7c5e63aaf afe7c5e63aaf ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 c2f131502037 c2f131502037 cb40b3f6428c 5d580e9bc730 b9ba0d4d3abf 45df84d36b44 45df84d36b44 45df84d36b44 45df84d36b44 c2f131502037 867820342329 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 9d54d6516e2e c6b811f11c94 c6b811f11c94 867820342329 867820342329 cb40b3f6428c 867820342329 c6b811f11c94 c6b811f11c94 c6b811f11c94 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 269c6e0b54cc 68f9c216377d 5d580e9bc730 5d580e9bc730 5d580e9bc730 5d580e9bc730 cb40b3f6428c ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 cb40b3f6428c cb40b3f6428c fe2bb88bf7ac 45df84d36b44 ffd45b185016 f91d3f9b7230 c6b811f11c94 c6b811f11c94 bc16d1d0869a 41241617a7a3 6bef2a9f73e2 6bef2a9f73e2 41241617a7a3 41241617a7a3 e77fbd3b069c e77fbd3b069c e77fbd3b069c 85a64b981c07 e77fbd3b069c e77fbd3b069c e77fbd3b069c e77fbd3b069c e77fbd3b069c 85a64b981c07 e77fbd3b069c e77fbd3b069c 41241617a7a3 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${self.title()}</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="robots" content="index, nofollow"/>
<link rel="icon" href="${h.url('/images/favicon.ico')}" type="image/png" />
## CSS ###
<%def name="css()">
<link rel="stylesheet" type="text/css" href="${h.url('/css/fontawesome_extension.css')}" media="screen"/>
<link rel="stylesheet" type="text/css" href="${h.url('/css/fontawesome.css')}" media="screen"/>
<link rel="stylesheet" type="text/css" href="${h.url('/js/select2/select2.css', ver=c.rhodecode_version)}"/>
<link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css', ver=c.rhodecode_version)}"/>
<link rel="stylesheet" type="text/css" href="${h.url('/css/newstyle.css', ver=c.rhodecode_version)}" media="screen"/>
<link rel="stylesheet" type="text/css" href="${h.url('/css/bootstrap.css', ver=c.rhodecode_version)}" media="screen"/>
## EXTRA FOR CSS
${self.css_extra()}
</%def>
<%def name="css_extra()"></%def>
${self.css()}
%if c.ga_code:
<!-- Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '${c.ga_code}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
%endif
## JAVASCRIPT ##
<%def name="js()">
<script type="text/javascript">
//JS translations map
var TRANSLATION_MAP = {
'Add another comment':'${_("Add another comment")}',
'Stop following this repository':"${_('Stop following this repository')}",
'Start following this repository':"${_('Start following this repository')}",
'Group':"${_('Group')}",
'members':"${_('members')}",
'Loading ...':"${_('Loading ...')}",
'loading ...':"${_('loading ...')}",
'Search truncated': "${_('Search truncated')}",
'No matching files': "${_('No matching files')}",
'Open new pull request': "${_('Open new pull request')}",
'Open new pull request for selected changesets': "${_('Open new pull request for selected changesets')}",
'Show selected changesets __S -> __E': "${_('Show selected changesets __S -> __E')}",
'Show selected changeset __S': "${_('Show selected changeset __S')}",
'Selection link': "${_('Selection link')}",
'Collapse diff': "${_('Collapse diff')}",
'Expand diff': "${_('Expand diff')}",
'Failed to revoke permission': "${_('Failed to revoke permission')}",
'Confirm to revoke permission for {0}: {1} ?': "${_('confirm to revoke permission for {0}: {1} ?')}",
'enabled': "${_('enabled')}",
'disabled': "${_('disabled')}",
'Select changeset': "${_('Select changeset')}",
'specify changeset': "${_('specify changeset')}",
'MSG_SORTASC': "${_('Click to sort ascending')}",
'MSG_SORTDESC': "${_('Click to sort descending')}",
'MSG_EMPTY': "${_('No records found.')}",
'MSG_ERROR': "${_('Data error.')}",
'MSG_LOADING': "${_('Loading...')}",
};
var _TM = TRANSLATION_MAP;
var TOGGLE_FOLLOW_URL = "${h.url('toggle_following')}";
var REPO_NAME = "";
%if hasattr(c, 'repo_name'):
var REPO_NAME = "${c.repo_name}";
%endif
</script>
<script type="text/javascript" src="${h.url('/js/yui.2.9.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/jquery-1.10.2.min.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/bootstrap.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/select2/select2.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/mousetrap.js', ver=c.rhodecode_version)}"></script>
<!--[if lt IE 9]>
<script language="javascript" type="text/javascript" src="${h.url('/js/excanvas.min.js')}"></script>
<![endif]-->
<script type="text/javascript" src="${h.url('/js/yui.flot.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/native.history.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/pyroutes_map.js', ver=c.rhodecode_version)}"></script>
<script type="text/javascript" src="${h.url('/js/rhodecode.js', ver=c.rhodecode_version)}"></script>
## EXTRA FOR JS
${self.js_extra()}
<script type="text/javascript">
(function(window,undefined){
// Prepare
var History = window.History; // Note: We are using a capital H instead of a lower h
if ( !History.enabled ) {
// History.js is disabled for this browser.
// This is because we can optionally choose to support HTML4 browsers or not.
return false;
}
})(window);
YUE.onDOMReady(function(){
tooltip_activate();
show_more_event();
show_changeset_tooltip();
// routes registration
pyroutes.register('home', "${h.url('home')}", []);
pyroutes.register('new_gist', "${h.url('new_gist')}", []);
pyroutes.register('gists', "${h.url('gists')}", []);
pyroutes.register('new_repo', "${h.url('new_repo')}", []);
pyroutes.register('summary_home', "${h.url('summary_home', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('changelog_home', "${h.url('changelog_home', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('files_home', "${h.url('files_home', repo_name='%(repo_name)s',revision='%(revision)s',f_path='%(f_path)s')}", ['repo_name', 'revision', 'f_path']);
pyroutes.register('edit_repo', "${h.url('edit_repo', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('edit_repo_perms', "${h.url('edit_repo_perms', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('pullrequest_home', "${h.url('pullrequest_home', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('toggle_following', "${h.url('toggle_following')}");
pyroutes.register('changeset_info', "${h.url('changeset_info', repo_name='%(repo_name)s', revision='%(revision)s')}", ['repo_name', 'revision']);
pyroutes.register('repo_size', "${h.url('repo_size', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('changeset_comment_preview', "${h.url('changeset_comment_preview', repo_name='%(repo_name)s')}", ['repo_name']);
pyroutes.register('repo_refs_data', "${h.url('repo_refs_data', repo_name='%(repo_name)s')}", ['repo_name']);
})
</script>
</%def>
<%def name="js_extra()"></%def>
${self.js()}
<%def name="head_extra()"></%def>
${self.head_extra()}
</head>
<body id="body">
## IE hacks
<!--[if IE 7]>
<script>YUD.addClass(document.body,'ie7')</script>
<![endif]-->
<!--[if IE 8]>
<script>YUD.addClass(document.body,'ie8')</script>
<![endif]-->
<!--[if IE 9]>
<script>YUD.addClass(document.body,'ie9')</script>
<![endif]-->
${next.body()}
</body>
</html>
|