Files
odoo_source/addons/pad/static/src/xml/pad.xml
T
qsm-odoo 7f10b55a50 [REF] *: BS4, adapt display classes
The system completely changed. I also had to adapt classes to new
screen breakpoints.

hidden/hide -> d-none
show -> d-block
hidden-xs -> d-none d-md-(block/inline/...)
hidden-sm -> d-md-none d-lg-(block/inline/...)
hidden-md -> d-lg-none d-xl-(block/inline/...)
hidden-lg -> d-xl-none
visible-xs-* -> d-* d-md-none
visible-sm-* -> d-none d-md-* d-lg-none
visible-md-* -> d-none d-lg-* d-xl-none
visible-lg-* -> d-none d-xl-*
hidden-print -> d-print-none
visible-print-* -> d-none d-print-*
...
and all possible combination of those had to be handled too.
2018-07-27 12:36:54 +02:00

22 lines
856 B
XML

<?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 menu 'Settings > General 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>