diff options
| author | Vaibhav (OpenERP) <vda@tinyerp.com> | 2011-09-19 14:48:30 +0530 |
|---|---|---|
| committer | Vaibhav (OpenERP) <vda@tinyerp.com> | 2011-09-19 14:48:30 +0530 |
| commit | a9efd2fdd05ff8c4930507f79865a1178fc91665 (patch) | |
| tree | 105869835ec11819158456bbd14235c7f9ad9823 /addons/web_process/static/src/xml | |
| parent | bc35b1250e0f8483f0301e2e121f82c3ef45f685 (diff) | |
| parent | b1d49ca31fd14366452565b5a098619a7cde87ea (diff) | |
[IMP] Process view. Merge openerp-web.
bzr revid: vda@tinyerp.com-20110919091830-uyafy0o2cg7w8v12
Diffstat (limited to 'addons/web_process/static/src/xml')
| -rw-r--r-- | addons/web_process/static/src/xml/web_process.xml | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/addons/web_process/static/src/xml/web_process.xml b/addons/web_process/static/src/xml/web_process.xml index a37709ed3e6..6634f6d8446 100644 --- a/addons/web_process/static/src/xml/web_process.xml +++ b/addons/web_process/static/src/xml/web_process.xml @@ -1,15 +1,22 @@ <template> -<t t-extend="SearchView"> + <t t-extend="ViewManager" t-name="ViewManagerAction"> + <t t-jquery=".oe_view_title" t-operation="append"> + <img class="oe-process-toggle" src="/web/static/src/img/icons/gtk-help.png" title="ProcessView"/> + </t> + </t> +<!--<t t-extend="SearchView"> <t t-jquery="h2" t-operation="append"> <img id="ProcessView" src="/web_process/static/src/img/iconset-a-help.gif"/> </t> -</t> +</t> --> <t t-name="ProcessView"> <table class="view" border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"> <tr> <td width="75%" valign="top" class="fields collapsed" style="padding-top:10px;"> - <h1 class="process_h1">Model</h1> + <h1 class="process_h1"> + <t t-esc="action.name"/> (<t t-esc="model"/>) + </h1> <p class="process-links"> <a class="cta-a" target="_blank" href="#"> <span> @@ -39,6 +46,28 @@ </p> </td> </tr> + <tr t-if="selection"> + <td> + <fieldset> + <legend> + Select Process + </legend> + <select id="select_process"> + <t t-foreach="selection" t-as="prc"> + <option t-att-value="prc[0]"> + <t t-esc="prc[1]"/> + </option> + </t> + </select> + <button id="change_process">Select</button> + </fieldset> + </td> + </tr> + <tr t-if="p_id"> + <td> + <div id="process_canvas" style="overflow: auto;"></div> + </td> + </tr> </table> </t> </template> |
