Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nutrapharm_producto
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
nutrapharm_producto
Commits
e1f216d8
Commit
e1f216d8
authored
Jun 04, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actualizacion general
parent
aff08f14
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
app/Resources/views/producto/landing_producto.html.twig
app/Resources/views/producto/landing_producto.html.twig
+2
-1
web/frontend/js/capture.js
web/frontend/js/capture.js
+2
-0
No files found.
app/Resources/views/producto/landing_producto.html.twig
View file @
e1f216d8
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
id=
"tomarFotoContainer"
style=
"display:none"
>
<div
id=
"tomarFotoContainer"
style=
"display:none"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<div
class=
"camera"
style=
"display: block"
>
<div
id=
"cameraContainer"
class=
"camera"
style=
"display: block"
>
<video
id=
"video"
width=
"600"
height=
"315"
>
No se encuentra disponible una camara
</video>
<video
id=
"video"
width=
"600"
height=
"315"
>
No se encuentra disponible una camara
</video>
<button
id=
"startbutton"
>
Tomar Foto
</button>
<button
id=
"startbutton"
>
Tomar Foto
</button>
</div>
</div>
...
@@ -131,6 +131,7 @@
...
@@ -131,6 +131,7 @@
event
.
preventDefault
();
event
.
preventDefault
();
console
.
log
(
"
mostrando tomar foto...
"
);
console
.
log
(
"
mostrando tomar foto...
"
);
$
(
"
#tomarFotoContainer
"
).
show
();
$
(
"
#tomarFotoContainer
"
).
show
();
$
(
"
#cameraContainer
"
).
show
();
$
(
"
#subirFotoContainer
"
).
hide
();
$
(
"
#subirFotoContainer
"
).
hide
();
imagenTomada
=
false
;
imagenTomada
=
false
;
imagenTomada
=
true
;
imagenTomada
=
true
;
...
...
web/frontend/js/capture.js
View file @
e1f216d8
...
@@ -105,6 +105,8 @@
...
@@ -105,6 +105,8 @@
}
else
{
}
else
{
clearphoto
();
clearphoto
();
}
}
$
(
"
#cameraContainer
"
).
hide
();
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment