##// END OF EJS Templates
Update LICENSE.md to include license information about Select2...
Update LICENSE.md to include license information about Select2 License details were taken from the LICENSE file in Select2 distribution.

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4129:3e32980f rhodecode-2.2.5-gpl
Show More
root.html
155 lines | 8.2 KiB | text/html | HtmlLexer
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ## -*- coding: utf-8 -*-
IE ui fixes ref #349
r2163 <!DOCTYPE html>
fixed typo remoke -> revoke
r3950
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 <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"/>
Use separate icon as favicon
r3954 <link rel="icon" href="${h.url('/images/favicon.ico')}" type="image/png" />
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421
## CSS ###
<%def name="css()">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <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)}"/>
fix for #569 add version to static files for rhodecode to overcome cache problems
r2850 <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css', ver=c.rhodecode_version)}"/>
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <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"/>
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 ## EXTRA FOR CSS
${self.css_extra()}
</%def>
fixed typo remoke -> revoke
r3950
<%def name="css_extra()"></%def>
White-space cleanup
r1888
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ${self.css()}
White-space cleanup
r1888
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 %if c.ga_code:
<!-- Analytics -->
Mads Kiilerich
html: random indentation fixes
r3198 <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '${c.ga_code}']);
_gaq.push(['_trackPageview']);
White-space cleanup
r1888
Mads Kiilerich
html: random indentation fixes
r3198 (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>
Mads Kiilerich
html: don't use tabs
r3197 %endif
White-space cleanup
r1888
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 ## JAVASCRIPT ##
<%def name="js()">
Autocomplete fixes...
r2369 <script type="text/javascript">
//JS translations map
var TRANSLATION_MAP = {
Mads Kiilerich
fix casings
r3516 'Add another comment':'${_("Add another comment")}',
Autocomplete fixes...
r2369 'Stop following this repository':"${_('Stop following this repository')}",
'Start following this repository':"${_('Start following this repository')}",
'Group':"${_('Group')}",
removed JSON array envelope from filter files function...
r2428 'members':"${_('members')}",
Mads Kiilerich
fix casings
r3516 'Loading ...':"${_('Loading ...')}",
fixed hover loading ... info on lazy-cs...
r3966 'loading ...':"${_('loading ...')}",
Mads Kiilerich
fix casings
r3516 'Search truncated': "${_('Search truncated')}",
'No matching files': "${_('No matching files')}",
Don't allow cherry picking changesets from the changelog using checkboxes....
r2927 'Open new pull request': "${_('Open new pull request')}",
'Open new pull request for selected changesets': "${_('Open new pull request for selected changesets')}",
Mads Kiilerich
changelog / compare: adjust titles...
r3592 'Show selected changesets __S -> __E': "${_('Show selected changesets __S -> __E')}",
'Show selected changeset __S': "${_('Show selected changeset __S')}",
implements #636, lazy loading of history and authors to speed up page responsiveness....
r3001 'Selection link': "${_('Selection link')}",
Mads Kiilerich
fix casings
r3516 'Collapse diff': "${_('Collapse diff')}",
- Manage User’s Groups: create, delete, rename, add/remove users inside....
r3714 'Expand diff': "${_('Expand diff')}",
UX: require confirmation of revoking permissions on...
r4064 'Failed to revoke permission': "${_('Failed to revoke permission')}",
'Confirm to revoke permission for {0}: {1} ?': "${_('confirm to revoke permission for {0}: {1} ?')}",
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 '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...')}",
Autocomplete fixes...
r2369 };
var _TM = TRANSLATION_MAP;
review members are dynamically changed based on selected other_repo owner...
r3388
JS cleanup
r3066 var TOGGLE_FOLLOW_URL = "${h.url('toggle_following')}";
implemented #83 show repo size on summary page
r3246
Implemented preview for comments
r3695 var REPO_NAME = "";
%if hasattr(c, 'repo_name'):
var REPO_NAME = "${c.repo_name}";
%endif
Autocomplete fixes...
r2369 </script>
fix for #569 add version to static files for rhodecode to overcome cache problems
r2850 <script type="text/javascript" src="${h.url('/js/yui.2.9.js', ver=c.rhodecode_version)}"></script>
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <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>
disabled ext canvas for >ie9
r2141 <!--[if lt IE 9]>
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 <script language="javascript" type="text/javascript" src="${h.url('/js/excanvas.min.js')}"></script>
<![endif]-->
fix for #569 add version to static files for rhodecode to overcome cache problems
r2850 <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>
review members are dynamically changed based on selected other_repo owner...
r3388 <script type="text/javascript" src="${h.url('/js/pyroutes_map.js', ver=c.rhodecode_version)}"></script>
fix for #569 add version to static files for rhodecode to overcome cache problems
r2850 <script type="text/javascript" src="${h.url('/js/rhodecode.js', ver=c.rhodecode_version)}"></script>
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 ## EXTRA FOR JS
${self.js_extra()}
<script type="text/javascript">
Reimplemented file-browser using partial-ajax...
r2686 (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);
white space cleanup
r3149
JS cleanup
r3066 YUE.onDOMReady(function(){
tooltip_activate();
show_more_event();
show_changeset_tooltip();
review members are dynamically changed based on selected other_repo owner...
r3388 // routes registration
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 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']);
review members are dynamically changed based on selected other_repo owner...
r3388 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']);
whitespace cleanup
r3394 pyroutes.register('repo_size', "${h.url('repo_size', repo_name='%(repo_name)s')}", ['repo_name']);
Implemented preview for comments
r3695 pyroutes.register('changeset_comment_preview', "${h.url('changeset_comment_preview', repo_name='%(repo_name)s')}", ['repo_name']);
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 pyroutes.register('repo_refs_data', "${h.url('repo_refs_data', repo_name='%(repo_name)s')}", ['repo_name']);
White-space cleanup
r1888 })
Javascripts rewrite: updated yui to latest 2.9, simplified ajax loading for multiple pages. Removed YUI dev package
r1421 </script>
</%def>
js cleanup
r1700 <%def name="js_extra()"></%def>
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 ${self.js()}
added discoverable rss/atom links in pages
r2413 <%def name="head_extra()"></%def>
${self.head_extra()}
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 </head>
<body id="body">
IE ui fixes ref #349
r2163 ## IE hacks
<!--[if IE 7]>
<script>YUD.addClass(document.body,'ie7')</script>
ws cleanup, +changelog
r2174 <![endif]-->
IE ui fixes ref #349
r2163 <!--[if IE 8]>
<script>YUD.addClass(document.body,'ie8')</script>
<![endif]-->
<!--[if IE 9]>
<script>YUD.addClass(document.body,'ie9')</script>
ws cleanup, +changelog
r2174 <![endif]-->
IE ui fixes ref #349
r2163
${next.body()}
rewrote templates, all small pages will inherit from root for easier changes and controll
r1157 </body>
White-space cleanup
r1888 </html>