summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/backend.xml
blob: c79ee939283848ba4b4950ac88d1e82be85aa2a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>