view zpt/staff/edit_basic.zpt @ 284:1a103b073c72 default tip

make favicon url host and schema relative.
author casties
date Thu, 25 Jun 2015 17:44:57 +0200
parents 485bf377913a
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html metal:use-macro="here/mainEditFile/macros/page">
<body>
  <tal:block metal:fill-slot="navsel" tal:define="global menusel string:maindata"/>
  <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
  <form tal:attributes="action string:$root/edit" method="get">
  <table>
  	<tr>
  		<td><b>Name</b></td>
  		<td><input size="30" tal:attributes="value here/content/last_name" name="last_name"/></td>
  	</tr>
  	<tr>
  		<td><b>First Name</b></td>
  		<td><input size="30" tal:attributes="value here/content/first_name" name="first_name"/></td>
  	</tr>
  	<tr>
  	 	<td><b>Academic degrees and position</b></td>
  		<td><textarea  tal:content="here/content/titles_new" name="titles_new" cols="60" rows="1"/></td>
  	</tr>
  	<tr>
  		<td><b>Status</b></td>
  		<td tal:content="here/content/status"/>
  	</tr>
  	<tr>
  		<td><b>Department</b></td>
  		<td tal:content="here/content/department"/>
  	</tr>
  	<tr>
  		<td><b>Stay</b></td>
  		<td><span tal:content="python:here.getDateString(date=here.content.date_from)"/> to
  		  <span tal:content="python:here.getDateString(date=here.content.date_to)"/>
  		</td>
  	<tr>
  		<td><b>Funded by (external funding)</b></td>
  		<td><input size="30" tal:attributes="value here/content/funded_by" name="funded_by"/></td>
  	</tr>
  </table>
  <table>
    <tr><th></th><th></th><th align="left">show</th></tr>
 	<tr>
 		<td><b>email (MPIWG)</b></td>
 		<td tal:content="here/content/e_mail"/>
 		<td valign="top" tal:define="name string:e_mail_p; value here/content/e_mail_p;">
          <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
        </td>
	</tr>
 	<tr>
 		<td><b>email (additional)</b></td>
 		<td><input size="30" name="e_mail2" tal:attributes="value here/content/e_mail2"/></td>
        <td valign="top" tal:define="name string:e_mail2_p; value here/content/e_mail2_p;">
          <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
        </td>
 	</tr>
 	<tr>
 		<td><b>Room</b></td>
 		<td><input size="30" name="room_no" tal:attributes="value here/content/room_no"/></td>
 		<td>(never published)</td>
 	</tr>
 	<tr>
 		<td><b>Telephone</b></td>
 		<td><input size="30" name="telefon" tal:attributes="value here/content/telefon"/></td>
        <td valign="top" tal:define="name string:telefon_p; value here/content/telefon_p;">
          <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
        </td>
 	</tr>
 	<tr>
 		<td><b>Fax</b></td>
 		<td><input size="30" name="fax" tal:attributes="value here/content/fax"/></td>
        <td valign="top" tal:define="name string:fax_p; value here/content/fax_p;">
          <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
        </td>
 	</tr>
 </table>
 <input type="submit" value="submit"/>
 </form>
 <p>To add references to your homepage at other institutions please use <a tal:attributes="href string:$root/editAdditionalLinks">the additional links tab</a></p>
 </tal:block>
 </body>
 </html>