Merge branch 'zope-2.13' of ssh://ssh.cri.ensmp.fr/~pin/gitrepositories/Portfolio...
[Portfolio.git] / www / manageProcessor.zpt
1 <tal:block i18n:domain="portfolio">
2 <tal:header tal:replace="structure here/manage_page_header">header</tal:header>
3 <tal:tabs tal:replace="structure here/manage_tabs">tabs</tal:tabs>
4 <div>
5 <h3 i18n:translate="">Processor status</h3>
6 <div tal:define="running here/isRunning">
7 <p>
8 <span tal:omit-tag="" i18n:translate="">status:</span>
9 <span tal:condition="running" i18n:translate="" style="font-weight:bold">running</span>
10 <span tal:condition="not:running" i18n:translate="" style="font-weight:bold">stopped</span>
11 </p>
12 <p tal:condition="running">
13 <span tal:omit-tag="" i18n:translate="">queue size:</span>
14 <span style="font-weight:bold" tal:content="here/getQueueSize ">0</span>
15 </p>
16 <form tal:attributes="action here/absolute_url" method="post">
17 <input tal:condition="running" type="submit" name="manage_stopProcess:method" value="Stop" i18n:attributes="value"/>
18 <input tal:condition="not:running" type="submit" name="manage_startProcess:method" value="Start" i18n:attributes="value"/>
19 </form>
20 </div>
21 </div>
22 <tal:footer tal:replace="structure here/manage_page_footer">footer</tal:footer>
23 </tal:block>