mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[NEW] web_widget_image_webcam: New Module that allows to take image with webcam
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user