Files
web/web_widget_digitized_signature/static/src/xml/digital_sign.xml
2016-01-26 16:22:44 +01:00

19 lines
724 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="FieldSignature" >
<div class = "cc">
<div class="signature oe_edit_only"/><br/>
<button class="oe_form_binary_file_clear oe_edit_only clear_sign"><span>Clear</span></button>
<span class="oe_edit_only save_sign"></span>
</div>
</t>
<t t-name="FieldBinaryImage-signature">
<img t-att-src='url'
t-att-border="widget.readonly ? 0 : 1"
t-att-name="widget.name"
t-att-width="widget.node.attrs.img_width || widget.node.attrs.width"
t-att-height="widget.node.attrs.img_height || widget.node.attrs.height"
/>
</t>
</templates>