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
87a11f60
Commit
87a11f60
authored
May 28, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nuevos cambios
parent
bfd3cdd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
app/Resources/views/producto/landing_producto.html.twig
app/Resources/views/producto/landing_producto.html.twig
+12
-10
No files found.
app/Resources/views/producto/landing_producto.html.twig
View file @
87a11f60
{%
extends
'base.html.twig'
%}
{%
extends
'base.html.twig'
%}
{%
block
head
%}
{%
block
head
%}
{%
if
idp
==
"none"
%}
{%
if
idp
==
"none"
%}
<meta
property=
"og:url"
content=
"http
://127.0.0.1:8000
/nutrapharm/index?idp=
{{
idp
}}
&fa=
{{
fa
}}
"
/>
<meta
property=
"og:url"
content=
"http
s://test-inovage.gearlabs.cl
/nutrapharm/index?idp=
{{
idp
}}
&fa=
{{
fa
}}
"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:title"
content=
"NutraPharm"
/>
<meta
property=
"og:title"
content=
"NutraPharm"
/>
<meta
property=
"og:description"
content=
"Producto Nutrapharm"
/>
<meta
property=
"og:description"
content=
"Producto Nutrapharm"
/>
<meta
property=
"og:image:type"
content=
"image/png"
/>
<meta
property=
"og:image:type"
content=
"image/png"
/>
<meta
property=
"og:image:width"
content=
"1200"
/>
<meta
property=
"og:image:width"
content=
"1200"
/>
<meta
property=
"og:image:height"
content=
"630"
/>
<meta
property=
"og:image:height"
content=
"630"
/>
<meta
property=
"og:image"
content=
"https://www.tvn.cl/incoming/esmeralda-fernando-godoyjpg-4187151/alternates/BASE_LANDSCAPE_SMALL/Esmeralda%20fernando%20godoy."
/>
<meta
property=
"og:image"
content=
"https://test-inovage.gearlabs.cl/get/photo?file_name=
{{
idp
}}
.png"
/>
{#<link rel="image_src" href="https://www.tvn.cl/incoming/esmeralda-fernando-godoyjpg-4187151/alternates/BASE_LANDSCAPE_SMALL/Esmeralda%20fernando%20godoy.jpg">#}
{%
else
%}
{%
else
%}
<meta
property=
"og:url"
content=
"http
://127.0.0.1:8000
/nutrapharm/index?idp=
{{
idp
}}
&fa=
{{
fa
}}
"
/>
<meta
property=
"og:url"
content=
"http
s://test-inovage.gearlabs.cl
/nutrapharm/index?idp=
{{
idp
}}
&fa=
{{
fa
}}
"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:type"
content=
"website"
/>
<meta
property=
"og:title"
content=
"NutraPharm Comparacion"
/>
<meta
property=
"og:title"
content=
"NutraPharm Comparacion
Foto
"
/>
<meta
property=
"og:description"
content=
"Producto Nutrapharm - Foto "
/>
<meta
property=
"og:description"
content=
"Producto Nutrapharm - Foto "
/>
<meta
property=
"og:image:type"
content=
"image/png"
/>
<meta
property=
"og:image:type"
content=
"image/png"
/>
<meta
property=
"og:image:width"
content=
"1200"
/>
<meta
property=
"og:image:width"
content=
"1200"
/>
<meta
property=
"og:image:height"
content=
"630"
/>
<meta
property=
"og:image:height"
content=
"630"
/>
<meta
property=
"og:image"
content=
"http://127.0.0.1:8000/nutrapharm
/get/photo?file_name=
{{
idp
}}
.png"
/>
<meta
property=
"og:image"
content=
"https://test-inovage.gearlabs.cl
/get/photo?file_name=
{{
idp
}}
.png"
/>
{#<meta property="og:image" content="https://www.tvn.cl/incoming/esmeralda-fernando-godoyjpg-4187151/alternates/BASE_LANDSCAPE_SMALL/Esmeralda%20fernando%20godoy.">#}
{#<meta property="og:image" content="https://www.tvn.cl/incoming/esmeralda-fernando-godoyjpg-4187151/alternates/BASE_LANDSCAPE_SMALL/Esmeralda%20fernando%20godoy.">#}
{#<link rel="image_src" href="https://www.24horas.cl/noticiasbbc/ilustracion-hombre-en-la-prehistoria-4193967/ALTERNATES/w620h350/Ilustraci%C3%B3n%20hombre%20en%20la%20prehistoria.jpg"/>#}
{#<link rel="image_src" href="https://www.24horas.cl/noticiasbbc/ilustracion-hombre-en-la-prehistoria-4193967/ALTERNATES/w620h350/Ilustraci%C3%B3n%20hombre%20en%20la%20prehistoria.jpg"/>#}
{%
endif
%}
{%
endif
%}
...
@@ -49,7 +48,8 @@
...
@@ -49,7 +48,8 @@
</div>
</div>
</div>
</div>
{%
else
%}
{%
else
%}
<img
src=
"http://127.0.0.1:8000/nutrapharm/get/photo?file_name=cmauriciodc1.png"
/>
<label>
Foto Subida antes
</label>
<img
src=
"https://test-inovage.gearlabs.cl/nutrapharm/get/photo?file_name=
{{
idp
}}
.png"
/>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"col-md-3 control-label"
>
Comentarios
</label>
<label
class=
"col-md-3 control-label"
>
Comentarios
</label>
<div
class=
"col-md-8"
>
<div
class=
"col-md-8"
>
...
@@ -97,6 +97,7 @@
...
@@ -97,6 +97,7 @@
<button
id=
"btnGuardar"
>
Guardar
</button>
<button
id=
"btnGuardar"
>
Guardar
</button>
</div>
</div>
</div>
</div>
<div
id=
"mensajeFormulario"
></div>
<span>
RELLENA TUS DATOS Y SUBE TU FOTO
</span>
<span>
RELLENA TUS DATOS Y SUBE TU FOTO
</span>
{%
else
%}
{%
else
%}
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
@@ -113,7 +114,7 @@
...
@@ -113,7 +114,7 @@
var
usuarioNutraPharm
=
null
;
//por defecto
var
usuarioNutraPharm
=
null
;
//por defecto
</script>
</script>
<script>
<script>
var
url
=
'
http
://wooadmin.gearlabs.cl/test/sharer
?idp=
{{
idp
}}
&fa=
{{
fa
}}
'
;
var
url
=
'
http
s://test-inovage.gearlabs.cl/nutrapharm/index
?idp=
{{
idp
}}
&fa=
{{
fa
}}
'
;
var
description
=
$
(
"
#comentarioFotoUsuario
"
).
val
();
var
description
=
$
(
"
#comentarioFotoUsuario
"
).
val
();
</script>
</script>
<script>
<script>
...
@@ -149,9 +150,9 @@
...
@@ -149,9 +150,9 @@
},
function
(
response
)
{
},
function
(
response
)
{
if
(
response
&&
response
.
post_id
)
{
if
(
response
&&
response
.
post_id
)
{
console
.
log
(
'
Post
was published
.
'
);
console
.
log
(
'
Post
Compartido en Facebook
.
'
);
}
else
{
}
else
{
console
.
log
(
'
Post
was not published
.
'
);
console
.
log
(
'
Post
No Compartido en Facebook
.
'
);
}
}
});
});
})
})
...
@@ -256,6 +257,7 @@
...
@@ -256,6 +257,7 @@
{%
if
idp
!=
"none"
and
fa
==
0
%}
{%
if
idp
!=
"none"
and
fa
==
0
%}
$
(
"
#shareButtonContainer
"
).
show
();
$
(
"
#shareButtonContainer
"
).
show
();
{%
endif
%}
{%
endif
%}
$
(
"
#mensajeFormulario
"
).
html
(
"
Datos Gaudados y/o Actualizados!!
"
);
},
},
complete
:
function
(
data
)
{
complete
:
function
(
data
)
{
$
(
"
#btnGuardar
"
).
prop
(
"
disabled
"
,
false
);
$
(
"
#btnGuardar
"
).
prop
(
"
disabled
"
,
false
);
...
...
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