source: mauRepo/MolesManager/trunk/src/MolesManager/static/templates/base.html @ 8090

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/MolesManager/static/templates/base.html@8090
Revision 8090, 3.9 KB checked in by mnagni, 8 years ago (diff)

Adding in Graham's CEDA views

  • Property svn:executable set to *
Line 
1{% load i18n %}
2{% load static %}
3{% get_static_prefix as STATIC_URL %}
4
5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
7
8
9<!--  Version: Multiflex-5.4 / Overview                     -->
10<!--  Type:    Design with sidebar                          -->
11<!--  Date:    March 13, 2008                               -->
12<!--  Design:  www.1234.info                                -->
13<!--  License: Fully open source without restrictions.      -->
14<!--           Please keep footer credits with the words    -->
15<!--           "Design by 1234.info". Thank you!            -->
16
17<head>
18
19    <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 
20    <meta name="keywords" content="{% block meta_keywords %}{% endblock %}" /> 
21    <meta name="description" content="{% block meta_description %}{% endblock %}" /> 
22    <title>{% block meta_title %}{% endblock %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}</title>
23
24  <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/960/reset.css"  />
25  <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/960/960_12_col.css"  />
26  <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/960/text.css"  />
27  <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/ceda.css"  />
28
29        <script type="text/javascript">
30                console.log("load dojoConfig");
31        var dojoConfig = {
32            parseOnLoad: true,
33            isDebug: true,
34            locale: 'en-gb',
35            extraLocale: ['it-it'],
36                // Register 'ceda' js libs
37                // Make sure the module path does *not* end in a slash.           
38            paths: {"ceda": "/static/js"}
39        };
40                console.log(dojoConfig);
41    </script>
42       
43 
44    {% block extra_head %}{% endblock %}
45</head>
46
47<!-- Global IE fix to avoid layout crash when single word size wider than column width -->
48<!-- Following line MUST remain as a comment to have the proper effect -->
49<!--[if IE]><style type="text/css"> body {word-wrap: break-word;}</style><![endif]-->
50
51<body>
52  <!-- CONTAINER FOR ENTIRE PAGE -->
53  <div class="container_12 fill" id="headerContainer">
54        <div class="corner-page-top"></div> 
55       
56    <div class="grid_12 fill" id="header" >
57            <div class="header-top">
58       
59        <!-- A.1 SITENAME -->
60        <a class="sitelogo" href="/" title="Home"></a>
61          <div class="sitename">
62          </div>
63        </div>
64       
65                <div class="header-bottom">
66                        <br />
67                        <br />
68                </div>
69        </div>
70 
71 
72  </div>
73  <div class="container_12 corner-page-bottom"></div> 
74 
75    <!-- C. MAIN SECTION -->     
76        <div class="container_12 fill" id="mainContainer">
77                <div class="corner-page-top"></div>   
78<!-- Place content here -->
79                <div class="fill" id="main" >   
80                        <h1>{% block title %}{% endblock %}</h1> 
81         
82                        {% block main %}{% endblock %}
83       
84                </div>
85        </div>
86<!-- Place content above here -->
87</div>
88        <div class="container_12 fill" id="footerContainer">
89        <br />
90        <br />
91                <div id="footer" class="grid_12">
92                        <a href="http://www.ncas.ac.uk"><img src="{{ STATIC_URL }}img/ncas_logo_fullcolour.jpg" alt="NCAS logo" title="NCAS" align="left"/></a>
93                        <a href="http://www.nceo.ac.uk"><img src="{{ STATIC_URL }}img/nceo_logo.jpg" alt="NCEO logo" title="NCEO" align="right"/></a>
94                </div>
95                <div class="grid_6 push_3" id="footerStatements">
96                        <p>Copyright &copy; 2011 STFC&nbsp;&nbsp;|&nbsp;&nbsp;All Rights Reserved</p>
97         
98                        <p class="credits">Based on 960.gs with design elements from <a href="http://1234.info/" title="Designer Homepage">1234.info</a> | <a href="http://validator.w3.org/check?uri=referer" title="Validate XHTML code">XHTML 1.0</a> | <a href="http://jigsaw.w3.org/css-validator/" title="Validate CSS code">CSS 2.0</a>
99
100                </div>
101   
102        </div>   <!-- End of footer div -->
103        <div class="container_12 corner-page-bottom"></div> 
104
105</body>
106</html>
Note: See TracBrowser for help on using the repository browser.