diff options
| author | Jiten (OpenERP) <jra@tinyerp.com> | 2011-11-22 10:48:03 +0530 |
|---|---|---|
| committer | Jiten (OpenERP) <jra@tinyerp.com> | 2011-11-22 10:48:03 +0530 |
| commit | 990ece97a5dfd2b22be25d73193452c034424cdb (patch) | |
| tree | d0ebc692ed7d608d0cf4a79a5506e48e85ee4c9b /addons/web_process/static/src/xml | |
| parent | aad7d22763beb1774218bd7f041a918a56237964 (diff) | |
| parent | 8ca42daf0a1b0ef3505a0505328a9d785ecb564c (diff) | |
[MERGE] Merge from openerp-web.
bzr revid: jra@tinyerp.com-20111122051803-1ttx64ilabhxo4p1
Diffstat (limited to 'addons/web_process/static/src/xml')
| -rw-r--r-- | addons/web_process/static/src/xml/web_process.xml | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/addons/web_process/static/src/xml/web_process.xml b/addons/web_process/static/src/xml/web_process.xml new file mode 100644 index 00000000000..63e207a4f96 --- /dev/null +++ b/addons/web_process/static/src/xml/web_process.xml @@ -0,0 +1,143 @@ +<template> + <t t-extend="ViewManager" t-name="ViewManagerAction"> + <t t-jquery=".oe-view-manager-header" t-operation="append"> + <img class="oe-process-view" src="/web/static/src/img/icons/gtk-help.png" title="ProcessView"/> + </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"> + <t t-esc="action.name"/> (<t t-esc="model"/>) + </h1> + <p class="process-links"> + <a class="cta-a" target="_blank" href="#"> + <span> + <strong>Documentation</strong> + Read Documentation Online + </span> + </a> + <a class="cta-a" target="_blank" href="http://www.openerp.com/forum/"> + <span> + <strong>Forum</strong> + Community Discussion + </span> + </a> + <a class="cta-a" target="_blank" href="http://www.openerp.com/services/books"> + <span> + <strong>Books</strong> + Get the book on Amazon + </span> + </a> + <a class="cta-a" target="_blank" href="http://www.openerp.com/services/subscribe-onsite"> + <span> + <strong>Support / Publisher Warranty</strong> + Get the OpenERP Warranty + </span> + </a> + </p> + </td> + </tr> + <tr> + <td> + <p><t t-esc="process_help"/></p> + </td> + </tr> + <tr> + <td> + <h2> + <t t-esc="process_title"/> Process + </h2> + <t t-if="process_notes"> + <p> + <strong>Notes:</strong> <t t-esc="process_notes"/> + </p> + <p> + <strong>Last modified by:</strong> N/A + </p> + <t t-if="process_subflows.length"> + <strong>Subflows:</strong> + + <t t-foreach="process_subflows" t-as="subflow"> + <t t-if="subflow.subflow[0] != process_id"> + <p> + <a class="process_subflow" t-att-id="subflow.subflow[0]" href="javascript: void(0)"> + <t t-esc="subflow.subflow[1]"/> + </a> + </p> + </t> + </t> + </t> + <t t-if="process_related.length and process_related[0][0] != process_id"> + <strong>Related:</strong> + <p> + <a class="process_subflow" t-att-id="process_related[0][0]" href="javascript: void(0)"> + <t t-esc="process_related[0][1]"/> + </a> + </p> + </t> + </t> + </td> + </tr> + <tr t-if="process_selection"> + <td> + <fieldset> + <legend> + Select Process + </legend> + <select id="select_process"> + <t t-foreach="process_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="process_id"> + <td> + <div id="process_canvas" style="overflow: auto;"></div> + </td> + </tr> + <tr t-if="process_id"> + <td> + <button id="edit_process">Edit Process</button> + <button class="toggle_fields"> + <span>Show Fields</span> + <span>Hide Fields</span> + </button> + </td> + </tr> + <tr t-if="process_id"> + <td class="process_fields"> + <table> + <t t-foreach="process_fields" t-as="field"> + <tr> + <td> + <t t-esc="field"/> + </td> + <td> + <table> + <t t-foreach="field_value" t-as="fld"> + <tr> + <td> + <t t-esc="fld"/>: + </td> + <td> + <t t-esc="fld_value"/> + </td> + </tr> + </t> + </table> + </td> + </tr> + </t> + </table> + </td> + </tr> + </table> + </t> +</template>
\ No newline at end of file |
