diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-08-17 17:27:18 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-08-18 10:56:32 +0200 |
| commit | 1ca79bd9f18d7f7a1fbd132e9ae12d82248ba3e1 (patch) | |
| tree | a750a9daadf1c92567d25e038ae44b5d38e314ef /addons/mail/static/src | |
| parent | b31577a11a989b4358d59bc432a7fdbc73ac0d16 (diff) | |
[FIX] mail, web: use 'o_input' class on kanban and discuss elements
Since the new views, the 'o_input' class has to be set explicitely on
<input/>, <select/> and <textarea/> elements to have the proper styling.
Diffstat (limited to 'addons/mail/static/src')
| -rw-r--r-- | addons/mail/static/src/xml/client_action.xml | 4 | ||||
| -rw-r--r-- | addons/mail/static/src/xml/composer.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/mail/static/src/xml/client_action.xml b/addons/mail/static/src/xml/client_action.xml index 936f8a91be9..952b93af1a0 100644 --- a/addons/mail/static/src/xml/client_action.xml +++ b/addons/mail/static/src/xml/client_action.xml @@ -84,7 +84,7 @@ <t t-name="mail.chat.SidebarItems"> <div t-if="!disable_add_channel" class="o_mail_add_channel" t-attf-data-type="#{channel_type}"> <span t-if="display_hash">#</span> - <input type="text" t-attf-placeholder="#{input_placeholder}"/> + <input type="text" class="o_input" t-attf-placeholder="#{input_placeholder}"/> </div> <t t-foreach="channels" t-as="channel"> <t t-set="counter" t-value="channel.is_chat ? channel.unread_counter : channel.needaction_counter"/> @@ -134,6 +134,6 @@ <!-- Invite dialog's content --> <div t-name="mail.PartnerInviteDialog"> - <input type="text" class="o_mail_chat_partner_invite_input" id="mail_search_partners"/> + <input type="text" class="o_input o_mail_chat_partner_invite_input" id="mail_search_partners"/> </div> </templates> diff --git a/addons/mail/static/src/xml/composer.xml b/addons/mail/static/src/xml/composer.xml index 93a1ea51e46..032a71edbcd 100644 --- a/addons/mail/static/src/xml/composer.xml +++ b/addons/mail/static/src/xml/composer.xml @@ -5,7 +5,7 @@ <div class="o_composer_attachments_list"/> <t t-if="widget.extended"> <div class="o_composer_subject"> - <input tabindex="1" type="text" placeholder="Subject"></input> + <input tabindex="1" type="text" class="o_input" placeholder="Subject"></input> <div class="btn-group o_composer_buttons"> <button tabindex="3" class="btn btn-sm btn-primary o_composer_button_send" type="button"><t t-esc="widget.options.send_text"/></button> <button tabindex="4" class="btn btn-sm btn-icon fa fa-smile-o o_composer_button_emoji" type="button" data-toggle="popover"/> @@ -15,7 +15,7 @@ </t> <div t-attf-class="o_composer #{widget.extended ? 'o_extended_composer' : ''}"> <div class="o_composer_input"> - <textarea class="o_composer_text_field" tabindex="2" placeholder="Write something..."/> + <textarea class="o_input o_composer_text_field" tabindex="2" placeholder="Write something..."/> </div> <t t-if="!widget.extended"> <div class="btn-group o_composer_buttons"> |
