mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Although widget allowed to set size in view (width, height) it was hardcoded to 550x150. Allow setting width and height for widget and fallback to previous default of 550x150 Set border on signature widget to explicitly show widget limits
16 lines
523 B
XML
16 lines
523 B
XML
<odoo>
|
|
|
|
<template id="web_widget_digitized_signature_backend" name="web_widget_digitized_signature assets" inherit_id="web.assets_backend">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript"
|
|
src="/web_widget_digitized_signature/static/src/js/digital_sign.js"/>
|
|
<style type="text/css">
|
|
.jSignature {
|
|
border: 2px dotted gray !important;
|
|
}
|
|
</style>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|