Changeset 4441


Ignore:
Timestamp:
18/11/08 15:59:44 (11 years ago)
Author:
cbyrom
Message:

Add Home page link to error page + remove javascript from layout.html

  • since this doesn't work on every page + delete old atom template
  • superceded by atom_editor.html.
Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/error.html

    r4420 r4441  
    44        <xi:include href="layout.html" /> 
    55        <head> 
    6     <replace py:replace="pagehead()"/> 
     6        <title py:content="c.title">title</title> 
    77    </head> 
    8     <body> 
    9             <div id="entirepage"> 
    10         <div py:replace="header()"/> 
    11         <div py:replace="PageTabs('Details')"/> 
    12         <div py:replace="searchOneLine()"/> 
    13         <?python 
    14         id="contents" 
    15         if "ndgSec" in session: id="contentsRight" 
    16         ?>  
    17         <div id="${id}"> 
    18             <div class="error"> 
    19             $c.xml 
    20             </div> 
    21             <pre py:if="c.doc is not None"> 
     8        <body class="submit"> 
     9      <panelTab>Details</panelTab> 
     10        <div id="contents"> 
     11            <div class="metadata"> 
     12                            <h3>  $c.title </h3> 
     13                            <h3><a href="${h.url_for(controller='listatom',action='atomHome')}">Home</a></h3> 
     14                <div class="error"> 
     15                    $c.xml 
     16                </div> 
     17                <pre py:if="c.doc is not None"> 
    2218$c.doc 
    23             </pre> 
    24         </div> 
    25         <div py:replace="footer()"/> 
    26     </div> 
     19                </pre> 
     20                </div> 
     21            </div> 
    2722    </body> 
    2823</html> 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/layout.html

    r4349 r4441  
    1313        <script type="text/javascript" src="$g.server/js/toggleDiv.js"/> 
    1414        <script type="text/javascript" src="$g.server/js/ndgJavascript.js"/> 
    15                 <script type="text/javascript" src="$g.server/js/queueDeployments.js"/> 
    1615        <link media="all, screen" href="$g.server/layout/ndg2.css"  
    1716                type="text/css" rel="stylesheet"/> 
Note: See TracChangeset for help on using the changeset viewer.