Files @ 809fe2d392f8
Branch filter:

Location: kallithea/rhodecode/templates/base/root.html - annotation

Mads Kiilerich
my_account: change markup so permission list get perms.table style
41241617a7a3
e77fbd3b069c
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
867820342329
867820342329
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
f91d3f9b7230
41241617a7a3
f91d3f9b7230
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
f91d3f9b7230
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
41241617a7a3
f91d3f9b7230
c6b811f11c94
c6b811f11c94
c2f131502037
c2f131502037
c2f131502037
c2f131502037
c2f131502037
c2f131502037
c2f131502037
530bd12fc18a
95f03f8f5f9a
530bd12fc18a
58bb350bfef8
58bb350bfef8
58bb350bfef8
58bb350bfef8
37c7abd34d44
c2f131502037
c2f131502037
5d580e9bc730
5d7f6b22d6b4
c2f131502037
867820342329
9d54d6516e2e
c6b811f11c94
c6b811f11c94
867820342329
867820342329
867820342329
c6b811f11c94
c6b811f11c94
c6b811f11c94
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
269c6e0b54cc
68f9c216377d
5d580e9bc730
5d580e9bc730
5d580e9bc730
5d580e9bc730
f91d3f9b7230
5d580e9bc730
f91d3f9b7230
bc16d1d0869a
68f9c216377d
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
c6b811f11c94
049bc911b04f
049bc911b04f
049bc911b04f
049bc911b04f
c6b811f11c94
5d580e9bc730
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/icons/database_gear.png')}" type="image/png" />

        ## CSS ###
        <%def name="css()">
            <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css', ver=c.rhodecode_version)}" media="screen"/>
            <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css', ver=c.rhodecode_version)}"/>
            ## 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...')}",
                '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 changes __S -> __E': "${_('Show selected changes __S -> __E')}",
                'Selection link': "${_('Selection link')}",
            };
            var _TM = TRANSLATION_MAP;
            var TOGGLE_FOLLOW_URL  = "${h.url('toggle_following')}";
            var LAZY_CS_URL = "${h.url('changeset_info', repo_name='__NAME__', revision='__REV__')}"
            </script>
            <script type="text/javascript" src="${h.url('/js/yui.2.9.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/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();

              YUE.on('quick_login_link','click',function(e){
                 // make sure we don't redirect
                 YUE.preventDefault(e);

                 if(YUD.hasClass('quick_login_link','enabled')){
                     YUD.setStyle('quick_login','display','none');
                     YUD.removeClass('quick_login_link','enabled');
                 }
                 else{
                     YUD.setStyle('quick_login','display','');
                     YUD.addClass('quick_login_link','enabled');
                     var usr = YUD.get('username');
                     if(usr){
                    	 usr.focus();
                     }
                 }
              });
           })
            </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>