diff options
Diffstat (limited to 'addons/pad/static/src/xml')
| -rw-r--r-- | addons/pad/static/src/xml/pad.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/pad/static/src/xml/pad.xml b/addons/pad/static/src/xml/pad.xml new file mode 100644 index 00000000..44eb11c8 --- /dev/null +++ b/addons/pad/static/src/xml/pad.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<templates id="template" xml:space="preserve"> + + <t t-name="FieldPad"> + <div class="oe_form_field_text oe_pad"> + <p class="oe_unconfigured d-none"> + Please, enter your Etherpad credentials through the Settings. + </p> + <t t-if="widget.mode === 'readonly'"> + <div class="oe_pad_content etherpad_readonly oe_configured" /> + </t> + <t t-if="widget.mode === 'edit'"> + <div class="oe_pad_switch_positioner oe_configured"> + <span class="fa fa-expand oe_pad_switch" role="img" aria-label="Switch pad" title="Switch pad"/> + </div> + <div class="oe_pad_content oe_editing oe_configured" /> + </t> + </div> + </t> + +</templates> |
