summaryrefslogtreecommitdiff
path: root/addons/base/static/src/xml/base.xml
diff options
context:
space:
mode:
authornoz (OpenERP) <noz@tinyerp.com>2011-07-04 19:18:23 +0530
committernoz (OpenERP) <noz@tinyerp.com>2011-07-04 19:18:23 +0530
commit6c971a0fda8e8e51c148aae574dc685898ee373b (patch)
treedb791d3ce3686b88a0d8ffe9b3f3e1a70a98a39f /addons/base/static/src/xml/base.xml
parent9d77bed1cab4965ddbabe19fbc97b4b582e42621 (diff)
[IMP] Improved methods for backup, restore, change password.
bzr revid: noz@tinyerp.com-20110704134823-bhn2qg4nwgx819ii
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
-rw-r--r--addons/base/static/src/xml/base.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml
index 8bb13f10963..4edfd27068f 100644
--- a/addons/base/static/src/xml/base.xml
+++ b/addons/base/static/src/xml/base.xml
@@ -113,7 +113,7 @@
<td><input type="text" name="confirm_pwd"/></td>
</tr>
<tr>
- <td colspan="2" align="right"><button type="button">Create</button></td>
+ <td colspan="2" align="right"><button type="button" id="create_db_btn">Create</button></td>
</tr>
</table>
</t>
@@ -137,8 +137,8 @@
</t>
</tr>
<tr>
- <td><label for="droppassword">Password:</label></td>
- <td><input type="password" name="drop_password" value=""/></td>
+ <td><label for="drop_password">Password:</label></td>
+ <td><input type="password" name="drop_pwd" value=""/></td>
</tr>
<tr>
<td colspan="2" align="right"><button type="button" id="drop_db_btn">Drop</button></td>
@@ -155,10 +155,10 @@
</table>
<table align="center" class="db_option_table">
<tr>
- <td><label for="db_name">Database:</label></td>
+ <td><label for="backup_db">Database:</label></td>
<td>
<t t-if="db_list">
- <select name="db">
+ <select name="backup_db">
<t t-foreach="db_list" t-as="db">
<option t-att-value="db"><t t-esc="db"/></option>
</t>
@@ -167,11 +167,11 @@
</td>
</tr>
<tr>
- <td><label for="pwd">Password:</label></td>
- <td><input type="password" name="pwd"/></td>
+ <td><label for="backup_pwd">Password:</label></td>
+ <td><input type="password" name="backup_pwd"/></td>
</tr>
<tr>
- <td colspan="2" align="right"><button type="button">Backup</button></td>
+ <td colspan="2" align="right"><button type="button" id="backup_db_btn">Backup</button></td>
</tr>
</table>
</t>
@@ -185,19 +185,19 @@
</table>
<table align="center" class="db_option_table">
<tr>
- <td><label for="db_name">File:</label></td>
- <td><input type="file"/></td>
+ <td><label for="restore_db">File:</label></td>
+ <td><input type="file" name="restore_db"/></td>
</tr>
<tr>
- <td><label for="pwd">Password:</label></td>
- <td><input type="password" name="pwd"/></td>
+ <td><label for="restore_pwd">Password:</label></td>
+ <td><input type="password" name="restore_pwd"/></td>
</tr>
<tr>
<td><label for="new_db">New database name:</label></td>
<td><input type="text" name="new_db"/></td>
</tr>
<tr>
- <td colspan="2" align="right"><button type="button">Restore</button></td>
+ <td colspan="2" align="right"><button type="button" id="restore_db_btn">Restore</button></td>
</tr>
</table>
</t>
@@ -223,7 +223,7 @@
<td><input type="password" name="confirm_pwd"/></td>
</tr>
<tr>
- <td colspan="2" align="right"><button type="button">Change Password</button></td>
+ <td colspan="2" align="right"><button type="button" id="change_pwd_btn">Change Password</button></td>
</tr>
</table>
</t>