Changeset 4443 for TI05-delivery


Ignore:
Timestamp:
18/11/08 16:33:21 (11 years ago)
Author:
cbyrom
Message:

Move deployments summary/details panel into the associated deployment info
panel + apply a few formatting tidyups.

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates
Files:
2 edited

Legend:

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

    r4442 r4443  
    3434                        <div py:if="c.atom.isDE()" py:replace="Associations('Associated Data Granules', c.atom.getLinksOfType(g.vtd.GRANULE_TERM), c.addGranuleLink, c.saveAssoc)"/> 
    3535                        <div py:if="c.atom.isDE()" py:replace="Associations('Associated Deployments', c.atom.getLinksOfType(g.vtd.DEPLOYMENT_TERM), c.addDeploymentLink, c.saveAssoc)"/> 
    36                         <div id="deploymentsPlaceholder" /> 
    3736                                <span py:if="not c.atom.isDeployment()" py:strip=""> 
    3837                                        <span py:if="not c.saveLink" py:strip=""> 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/atom_functions.html

    r4442 r4443  
    318318         
    319319     
    320     <div class="metadataSection" py:def="SummaryDeployments(deployments)" id="summaryDeployment"> 
     320    <div class="headingblock" py:def="SummaryDeployments(deployments)" id="summaryDeployment"> 
    321321        <table py:if="deployments"> 
    322322                <tr> 
    323                 <td class="linehead"> 
    324                 <table><tr><td>Deployments - summary</td> 
     323                <td class="headingblock"> 
     324                <table><tr><td><h3>Deployments - summary</h3></td> 
    325325                    <td align="right"> 
    326326                <span py:replace="expandHideSection('fullDeployment','summaryDeployment',g.navPlus)" strip=""/> 
     
    356356        </div> 
    357357     
    358     <div class="metadataSection hidden" py:def="FullDeployments(deployments)" id="fullDeployment"> 
     358    <div class="headingblock hidden" py:def="FullDeployments(deployments)" id="fullDeployment"> 
    359359        <table py:if="deployments"> 
    360         <tr><td class="linehead" > 
    361             <table><tr><td>Deployments - details</td> 
     360        <tr><td class="headingblock" > 
     361            <table><tr><td><h3>Deployments - details</h3></td> 
    362362            <td align="right"> 
    363363            <span py:replace="expandHideSection('fullDeployment','summaryDeployment',g.navMinus)" strip=""/> 
     
    543543        <div py:def="AssociationsTable(links, editLink)"> 
    544544                <form py:if="links" action="${editLink}" method="post"> 
     545                <?python c.isDeployment = False ?> 
    545546            <table> 
    546547                <tr> 
     
    561562                        subType = g.vtd.tidySubTypeTitle(vti.title) 
    562563                        inputLabel = refLabel + link.href + delim + (link.title or "") + delim + link.rel 
     564                        if subType == 'Deployment': 
     565                                c.isDeployment = True 
    563566                            ?> 
    564567                            <td>${subType}</td> 
     
    570573                        <tr py:if="editLink and links"><td></td><td></td><td align="center"> 
    571574                    ${Markup(h.submit(value="Remove"))} 
    572                 </td></tr> 
     575                        </td></tr> 
    573576                        </table> 
    574577                </form> 
     578        <div class="headingblock" py:if="c.isDeployment and not editLink" id="deploymentsPlaceholder" /> 
    575579                <table py:if="not links"><tr><td> 
    576580                        No data specified at present 
Note: See TracChangeset for help on using the changeset viewer.