Annotation of MPIWGWeb/zpt/members_main.zpt, revision 1.7

1.1       dwinter     1: <html metal:use-macro="here/main_template/macros/page">
                      2: <head>
                      3: <title tal:content="template/title">The title</title>
                      4: </head>
                      5: <body>
                      6: 
                      7: <tal:block metal:fill-slot="body" tal:define="found python:here.ZSQLInlineSearch(_table='personal_www',username=here.getId())[0]">
1.7     ! dwinter     8: <table class="center">
1.1       dwinter     9:      <td valign="top" width="610"> 
1.3       dwinter    10:        
                     11:            <div id="NameTitle" style="position:absolute; width:365px; height:37px; z-index:3; left: 161px; top: 63px; visibility: visible"> 
                     12:           <h2><span tal:replace="found/title"/> <span tal:replace="found/vorname"/> <span tal:replace="found/name"/></h2>
                     13:     </div>
                     14:         <div id="Position" style="position:absolute; width:365px; height:30px; z-index:5; left: 161px; top: 115px; visibility: visible"> 
                     15:           <h3><span tal:replace="found/position"/></h3>
1.1       dwinter    16:       </div>
1.3       dwinter    17:         <div id="StayAtMpiwg" style="position:absolute; width:365px; height:32px; z-index:6; left: 161px; top: 158px; visibility: visible"> 
                     18:           <p class="p_noindent">Residence:<br>
1.1       dwinter    19:           <span tal:replace="found/stay_at_mpiwg"/></p>
                     20:       </div>
1.6       casties    21:         <div id="Adress" style="position:absolute; width:365px; height:90px; z-index:4; left: 161px; top: 210px"> 
                     22:           <p class="p_noindent">&nbsp;<br>
                     23:           &nbsp;<br>
                     24:           &nbsp;<br>
                     25:           &nbsp;</p>
                     26:         </div>
1.1       dwinter    27: <!-- middle right (PIM) -->
1.6       casties    28:         <div id="ContactsImg" style="position:absolute; width:355px; height:114px; z-index:1; left: 286px; top: 220px; visibility: visible;"> 
1.1       dwinter    29:         <table width="400" border="0">
                     30:             <tr> 
                     31:               <td rowspan="4" width="48"><img src="images/EmailResponseOrg.gif" width="40" height="49" align="middle"><img src="bilder/leer.gif" width="1" height="100" align="middle"> 
                     32:               </td>
                     33:        <tal:block tal:condition="python:found.telefon_p=='yes'">
                     34:        <td width="84" height="25"> 
                     35:                 <p>tel.:</p>
                     36:             </td>
                     37:             <td width="180" height="25"> 
1.6       casties    38:                <p  class="p_noindent" tal:content="found/telefon">[FMP-Field: telefon]</p>
1.1       dwinter    39:            </td>
                     40:            </tal:block>
                     41:           </tr>
                     42:           <tr> 
                     43:         <tal:block tal:condition="python:found.e_mail_p=='yes'">
                     44:             <td width="84" height="25"> 
                     45:                 <p>email:</p>
                     46:             </td>
                     47:             <td width="180" height="25"> 
1.4       dwinter    48:                 <p class="p_noindent"> <a tal:attributes="href python:'mailto:'+found.e_mail" tal:content="found/e_mail">[FMP-Field: e_mail]</a></p>
1.1       dwinter    49:             </td>
                     50:        </tal:block>
                     51:           </tr>
                     52:           <tr> 
                     53:        <tal:block tal:condition="python:found.fax_p=='yes'">
                     54:          <td width="84" height="25"> 
                     55:                 <p>fax:</p>
                     56:            </td>
                     57:              <td width="180" height="25">               
1.6       casties    58:            <p  class="p_noindent" tal:content="found/fax">[FMP-Field: fax]</p>          
1.1       dwinter    59:               </td>
                     60:         </tal:block>
                     61:           </tr>
                     62:           <tr> 
                     63:        <tal:block tal:condition="not:python:here.ZSQLisEmpty(found.private_homepage)">
                     64:             <td width="84" height="25"> 
                     65:                 <p>homepage:</p>
                     66:             </td>
                     67:               <td width="180" height="25"> 
1.6       casties    68:                 <p class="p_noindent"><a tal:attributes="href found/private_homepage" target="_new" tal:content="found/private_homepage">[FMP-Field: private_homepage]</a></p>
1.1       dwinter    69:             </td>   
                     70:          </tal:block>
                     71:           </tr>
                     72:         </table>
                     73: <!-- middle right (PIM) END -->
                     74: </div>
                     75:         <!-- bottom right -->
1.2       dwinter    76: 
1.6       casties    77:         <div id="Daten" style="position:absolute; z-index:10; left: 173px; top: 350px; width: 578px; height: 589px; visibility: visible"> 
1.1       dwinter    78: 
                     79:           <div id="Teaching" style="position:relative; width:581px; z-index:14;"> 
                     80:             <img src="images/en/Fieldnames72_NBProjectsMPI.jpg" width="211" height="33"> 
                     81:             <p> </p>
                     82:        <tal:block tal:repeat="projects python:here.getProjectsOfMember(email=here.getId())">
1.6       casties    83:             <p tal:repeat="project python:projects[1]" class="p_noindent"> <a tal:attributes="href python:project.absolute_url+'/index.html'"><span tal:replace="python:project.WEB_title[0].encode('utf-8')"/></a></p>
                     84:             <br/>
1.1       dwinter    85:        </tal:block>                            
                     86:             <p> 
1.2       dwinter    87: 
1.1       dwinter    88:               &nbsp;</p>
                     89:           </div>
                     90:       
1.2       dwinter    91: 
1.1       dwinter    92: </table>
                     93: </tal:block>
                     94:   </body>
                     95: </html>
                     96: <!-- to be done institutsbiliographie integrieren
                     97: images
                     98: 
                     99: published yes or no abfragen
                    100: -->

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>