2012-02-18 12:48:00 -06:00
|
|
|
<tal:main define="tool python: context.config">
|
2011-11-25 11:01:20 -06:00
|
|
|
<html metal:use-macro="context/ui/template/macros/main">
|
2011-09-18 08:00:05 -05:00
|
|
|
<metal:fill fill-slot="content"
|
2011-11-25 11:01:20 -06:00
|
|
|
tal:define="className request/className;
|
2011-09-18 08:00:05 -05:00
|
|
|
searchName request/search|python:''">
|
2009-10-18 07:52:27 -05:00
|
|
|
|
2011-11-25 11:01:20 -06:00
|
|
|
<div metal:use-macro="context/ui/page/macros/prologue"/>
|
2009-11-03 08:02:18 -06:00
|
|
|
<tal:comment replace="nothing">Query result</tal:comment>
|
|
|
|
<div id="queryResult"></div>
|
|
|
|
|
2011-10-01 15:40:13 -05:00
|
|
|
<script type="text/javascript"
|
2011-11-25 11:01:20 -06:00
|
|
|
tal:define="ajaxUrl python: tool.getQueryUrl(className, searchName)"
|
|
|
|
tal:content="python: 'askQueryResult(\'queryResult\', \'%s\',\'%s\',\'%s\',0)' % (tool.absolute_url(), className, searchName)">
|
2009-11-03 08:02:18 -06:00
|
|
|
</script>
|
2011-09-18 08:00:05 -05:00
|
|
|
</metal:fill>
|
2009-10-18 07:52:27 -05:00
|
|
|
</html>
|
2011-09-18 08:00:05 -05:00
|
|
|
</tal:main>
|