source: MILK/trunk/milk_server/milk_server/templates/atom_editor/layout.html @ 4472

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/atom_editor/layout.html@4472
Revision 4472, 1.9 KB checked in by cbyrom, 12 years ago (diff)

Strip out code not relevant to MILK - mainly WCS and WMS stuff - also including the CSML server code + trackback code
Also tidy up structure of 'public' dir - setting up new 'style' dir and
centralising icons in icons dir + remove all unused icons, javascript and stylesheets.
Also strip out testcase code and populate new test directory structure.

Line 
1<html lang="en" xmlns="http://www.w3.org/1999/xhtml" 
2        xmlns:py="http://genshi.edgewall.org/"
3        xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="">
4<xi:include href="../ndgPage.html" />
5
6  <py:match path="head" once="true">
7    <head py:attrs="select('@*')">
8      <title py:with="title = list(select('title/text()'))">
9        <py:if test="title">${title}</py:if>
10      </title>
11                ${Markup(h.javascript_include_tag(builtins=True))}
12                <script src="http://yui.yahooapis.com/3.0.0pr1/build/yui/yui-min.js" type="text/javascript"></script> 
13        <script type="text/javascript" src="$g.server/js/toggleDiv.js"/>
14        <script type="text/javascript" src="$g.server/js/ndgJavascript.js"/>
15        <link media="all, screen" href="$g.server/layout/style/ndg2.css" 
16                type="text/css" rel="stylesheet"/>
17
18                <!--! Include anything else specified in the parent template header -->
19            ${select('*[local-name()!="title"]')}
20    </head>
21  </py:match>
22
23  <py:match path="body" once="true">
24    <body py:attrs="select('@*')">
25    <div id="entirepage">
26      <div py:replace="header()"/>
27
28      <div id="logo"><img src="$g.LeftLogo" alt="$g.LeftAlt" /></div>
29          <span py:with="panelTab = select('panelTab/text()')" py:strip="">
30            <py:if test="panelTab">
31              <div py:replace="PageTabs(panelTab)"/>
32            </py:if>
33          </span>
34      <div py:replace="searchOneLine()"/>
35
36      <div id="content">
37                    ${select('*[local-name()!="panelTab" and local-name()!="includeCorrectionLink"]')}
38      </div>
39          <span py:with="corrLink = list(select('includeCorrectionLink/text()'))" py:strip="">
40            <py:if test="corrLink">
41              <div py:replace="corrections()"/>
42            </py:if>
43          </span>
44      <div py:replace="footer()"/>
45    </div>
46    <input py:if="c.atom and c.atom.ME" type="hidden" id="datasetID" name="datasetID" value="${c.atom.ME.providerID}__ATOM__${c.atom.datasetID}" />
47    </body>
48  </py:match>
49</html>
Note: See TracBrowser for help on using the repository browser.