appypod-rattail/gen/ui/query.pt

18 lines
672 B
Plaintext
Raw Normal View History

<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:''">
2011-11-25 11:01:20 -06:00
<div metal:use-macro="context/ui/page/macros/prologue"/>
<tal:comment replace="nothing">Query result</tal:comment>
<div id="queryResult"></div>
<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)">
</script>
2011-09-18 08:00:05 -05:00
</metal:fill>
</html>
2011-09-18 08:00:05 -05:00
</tal:main>