Mercurial > hg > documentViewer
changeset 131:519439a80cd1
more modular version with separate object MpdlXmlTextServer
author | casties |
---|---|
date | Thu, 17 Jun 2010 18:48:14 +0200 |
parents | 5c779d7b5f71 |
children | 39167e96e582 |
files | zpt/manage_addMpdlXmlTextServer.zpt zpt/manage_changeMpdlXmlTextServer.zpt |
diffstat | 2 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/manage_addMpdlXmlTextServer.zpt Thu Jun 17 18:48:14 2010 +0200 @@ -0,0 +1,11 @@ +<h1 tal:replace="structure here/manage_page_header">Header</h1> + <h2>Add an MPDL-XML TextServer</h2> + <form action="manage_addMpdlXmlTextServer"> + <p class="form-label">Id<input name="id"></p> + <p class="form-optional">Title<input size="80" name="title"></p> + <p class="form-label">Text Server URL<input size="80" name="serverUrl" value="http://mpdl-proto.mpiwg-berlin.mpg.de/mpdl/interface/"></p> + <p class="form-optional">Timeout (s)<input size="10" name="timeout" value="30"></p> + <p><input type="submit" value="add"></p> + </form> + +<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/manage_changeMpdlXmlTextServer.zpt Thu Jun 17 18:48:14 2010 +0200 @@ -0,0 +1,17 @@ +<div tal:replace="structure here/manage_page_header">Header</div> +<!-- ZOPE management tabs --> +<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing" + tal:replace="structure here/manage_tabs">Tabs</h2> +<!-- end of ZOPE management tabs --> + <form action="manage_changeMpdlXmlTextServer"> + + <p class="form-optional">Title</p> + <p class="form-element"><input size="80" tal:attributes="value here/title" name="title"></p> + <p class="form-optional">Text Server URL</p> + <p class="form-element"><input size="80" tal:attributes="value here/serverUrl | default" name="serverUrl"></p> + <p class="form-optional">Timeout (s)</p> + <p class="form-element"><input size="3" tal:attributes="value here/timeout | default" name="timeout"></p> + <p><input type="submit" value="change"></p> + </form> + +<div tal:replace="structure here/manage_page_footer">Footer</div>