File:  [Repository] / MPIWGWeb / zpt / Attic / updatePersonalwww_check.zpt
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Wed Apr 18 10:03:12 2007 UTC (17 years, 2 months ago) by dwinter
Branches: r2
VollstŠndig neues update der Homepages,
umstellung auf key als identifikation anstelle der alten IDs

<html tal:define="news here/REQUEST/SESSION/personal_www/news;
                  conflicts here/REQUEST/SESSION/personal_www/conflicts;
                  resultSet here/REQUEST/SESSION/personal_www/resultSet;"
	>
	<body>
		<h1>Check upload</h1>
		<form action="updatePersonalwww_doIt">
		<h2>New</h2>
		<table>
			<tr tal:repeat="new news">
				<td><span tal:replace="python:resultSet[new]['first_name']">first</span>
					<span tal:replace="python:resultSet[new]['last_name']">last</span> 
				</td>	
				<td>
					<input type="checkbox" tal:attributes="name python:here.urlQuote(new.encode('utf-8'))" checked="True" value="new"/>
				</td>
			</tr>
		</table>
		
		<h2>Conflicts</h2>
		<table border="1">
			<tr tal:repeat="conflict python:conflicts.keys()">
				<td valign="top"><span tal:replace="python:resultSet[conflict]['first_name']">first</span>
					<span tal:replace="python:resultSet[conflict]['last_name']">last</span> 
				</td>	
				<td>
						<tal:x repeat="cf python:conflicts[conflict]">
						<table border="1">
							<tr>
								<td bgcolor="green" colspan="3"><span tal:replace="python:cf[0]">feld</span></td>
							</tr>
							<tr>
								<td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="stored" checked="True"></td>
								<td valign="top">stored:</td>
								<td><span tal:replace="python:cf[1]">stored value</span></td>
							</tr>
							<tr>
								<td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="xml"></td>
								<td valign="top">xml-file:</td>
								<td><span tal:replace="python:cf[2]">value from xml-file</span></td>
							</tr>
							<!--  <tr>
								<td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="reject"></td>
								<td valign="top">reject</td>
								<td>&nbsp;</td>
							</tr>-->
						</table>	
					</tal:x>
				</td>
			</tr>
		</table>
		<input type="submit">
		</form>	
	</body>
</html>

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