[1] | 1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
| 2 | lang="en" |
---|
| 3 | metal:use-macro="here/prefs_main_template/macros/master"> |
---|
| 4 | |
---|
| 5 | <metal:block fill-slot="top_slot" |
---|
| 6 | tal:define="dummy python:request.set('disable_border',1)" /> |
---|
| 7 | |
---|
| 8 | <body> |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | <div metal:fill-slot="prefs_configlet_main" i18n:domain="plone" |
---|
| 12 | tal:define="QI python:here.portal_url.getPortalObject().portal_quickinstaller"> |
---|
| 13 | |
---|
| 14 | <h1>Plone Epydoc</h1> |
---|
| 15 | |
---|
| 16 | <a href="" |
---|
| 17 | class="link-parent" |
---|
| 18 | tal:attributes="href string: $portal_url/plone_control_panel" |
---|
| 19 | i18n:translate="label_up_to_plone_setup"> |
---|
| 20 | Up to Plone Setup |
---|
| 21 | </a> |
---|
| 22 | |
---|
| 23 | <div class="documentDescription"> |
---|
| 24 | portal_documentation settings |
---|
| 25 | </div> |
---|
| 26 | |
---|
| 27 | <form method="post" |
---|
| 28 | tal:attributes="action string:${here/absolute_url}/${template/id};"> |
---|
| 29 | |
---|
| 30 | <fieldset> |
---|
| 31 | <legend i18n:translate="legend_PloneEpydoc">Plone Epydoc properties</legend> |
---|
| 32 | |
---|
| 33 | <table> |
---|
| 34 | <tr> |
---|
| 35 | <td valign = "top"> |
---|
| 36 | <div class="field" |
---|
| 37 | tal:define = "installable_products QI/listInstallableProducts; |
---|
| 38 | installed_products QI/listInstalledProducts; |
---|
| 39 | products python: installable_products + installed_products" > |
---|
| 40 | <label i18n:translate="label_policy">Products</label> |
---|
| 41 | <div></div> |
---|
| 42 | <select name="product" |
---|
| 43 | tal:define="sel_product request/product|nothing"> |
---|
| 44 | <option tal:repeat="prod products" |
---|
| 45 | tal:content="prod/id" |
---|
| 46 | tal:attributes="selected python: test(prod['id']==sel_product, prod['id'], nothing)"/> |
---|
| 47 | </select> |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | </div> |
---|
| 51 | </td> |
---|
| 52 | </tr> |
---|
| 53 | <!--<td valign = "top"> |
---|
| 54 | <div class="field"> |
---|
| 55 | <label i18n:translate="label_docformats">Docformats</label> |
---|
| 56 | <div></div> |
---|
| 57 | <input type="radio" name="docformat" value = "plaintext"/>plaintext<br> |
---|
| 58 | <input type="radio" name="docformat" value = "epytext"/>epytext<br> |
---|
| 59 | <input type="radio" name="docformat" value = "restructuredtext"/>restructuredtext<br> |
---|
| 60 | <input type="radio" name="docformat" value = "javadoc"/>javadoc<br> |
---|
| 61 | </div> |
---|
| 62 | </td> |
---|
| 63 | <td valign = "top"> |
---|
| 64 | <div class="field"> |
---|
| 65 | <label i18n:translate="label_css">CSS</label> |
---|
| 66 | <div></div> |
---|
| 67 | <input type="radio" name="css" value = "none"/>none<br> |
---|
| 68 | <input type="radio" name="css" value = "black"/>black<br> |
---|
| 69 | <input type="radio" name="css" value = "blue"/>blue<br> |
---|
| 70 | <input type="radio" name="css" value = "grayscale"/>grayscale<br> |
---|
| 71 | <input type="radio" name="css" value = "green"/>green<br> |
---|
| 72 | <input type="radio" name="css" value = "white"/>white<br> |
---|
| 73 | </div> |
---|
| 74 | </td>--> |
---|
| 75 | <tr> |
---|
| 76 | <td valign = "top"> |
---|
| 77 | <div class="field" |
---|
| 78 | tal:define = "portal_doc python:here.portal_url.getPortalObject().portal_documentation"> |
---|
| 79 | <label i18n:translate="label_policy">Generated Documentation</label> |
---|
| 80 | <div></div> |
---|
| 81 | <dl> |
---|
| 82 | <tal:entry tal:repeat="doc portal_doc/objectIds"> |
---|
| 83 | <dt metal:define-macro="listitem"> |
---|
| 84 | <a href="#" |
---|
| 85 | tal:attributes="href string:${portal_url}/portal_documentation/${doc}/index.html" |
---|
| 86 | tal:content="doc" /> |
---|
| 87 | </dt> |
---|
| 88 | |
---|
| 89 | </tal:entry> |
---|
| 90 | </dl> |
---|
| 91 | </div> |
---|
| 92 | </td> |
---|
| 93 | </tr> |
---|
| 94 | </table> |
---|
| 95 | <div class="formControls"> |
---|
| 96 | <input type="hidden" name="form.submitted" value="1" /> |
---|
| 97 | <input class="standalone" type="submit" name="form.button.Generate" value="Generate" /> |
---|
| 98 | <input class="standalone" type="submit" name="form.button.Cancel" value="Cancel" /> |
---|
| 99 | </div> |
---|
| 100 | </fieldset> |
---|
| 101 | </form> |
---|
| 102 | |
---|
| 103 | </div> |
---|
| 104 | |
---|
| 105 | </body> |
---|
| 106 | </html> |
---|
| 107 | |
---|