diff options
Diffstat (limited to 'addons/web_editor/static/src/xml/backend.xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/backend.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/xml/backend.xml b/addons/web_editor/static/src/xml/backend.xml new file mode 100644 index 00000000..c79ee939 --- /dev/null +++ b/addons/web_editor/static/src/xml/backend.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates id="template" xml:space="preserve"> + + <t t-name="web_editor.FieldTextHtml.button.translate"> + <div class="btn-group float-right"> + <button t-if="widget.field.translate" class="o_field_translate btn btn-secondary" style="height: 24px; padding: 1px 17px 0px 5px" aria-label="Translate" title="Translate"> + <span class="fa fa-language fa-lg oe_input_icon"/> + </button> + </div> + </t> + + <t t-name="web_editor.FieldTextHtml.fullscreen"> + <span style="margin: 5px; position: fixed; top: 0; right: 0; z-index: 2000;"> + <button class="o_fullscreen btn btn-primary" style="width: 24px; height: 24px; background-color: #337ab7; border: 1px solid #2e6da4; border-radius: 4px; padding: 0; position: relative;"> + <img src="/web_editor/font_to_img/61541/rgb(255,255,255)/16" style="position: absolute; top: 3px; left: 4px;" alt="Fullscreen"/> + </button> + </span> + </t> + +</templates> |
