summaryrefslogtreecommitdiff
path: root/addons/pad/static/src/xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/pad/static/src/xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/pad/static/src/xml')
-rw-r--r--addons/pad/static/src/xml/pad.xml21
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>