summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorRandhir Mayatra rma-openerp <rma@tinyerp.com>2014-04-07 15:32:40 +0530
committerRandhir Mayatra rma-openerp <rma@tinyerp.com>2014-04-07 15:32:40 +0530
commitc037ebb362cf196edabc07a7e40c85a15a51eb27 (patch)
tree8cbd28cdc85d9c3a3fb6d172297d3376d375f0a1 /addons/web/static/src/xml/base.xml
parent8c666af35c9c7b79373b999d1df2d4ba350e8f5d (diff)
parent7c79674a3ec2ce1e58e8edca889d2175813a4793 (diff)
[MERGE] merge with latest trunk
bzr revid: rma@tinyerp.com-20140407100240-vk43kganr5g0gz5i
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml30
1 files changed, 23 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 80b82c1f40b..23cad2098dc 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -231,17 +231,24 @@
</div>
<table align="center" class="db_option_table">
<tr>
- <td><label for="restore_db">File:</label></td>
- <td><input type="file" name="db_file" class="required" autofocus="autofocus"/></td>
+ <td><label for="restore_pwd">Master Password:</label></td>
+ <td><input type="password" name="restore_pwd" class="required" autofocus="autofocus"/></td>
</tr>
<tr>
- <td><label for="restore_pwd">Master Password:</label></td>
- <td><input type="password" name="restore_pwd" class="required"/></td>
+ <td><label for="restore_db">File:</label></td>
+ <td><input type="file" name="db_file" class="required"/></td>
</tr>
<tr>
<td><label for="new_db">New database name:</label></td>
<td><input type="text" name="new_db" class="required"/></td>
</tr>
+ <tr>
+ <td><label for="mode">Mode:</label></td>
+ <td><select name="mode" class="required">
+ <option value="restore">Backup Restore</option>
+ <option value="copy">Copy of an existing database</option>
+ </select></td>
+ </tr>
</table>
</form>
<form id="db_change_password" name="change_pwd_form" style="display: none;">
@@ -1188,6 +1195,11 @@
<span></span>
</span>
</t>
+<t t-name="FieldPercentPie">
+ <span class="oe_form_field oe_form_field_percent_pie" t-att-style="widget.node.attrs.style">
+ <svg></svg>
+ </span>
+</t>
<t t-name="FieldStatus">
<ul t-att-class="'oe_form_field_status ' + (widget.options.clickable ? 'oe_form_status_clickable' : 'oe_form_status')" t-att-style="widget.node.attrs.style"/>
</t>
@@ -1351,13 +1363,15 @@
</div>
</t>
<t t-name="WidgetButton">
- <button type="button" class="oe_button oe_form_button"
+ <button type="button" t-att-class="widget.is_stat_button ? 'oe_stat_button btn btn-default' : 'oe_button oe_form_button'"
t-att-style="widget.node.attrs.style"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
t-att-accesskey="widget.node.attrs.accesskey">
- <img t-if="widget.node.attrs.icon" t-att-src="_s + widget.node.attrs.icon" width="16" height="16"/>
- <span t-if="widget.string"><t t-esc="widget.string"/></span>
+ <img t-if="!widget.is_stat_button and widget.node.attrs.icon " t-att-src="_s + widget.node.attrs.icon" width="16" height="16"/>
+ <div t-if="widget.is_stat_button" class="stat_button_icon"><t t-if="widget.icon" t-raw="widget.icon"/></div>
+ <span t-if="widget.string and !widget.is_stat_button"><t t-esc="widget.string"/></span>
+ <div t-if="widget.string and widget.is_stat_button"><t t-esc="widget.string"/></div>
</button>
</t>
<t t-name="WidgetButton.tooltip" t-extend="WidgetLabel.tooltip">
@@ -1930,4 +1944,6 @@
<t t-name="X2ManyCounter">
<a href="javascript:void(0)"><t t-esc="text"/></a>
</t>
+<t t-name="StatInfo">
+ <strong><t t-esc="value"/></strong><br/><t t-esc="text"/></t>
</templates>