summaryrefslogtreecommitdiff
path: root/addons/web_process/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_process/static/src/xml')
-rw-r--r--addons/web_process/static/src/xml/web_process.xml35
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>