Files
@ b9ea10d3e419
Branch filter:
Location: kallithea/rhodecode/templates/base/root.html - annotation
b9ea10d3e419
4.1 KiB
text/html
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
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 | 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 41241617a7a3 | ## -*- coding: utf-8 -*-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<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/icons/database_gear.png")}" type="image/png" />
<!-- stylesheets -->
${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
<!-- scripts -->
${self.js()}
</head>
<body id="body">
${next.body()}
</body>
</html>
<%def name="css()">
<link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" />
<link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css')}" />
<link rel="stylesheet" type="text/css" href="${h.url('/css/diff.css')}" />
</%def>
<%def name="js()">
<script type="text/javascript">
if (typeof console == "undefined" || typeof console.log == "undefined")
console = { log: function() {} }
</script>
% if False:
<script type="text/javascript" src="${h.url('/js/yui/utilities/utilities.js')}"></script>
<script type="text/javascript" src="${h.url('/js/yui/container/container.js')}"></script>
<script type="text/javascript" src="${h.url('/js/yui/datasource/datasource.js')}"></script>
<script type="text/javascript" src="${h.url('/js/yui/autocomplete/autocomplete.js')}"></script>
<script type="text/javascript" src="${h.url('/js/yui/selector/selector-min.js')}"></script>
% else:
<script type="text/javascript" src="${h.url('/js/yui2a.js')}"></script>
<!--[if IE]>
<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')}"></script>
% endif
<script type="text/javascript">
var YUC = YAHOO.util.Connect;
var YUD = YAHOO.util.Dom;
var YUE = YAHOO.util.Event;
</script>
<script type="text/javascript">
var base_url = "${h.url('toggle_following')}";
function onSuccess(target){
var f = YUD.get(target.id);
var f_cnt = YUD.get('current_followers_count');
if(f.getAttribute('class')=='follow'){
f.setAttribute('class','following');
f.setAttribute('title',"${_('Stop following this repository')}");
if(f_cnt){
var cnt = Number(f_cnt.innerHTML)+1;
f_cnt.innerHTML = cnt;
}
}
else{
f.setAttribute('class','follow');
f.setAttribute('title',"${_('Start following this repository')}");
if(f_cnt){
var cnt = Number(f_cnt.innerHTML)+1;
f_cnt.innerHTML = cnt;
}
}
}
function toggleFollowingUser(target,fallows_user_id,token,user_id){
args = 'follows_user_id='+fallows_user_id;
args+= '&auth_token='+token;
if(user_id != undefined){
args+="&user_id="+user_id;
}
YUC.asyncRequest('POST',base_url,{
success:function(o){
onSuccess(target);
}
},args); return false;
}
function toggleFollowingRepo(target,fallows_repo_id,token,user_id){
args = 'follows_repo_id='+fallows_repo_id;
args+= '&auth_token='+token;
if(user_id != undefined){
args+="&user_id="+user_id;
}
YUC.asyncRequest('POST',base_url,{
success:function(o){
onSuccess(target);
}
},args); return false;
}
</script>
</%def>
|