[NEW] web_widget_image_webcam: New Module that allows to take image with webcam

This commit is contained in:
Siddharth Bhalgami
2016-09-14 14:01:14 +05:30
parent 163145da19
commit cc10fefd8e
11 changed files with 1000 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 Siddharth Bhalgami <siddharth.bhalgami@techreceptives.com>
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<template id="template" xml:space="preserve">
<t t-extend="FieldBinaryImage">
<t t-jquery=".oe_form_binary_file_edit" t-operation="after">
<a class="fa fa-eye fa-1g col-md-4 oe_form_binary_file_web_cam" title="WebCam"></a>
</t>
</t>
<div t-name="WebCamDialog" id="WebCamModal">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-5 live_webcam_outer_div">
<div id="live_webcam"></div>
</div>
<div class="col-md-2 mt64 direction_icon fa fa-angle-right fa-8x"></div>
<div class="col-md-5 webcam_result_outer_div">
<div id="webcam_result"></div>
</div>
</div>
</div>
</div>
</div>
</template>