diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-11-29 10:10:38 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-11-29 10:10:38 +0100 |
| commit | e00cb36f41ced6e3ccadd9d0bac0e1ab88e21fc3 (patch) | |
| tree | a2ce5fe45cdf3eee86b7e2ad561dd379b5b2dee9 /addons/web/static/src/xml/base.xml | |
| parent | 8431c69016ef24980ff5f01a0f6e388399514d8c (diff) | |
| parent | 4b464deeeebe61094a289cbd56cf3d780c295847 (diff) | |
[MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 65 |
1 files changed, 47 insertions, 18 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 723f6707cce..62d8a872f25 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -71,9 +71,9 @@ </div> <ul> <li>Username</li> - <li><input type="text" name="login" t-att-value="widget.selected_login || ''" autofocus="autofocus"/></li> + <li><input name="login" type="text" t-att-value="widget.selected_login || ''" autofocus="autofocus"/></li> <li>Password</li> - <li><input type="password" name="password" t-att-value="widget.selected_password || ''"/></li> + <li><input name="password" type="password" t-att-value="widget.selected_password || ''"/></li> <li><button name="submit">Log in</button></li> </ul> </form> @@ -98,7 +98,6 @@ </select> </t> - <t t-name="DatabaseManager"> <div class="oe_view_manager_view_form"> <div class="oe_form"> @@ -315,26 +314,32 @@ <t t-name="ChangePassword"> <form name="change_password_form" method="POST"> + <div class="oe_form"> <table align="center"> <tr> - <td><label for="old_pwd">Old Password:</label></td> - <td><input type="password" name="old_pwd" + <td class="oe_form_group_cell oe_form_group_cell_label"><label for="old_pwd" class="oe_form_label">Old Password:</label></td> + <td class="oe_form_group_cell"><input type="password" name="old_pwd" minlength="1" autofocus="autofocus"/></td> </tr> <tr> - <td><label for="new_password">New Password:</label></td> - <td><input type="password" name="new_password" + <td class="oe_form_group_cell oe_form_group_cell_label"><label for="new_password" class="oe_form_label">New Password:</label></td> + <td class="oe_form_group_cell"><input type="password" name="new_password" minlength="1"/></td> </tr> <tr> - <td><label for="confirm_pwd">Confirm Password:</label></td> - <td><input type="password" name="confirm_pwd" + <td class="oe_form_group_cell oe_form_group_cell_label"><label for="confirm_pwd" class="oe_form_label">Confirm New Password:</label></td> + <td class="oe_form_group_cell"><input type="password" name="confirm_pwd" minlength="1"/></td> </tr> <tr> - <td colspan="2" align="right"><button class="oe_button">Change Password</button></td> + <td colspan="2" align="right"> + <button class='oe_button oe_form_button'>Change Password</button> + <span class="oe_fade oe_form_button"> or </span> + <button type="button" class="oe_button oe_form_button_cancel oe_form_button oe_link" href="javascript:void(0)"><span>Cancel</span></button> + </td> </tr> </table> + </div> </form> </t> @@ -385,7 +390,7 @@ <t t-esc="menu.name"/> <t t-if="menu.needaction_enabled and menu.needaction_counter"> <div class="oe_tag oe_tag_dark oe_menu_counter"> - <t t-esc="menu.needaction_counter"/> + <t t-if="menu.needaction_counter > 99"> 99+ </t><t t-if="menu.needaction_counter <= 99"> <t t-esc="menu.needaction_counter"/> </t> </div> </t> </a> @@ -443,6 +448,20 @@ </table> </div> </t> +<t t-name="WebClient.timezone_notification"> + <div class="oe_webclient_timezone_notification"> + <p>Your user's preference timezone does not match your browser timezone:</p> + + <dl> + <dt>User's timezone</dt> + <dd><t t-esc="user_timezone"/> (<t t-esc="user_offset"/>)</dd> + <dt>Browser's timezone</dt> + <dd><t t-esc="browser_offset"/></dd> + </dl> + + <p><a href="#">Click here to change your user's timezone.</a></p> + </div> +</t> <t t-name="EmbedClient"> <div class="openerp"> @@ -501,8 +520,11 @@ </t> <t t-name="ViewManagerDebug"> <option value="">Debug View#<t t-esc="view.fields_view.view_id"/></option> - <option t-if="view_manager.active_view === 'form'" value="perm_read" data-views="form,page">View Log (perm_read)</option> - <option t-if="view_manager.active_view === 'form'" value="toggle_layout_outline">Toggle Form Layout Outline</option> + <t t-if="view_manager.active_view === 'form'"> + <option value="perm_read">View Log (perm_read)</option> + <option value="toggle_layout_outline">Toggle Form Layout Outline</option> + <option value="set_defaults">Set Defaults</option> + </t> <option value="tests">JS Tests</option> <option value="fields">View Fields</option> <option value="fvg">Fields View Get</option> @@ -673,13 +695,15 @@ </tr> </tfoot> </table> -<div t-name="ListView.buttons" class="oe_list_buttons"> +<t t-name="ListView.buttons"> + <div class="oe_list_buttons"> <t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable and widget.is_action_enabled('create')"> <button type="button" class="oe_button oe_list_add oe_highlight"> <t t-esc="widget.options.addable"/> </button> </t> -</div> + </div> +</t> <t t-name="ListView.pager"> <div class="oe_list_pager" t-att-colspan="widget.columns_count"> <t t-if="!widget.no_leaf and widget.options.pager !== false" t-call="ViewPager"> @@ -1025,7 +1049,7 @@ t-att-autofocus="widget.node.attrs.autofocus" t-att-id="widget.id_for_label"> <t t-foreach="widget.values" t-as="option"> - <option><t t-esc="option[1]"/></option> + <option><t t-esc="widget.node.attrs.placeholder" t-if="option[0] == false and widget.node.attrs.placeholder"/><t t-esc="option[1]" t-if="option[0] != false"/></option> </t> </select> </span> @@ -1303,6 +1327,11 @@ </tr> <tr style="width:100%"> <td style="width:100%"> + <div class="oe_popup_list_pager"></div> + </td> + </tr> + <tr style="width:100%"> + <td style="width:100%"> <div class="oe_popup_list" style="width:100%"></div> </td> </tr> @@ -1589,10 +1618,10 @@ <span/> </t> <t t-name="SearchView.extended_search.proposition.integer"> - <input type="number" class="field_integer" step="1"/> + <input type="number" class="field_integer" value = "0" step="1"/> </t> <t t-name="SearchView.extended_search.proposition.float"> - <input type="number" class="field_float" step="0.01"/> + <input type="number" class="field_float" value = "0.0" step="0.01"/> </t> <t t-name="SearchView.extended_search.proposition.selection"> <select> |
