web_widget_darkroom: Add o2m DarkroomJS widget

This commit is contained in:
Dave Lasley
2016-08-23 16:29:12 -07:00
parent 97b6b48a69
commit 112eba3e12
45 changed files with 3621 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 LasLabs Inc.
License LGPL-3 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<templates id="field_templates" xml:space="preserve">
<t t-name="FieldDarkroomImage">
<span class="oe_form_field o_form_field_darkroom"
t-att-style="widget.node.attrs.style">
<t t-if="!widget.get('effective_readonly')">
<div class="darkroom-toolbar" />
</t>
</span>
</t>
</templates>