button fix
This commit is contained in:
parent
c4f442f219
commit
932607c079
|
|
@ -2,8 +2,8 @@
|
||||||
<templates xml:space="preserve">
|
<templates xml:space="preserve">
|
||||||
<t t-inherit="web.FormStatusIndicator" t-inherit-mode="extension">
|
<t t-inherit="web.FormStatusIndicator" t-inherit-mode="extension">
|
||||||
<xpath expr="//button[@t-ref='save']" position="replace">
|
<xpath expr="//button[@t-ref='save']" position="replace">
|
||||||
<div class="d-flex gap-2">
|
|
||||||
<button style="font-size:10px; background-color:green;color:white;border-radius:4px"
|
<button style="font-size:10px; background-color:#dcc4f5; color:black;border-radius:4px"
|
||||||
type="button"
|
type="button"
|
||||||
class="o_form_button_save btn btn-light border-0 px-3 py-1 lh-sm"
|
class="o_form_button_save btn btn-light border-0 px-3 py-1 lh-sm"
|
||||||
data-hotkey="s"
|
data-hotkey="s"
|
||||||
|
|
@ -15,7 +15,11 @@
|
||||||
<i class="fa fa-check" aria-hidden="true"/>
|
<i class="fa fa-check" aria-hidden="true"/>
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
<button style="font-size:10px; background-color:red;color:white;border-radius:4px"
|
</xpath>
|
||||||
|
|
||||||
|
|
||||||
|
<xpath expr="//button[@data-hotkey='j']" position="replace">
|
||||||
|
<button style="font-size:10px; background-color:#c4d9f5; color:black; border-radius:6px"
|
||||||
type="button"
|
type="button"
|
||||||
class="o_form_button_cancel btn btn-light border-0 px-3 py-1 lh-sm"
|
class="o_form_button_cancel btn btn-light border-0 px-3 py-1 lh-sm"
|
||||||
data-hotkey="j"
|
data-hotkey="j"
|
||||||
|
|
@ -25,7 +29,7 @@
|
||||||
Discard
|
Discard
|
||||||
<i class="fa fa-times fa-fw" />
|
<i class="fa fa-times fa-fw" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</t>
|
</t>
|
||||||
</templates>
|
</templates>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue