src/cm/templates/site/layout/base.html
author gibus
Thu, 08 Sep 2011 15:15:23 +0200
changeset 375 d6439b3eb2de
parent 164 cc217bd00476
child 398 4d33eab2ee1b
permissions -rw-r--r--
replace 'add comment' button
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
<html>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
<head>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
	<title>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
         {% block title %}{% endblock %} - {{ CONF.workspace_name }}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     8
	</title>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     9
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    10
	<meta name="robots" content="index,follow" />
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    11
    <meta http-equiv="content-language" content="{{ LANGUAGE_CODE }}" />
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    12
    <meta name="description" content="{{ CONF.workspace_name }}" />
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    13
    <script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    14
      
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    15
    <!-- 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    16
    TODO: add conf to be able to get jquery from google
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    17
    <script src="http://www.google.com/jsapi"></script>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    18
    <script>     
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    19
    google.load("jquery", "1.3.1");
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    20
    google.load("jqueryui", "1.5.3");
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    21
    </script>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    22
     -->
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    23
  
160
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    24
    <link type="text/css" href="{{ CM_MEDIA_PREFIX }}js/lib/jquery/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />    
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    25
    <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/jquery/js/jquery-1.3.2.min.js"></script>
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    26
    <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/jquery/js/jquery-ui-1.7.2.custom.min.js"></script>
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    27
    <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/jquery/js/cookie/jquery.cookie.js"></script>
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    28
    <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/site/layout/base.js"></script>
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    29
    <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/jquery.sparkline/jquery.sparkline.min.js"></script>
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    30
160
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    31
    <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/tipsy/src/javascripts/jquery.tipsy.js"></script>
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    32
    <link type="text/css" href="{{ CM_MEDIA_PREFIX }}js/lib/tipsy/src/stylesheets/tipsy.css" rel="stylesheet" />    
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    33
      <script type="text/javascript">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    34
      <!--
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    35
      $(function() {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    36
          $('.tip').tipsy();
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    37
      }) ;
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    38
      -->      
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    39
      </script>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    40
  
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    41
      <script type="text/javascript">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    42
      <!--
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    43
      var tb_conf =  {}; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    44
      -->
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    45
      </script>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    46
  
164
cc217bd00476 add design customisation option
raph
parents: 160
diff changeset
    47
    {% if CONF.workspace_code %}
cc217bd00476 add design customisation option
raph
parents: 160
diff changeset
    48
    	{% autoescape off %}
cc217bd00476 add design customisation option
raph
parents: 160
diff changeset
    49
    	{{ CONF.workspace_code }}
cc217bd00476 add design customisation option
raph
parents: 160
diff changeset
    50
    	{% endautoescape %}
cc217bd00476 add design customisation option
raph
parents: 160
diff changeset
    51
    {% endif %}
cc217bd00476 add design customisation option
raph
parents: 160
diff changeset
    52
    	
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    53
    {% block head_base %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    54
    {% endblock %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    55
    {% block head %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    56
    {% endblock %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    57
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    58
    {% include "site/layout/req_yui.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    59
    
160
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    60
    <link rel="stylesheet" type="text/css" href="{{ CM_MEDIA_PREFIX }}css/base.css" />   
0c01050f9717 add logo in settings / fix static file settings
raph
parents: 61
diff changeset
    61
    <link rel="shortcut icon" href="{{ CM_MEDIA_PREFIX }}favicon.ico" />
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    62
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    63
    {% include "site/macros/timezone.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    64
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    65
    {# create a custom header_custom.html to add code to every page #}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    66
    {% include "header_custom.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    67
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    68
</head>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    69
	<body class="yui-base">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    70
        <div id="header">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    71
            <div class="wrapper">
61
84837aa8d2ca breadcrumbs in header
raph
parents: 0
diff changeset
    72
            	{% block breadcrumbs %}{% endblock %}
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    73
                {% include "site/layout/header.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    74
            </div>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    75
        </div>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    76
        
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    77
            {% include "site/layout/control.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    78
            {%  include "site/layout/message.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    79
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    80
        <div class="wrapper">                    
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    81
            <div id="content">        
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    82
                {% block content %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    83
                {% endblock %}        
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    84
            </div>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    85
        
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    86
            <div id="footer">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    87
            {% include "site/layout/footer.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    88
            </div>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    89
        
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    90
         </div>                     
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    91
         {% include "site/tracking.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    92
	</body>       
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    93
</html>