Annotation of ECHO_content/zpt/main_template, revision 1.1
1.1 ! dwinter 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
! 2: <html metal:define-macro="page">
! 3: <head>
! 4: <title metal:define-slot="title">ECHO</title>
! 5: <meta http-equiv="content-type" content="text/html; charset=utf-8">
! 6: <tal:block metal:define-slot="script"/>
! 7: <link rel="stylesheet" type="text/css" href="echo.css">
! 8: <script type="text/javascript">
! 9: <!--
! 10: window.name = "mainWindow";
! 11: //-->
! 12: </script>
! 13: </head>
! 14:
! 15: <body>
! 16:
! 17: <!-- topNavigationBar -->
! 18: <table border="0" cellpadding=0 cellspacing=0 width="100%">
! 19: <tr bgcolor="#000000">
! 20:
! 21:
! 22: <span tal:repeat="item here/mainNavElements" tal:omit-tag=""> <!-- spano1 -->
! 23: <!-- item[2]=das Object selber -->
! 24:
! 25: <!-- Logo -->
! 26: <span tal:condition="not:python:item[2].getImageTag()==''"> <!-- spano2 class=topNavImage-->
! 27: <td rowspan=2 align=center valign=center width=170>
! 28: <a class="image" tal:attributes="href python:item[1]">
! 29: <span tal:replace="structure python:item[2].getImageTag()"/>
! 30: </a>
! 31: </td>
! 32: </span> <!--/spano2 -->
! 33: <!-- /Logo -->
! 34:
! 35: <!-- andere -->
! 36: <span tal:condition="python:item[2].getImageTag()==''"> <!-- spano3 class=topNavBar-->
! 37: <!-- selektierter Link -->
! 38: <span tal:condition="python:here.isSelectedPath(item)"> <!-- Wenn ausgewaehlt : Kein Link --><!--spano4 -->
! 39: <td align=center valign=center cellpadding=15px>
! 40:
! 41: <table cellpadding=7 border=0 height=30px>
! 42: <tr><td height="50%" align=center>
! 43: <nobr><a class="linksel" tal:content="python:item[0]" tal:attributes="href python:item[1]">navbar element</a></nobr>
! 44: </td></tr>
! 45:
! 46: <tr><td height="50%" align=center>
! 47: <a class="graphic" tal:attributes="href python:item[2].absolute_url()+'/'+item[2].secondaryLink"><span tal:content="python:item[2].secondaryLinkTitle">Graphic</span></a>
! 48: </td></tr>
! 49: </table>
! 50: </td>
! 51: </span> <!-- /spano4 -->
! 52: <!-- /sel. Link -->
! 53:
! 54: <!-- andere -->
! 55: <span tal:condition="not:python:here.isSelectedPath(item)"> <!-- Wenn nicht ausgewaehlt : Link --> <!-- spano5 -->
! 56: <td align=center valign=center cellpadding=15px>
! 57:
! 58: <table cellpadding=7 border=0>
! 59: <tr><td align=center>
! 60: <nobr><a class="link" tal:content="python:item[0]" tal:attributes="href python:item[1]">navbar element</a></nobr>
! 61: </td></tr>
! 62: <tr><td align=center>
! 63: <a class="graphic" tal:attributes="href python:item[2].absolute_url()+'/'+item[2].secondaryLink"><span tal:content="python:item[2].secondaryLinkTitle">Graphic</span></a>
! 64: </td></tr>
! 65: </table>
! 66: </td>
! 67: </span> <!-- /spano5 -->
! 68: </span> <!-- /spano3 -->
! 69:
! 70: </span> <!-- /spano1 -->
! 71: </tr>
! 72:
! 73: <tr>
! 74:
! 75: <tr>
! 76: <!-- vario bereich -->
! 77:
! 78: <td bgcolor=black valign="top" width=170>
! 79:
! 80:
! 81: <div tal:omit-tag="" metal:define-slot="nav">
! 82:
! 83: <span tal:omit-tag="" tal:repeat="item here/secondNavElements">
! 84:
! 85: <span tal:omit-tag="" tal:condition="not:python:here.isSelectedPath(item)">
! 86:
! 87: <a class="menu" tal:content="python:item[0]" tal:attributes="href python:item[1]">vario links</a>
! 88:
! 89: </span> <!-- /span2 -->
! 90:
! 91: <span tal:omit-tag="" tal:condition="python:here.isSelectedPath(item)">
! 92:
! 93: <a class="menuselect" tal:content="python:item[0]" tal:attributes="href python:item[1]">vario links</a>
! 94:
! 95:
! 96: <!-- first Submenu -->
! 97: <table class="side2" cellpadding=0 cellspacing=0 border=0>
! 98: <tr tal:repeat="item python:here.navElements(3)">
! 99:
! 100: <td> </td>
! 101:
! 102: <td>
! 103:
! 104: <span tal:omit-tag="" tal:condition="not:python:here.isSelectedPath(item)">
! 105:
! 106:
! 107: <span tal:condition="not:python:hasattr(item[2],'link')">
! 108: <a class="side" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 109: statische vario links</a>
! 110: </span>
! 111:
! 112:
! 113: <span tal:condition="python:hasattr(item[2],'link')">
! 114: <span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
! 115: <span tal:condition="python:item[2].link">
! 116: <a class="side" tal:content="structure python:item[0]" tal:attributes="href python:item[1]" target="_blank">
! 117: statische vario links</a>
! 118: </span>
! 119:
! 120: <span tal:condition="not:python:item[2].link">
! 121: <span class="side" tal:content="structure python:item[0]">
! 122: statische vario links</span>
! 123: </span>
! 124: </span>
! 125: <span tal:condition="python:item[2].meta_type=='ECHO_link'">
! 126: <span tal:condition="python:item[2].link">
! 127: <a class="side" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 128: statische vario links</a>
! 129: </span>
! 130:
! 131: <span tal:condition="not:python:item[2].link">
! 132: <span class="side" tal:content="structure python:item[0]">
! 133: statische vario links</span>
! 134: </span>
! 135: </span>
! 136: </span>
! 137:
! 138: </span>
! 139:
! 140: <!-- isSelectedPath -->
! 141: <span tal:omit-tag="" tal:condition="python:here.isSelectedPath(item)">
! 142:
! 143:
! 144: <a class="sideSel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 145: statische vario links</a>
! 146:
! 147: <!-- second submenu -->
! 148: <table>
! 149: <tr tal:repeat="item python:here.navElements(4)">
! 150: <td> </td>
! 151: <td>
! 152:
! 153: <span tal:omit-tag="" tal:condition="not:python:here.isSelectedPath(item)">
! 154:
! 155: <!-- Link only if there is a Link -->
! 156:
! 157: <span tal:condition="not:python:hasattr(item[2],'link')">
! 158: <a class="side2" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 159: statische vario links</a>
! 160: </span>
! 161:
! 162: <span tal:condition="python:hasattr(item[2],'link')">
! 163: <span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
! 164: <span tal:condition="python:item[2].link">
! 165: <a class="side2" tal:content="structure python:item[0]" tal:attributes="href python:item[1]" target="_blank">
! 166: statische vario links</a>
! 167: </span>
! 168: <span tal:condition="not:python:item[2].link">
! 169: <span class="side2" tal:content="structure python:item[0]">
! 170: statische vario links</span>
! 171: </span>
! 172: </span>
! 173:
! 174: <span tal:condition="python:item[2].meta_type=='ECHO_link'">
! 175: <span tal:condition="python:item[2].link">
! 176: <a class="side2" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 177: statische vario links</a>
! 178: </span>
! 179: <span tal:condition="not:python:item[2].link">
! 180: <span class="side2" tal:content="structure python:item[0]">
! 181: statische vario links</span>
! 182: </span>
! 183: </span>
! 184: </span>
! 185: <!-- -->
! 186: </span>
! 187:
! 188: <span tal:omit-tag="" tal:condition="python:here.isSelectedPath(item)">
! 189:
! 190: <!-- Link only if there is a Link -->
! 191:
! 192: <span tal:condition="not:python:hasattr(item[2],'link')">
! 193: <a class="side2Sel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 194: statische vario links</a>
! 195: </span>
! 196:
! 197: <span tal:condition="python:hasattr(item[2],'link')">
! 198: <span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
! 199: <span tal:condition="python:item[2].link">
! 200: <a class="side2Sel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]" target="_blank">
! 201: statische vario links</a>
! 202: </span>
! 203: </span>
! 204:
! 205: <span tal:condition="python:item[2].meta_type=='ECHO_link'">
! 206: <span tal:condition="python:item[2].link">
! 207: <a class="side2Sel" tal:content="structure python:item[0]" tal:attributes="href python:item[1]">
! 208: statische vario links</a>
! 209: </span>
! 210: </span>
! 211: </span>
! 212:
! 213: <!-- third submenu -->
! 214: <table class="side2">
! 215: <tr tal:repeat="item python:here.navElements(5)">
! 216: <td> </td>
! 217: <td>
! 218: <!-- <font size="-1"> -->
! 219: <!-- Link only if there is a Link -->
! 220: <span tal:condition="not:python:hasattr(item[2],'link')">
! 221: <a class="side2" tal:content="structure python:item[0]"
! 222: tal:attributes="href python:item[1]">
! 223: statische vario links</a>
! 224: </span>
! 225:
! 226: <span tal:condition="python:hasattr(item[2],'link')">
! 227: <span tal:condition="not:python:item[2].meta_type=='ECHO_link'">
! 228: <span tal:condition="python:item[2].link">
! 229: <a class="side2" tal:content="structure python:item[0]"
! 230: tal:attributes="href python:item[1]" target="_blank">
! 231: statische vario links</a>
! 232: </span>
! 233:
! 234: <span tal:condition="not:python:item[2].link">
! 235: <div class="side2" tal:content="structure python:item[0]">
! 236: statische vario links</div>
! 237: </span>
! 238: </span>
! 239:
! 240: <span tal:condition="python:item[2].meta_type=='ECHO_link'">
! 241: <span tal:condition="python:item[2].link">
! 242: <a class="side2" tal:content="structure python:item[0]"
! 243: tal:attributes="href python:item[1]">
! 244: statische vario links</a>
! 245: </span>
! 246:
! 247: <span tal:condition="not:python:item[2].link">
! 248: <div class="side2" tal:content="structure python:item[0]">
! 249: statische vario links</div>
! 250: </span>
! 251: </span>
! 252: </span>
! 253: <!-- </font>-->
! 254: </td>
! 255: </tr>
! 256: </table> <!-- /third submenu -->
! 257:
! 258:
! 259:
! 260: <!-- -->
! 261:
! 262: </span>
! 263:
! 264: </td>
! 265: </tr>
! 266: </table>
! 267:
! 268:
! 269: </span>
! 270: </td>
! 271: </tr>
! 272: </table> <!-- /Tabelle 1 -->
! 273: </span> <!-- /Span3 -->
! 274: </span><br> <!-- /span1 -->
! 275: </div> <!-- /div1u2 -->
! 276: </td>
! 277: <!-- bodytext -->
! 278:
! 279: <td height="100%" class="stage" bgcolor="#dddddd" valign="top" tal:attributes="bgcolor here/getBgcolour; colspan python:here.numberOfMainNavElements()-1">
! 280: <table height="500px" width="100%" class="stage" bgcolor="#dddddd" cellpadding=7 tal:attributes="bgcolor here/getBgcolour; colspan python:here.numberOfMainNavElements()-1">
! 281: <tr><td valign="top">
! 282:
! 283: <div tal:omit-tag="" metal:define-slot="body">bodytext</div>
! 284: </td></tr>
! 285: </table>
! 286: </td></tr>
! 287: </table>
! 288:
! 289: <!-- bottom navbar -->
! 290: <table border="0" cellpadding=8 cellspacing=0 width="100%">
! 291: <tr>
! 292: <td colspan='2' bgcolor="#000000" align=center>
! 293:
! 294: <a style="color:#ddd;font-size:10px" href="mailto:dwinter@mpiwg-berlin.mpg.de">CONTACT</a>
! 295:
! 296: <a style="color:#ddd;font-size:10px" href="http://www.mpiwg-berlin.mpg.de/impressum.htm">IMPRESSUM</a>
! 297:
! 298: <font style="color:#ddd; font-size:10px"> Last Update: December 2004</font>
! 299: </td></tr>
! 300:
! 301: </table>
! 302: </body>
! 303: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>