version 1.1.2.2, 2005/10/18 12:59:51
|
version 1.1.2.4, 2005/10/20 14:04:43
|
Line 4
|
Line 4
|
<head> |
<head> |
</head> |
</head> |
<body> |
<body> |
<tal:block metal:fill-slot="navsel" tal:define="global selected python:'research'"/> |
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:research" /> |
<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> |
<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> |
|
|
<form action="changeResearch" method="post"> |
<form action="changeResearch" method="post"> |
<input type="hidden" name="id_main" tal:attributes="value person/id"> |
<input type="hidden" name="id_main" tal:attributes="value person/id"> |
<input type="hidden" name="main_fields" value="current_work__current,research_interest__interest"> |
<input type="hidden" name="main_fields" value="current_work__current,research_interest__interest"> |
<h4>Current work</h4> |
<h3>Current work</h3> |
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=person.id)"> |
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='current_work',id_main=person.id)"> |
|
<tr> |
|
<th /> |
|
<th>Priority</th> |
|
<th>Show</th> |
|
</tr> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<td> |
<td><input tal:attributes="name python:'current_work__current__'+str(found2.oid); |
<input tal:attributes="name python:'current_work__current__'+str(found2.oid); |
|
value found2/current" size="80"/> |
value found2/current" size="80"/> |
</td> |
</td> |
<td> |
<td><input tal:attributes="name python:'current_work__priority__'+str(found2.oid); |
<input tal:attributes="name python:'current_work__priority__'+str(found2.oid); |
|
value found2/priority" size="3"/> |
value found2/priority" size="3"/> |
</td> |
</td> |
<td tal:content="structure python:here.ZSQLSelectionFromCRList( |
<td |
|
tal:content="structure python:here.ZSQLSelectionFromCRList( |
'current_work__publish__'+str(found2.oid), |
'current_work__publish__'+str(found2.oid), |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |
checked=found2.publish)"/> |
checked=found2.publish)"/> |
<td> |
<td><a tal:attributes="href python:'deleteField?table=current_work&oid=%s'%found2.oid">delete</a></td> |
<a tal:attributes="href python:'deleteField?table=current_work&oid=%s'%found2.oid">delete</a> |
|
</td> |
|
</tr> |
</tr> |
<tr colspan="4"> |
<tr colspan="4"> |
<td>Add new</td> |
<td>Add new</td> |
</tr> |
</tr> |
<tr> |
<tr> |
<td> |
<td><input tal:attributes="name python:'current_work__current__new'" size="80"></td> |
<input tal:attributes="name python:'current_work__current__new'" size="80"> |
<td><input tal:attributes="name python:'current_work__priority__new'" size="3"></td> |
</td> |
<td |
<td> |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
<input tal:attributes="name python:'current_work__priority__new'" size="3"> |
|
</td> |
|
<td tal:content="structure python:here.ZSQLSelectionFromCRList( |
|
'current_work__publish__new', |
'current_work__publish__new', |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |
Line 48
|
Line 47
|
</tr> |
</tr> |
</table> |
</table> |
<input type="submit" value="submit"> |
<input type="submit" value="submit"> |
<h4>Research interests</h4> |
<h3>Research interests</h3> |
|
|
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=person.id)"> |
<table tal:define="founds2 python:here.ZSQLInlineSearch(_table='research_interest',id_main=person.id)"> |
|
<tr> |
|
<th /> |
|
<th>Priority</th> |
|
<th>Show</th> |
|
</tr> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<tr class="fliesstext" tal:repeat="found2 python:here.sortPriority(founds2)"> |
<td> |
<td><input tal:attributes="name python:'research_interest__interest__'+str(found2.oid); |
<input tal:attributes="name python:'research_interest__interest__'+str(found2.oid); |
value found2/interest" |
value found2/interest" size="80"/> |
size="80" /></td> |
</td> |
<td><input tal:attributes="name python:'research_interest__priority__'+str(found2.oid); |
<td> |
value found2/priority" |
<input tal:attributes="name python:'research_interest__priority__'+str(found2.oid); |
size="3" /></td> |
value found2/priority" size="3"/> |
<td |
</td> |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
<td tal:content="structure python:here.ZSQLSelectionFromCRList( |
|
'research_interest__published__'+str(found2.oid), |
'research_interest__published__'+str(found2.oid), |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |
checked=found2.published)"/> |
checked=found2.published)"/> |
<td> |
<td><a tal:attributes="href python:'deleteField?table=research_interest&oid=%s'%found2.oid">delete</a></td> |
<a tal:attributes="href python:'deleteField?table=research_interest&oid=%s'%found2.oid">delete</a> |
|
</td> |
|
|
|
</tr> |
</tr> |
<tr colspan="3"> |
<tr colspan="3"> |
<td>Add new</td> |
<td>Add new</td> |
</tr> |
</tr> |
<tr> |
<tr> |
<td> |
<td><input tal:attributes="name python:'research_interest__interest__new'" size="80"></td> |
<input tal:attributes="name python:'research_interest__interest__new'" size="80"> |
<td><input tal:attributes="name python:'research_interest__priority__new'" size="3"></td> |
</td> |
<td |
<td> |
tal:content="structure python:here.ZSQLSelectionFromCRList( |
<input tal:attributes="name python:'research_interest__priority__new'" size="3"> |
|
</td> |
|
<td tal:content="structure python:here.ZSQLSelectionFromCRList( |
|
'research_interest__published__new', |
'research_interest__published__new', |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |