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
bf3b6acd
Commit
bf3b6acd
authored
Sep 10, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cambios
parent
be1d8a37
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
121 additions
and
20 deletions
+121
-20
app/Resources/views/producto_final/base_final.html.twig
app/Resources/views/producto_final/base_final.html.twig
+76
-7
web/manuel/css/style.css
web/manuel/css/style.css
+45
-13
No files found.
app/Resources/views/producto_final/base_final.html.twig
View file @
bf3b6acd
...
@@ -38,21 +38,26 @@
...
@@ -38,21 +38,26 @@
<div
class=
"responsive-bar"
>
<div
class=
"responsive-bar"
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<img
src=
"
{{
asset
(
'manuel/images/logo-inovage-480x59.png'
)
}}
"
alt=
"logo"
/>
<img
src=
"
images/logo-inovage-480x59.png
"
alt=
"logo"
/>
</div>
</div>
<div
class=
"menu"
>
<div
class=
"menu"
>
<h4>
...
</h4>
<h4>
kjh
</h4>
</div>
</div>
</div>
</div>
<nav>
<nav>
<div
class=
"logo"
>
<div
class=
"logo"
>
<img
src=
"
{{
asset
(
'manuel/images/logo-inovage-480x59.png'
)
}}
"
<img
src=
"
images/logo-inovage-480x59.png
"
alt=
"logo"
/>
alt=
"logo"
/>
</div>
</div>
<ul>
<ul>
<li><a
href=
"#"
>
Selfie Test
</a></li>
<li><a
href=
"https://www.inovage.cl/selfie-test/"
>
Selfie Test
</a></li>
<li><a
href=
"#"
>
¿Cómo Actúa?
</a></li>
<li><a
href=
"https://www.inovage.cl/como-funciona/"
>
¿Cómo Actúa?
</a></li>
<li><a
href=
"#"
>
Efecto
</a></li>
<li><a
href=
"https://www.inovage.cl/los-culpables/"
>
Efecto
</a></li>
<li><a
href=
"#"
>
<i
class=
"_mi dashicons dashicons-cart"
aria-hidden=
"true"
style=
"font-size:1.4em;"
></i></a>
</li>
</ul>
</ul>
</nav>
</nav>
<div
id=
"content"
class=
"content"
>
<div
id=
"content"
class=
"content"
>
...
@@ -85,6 +90,70 @@
...
@@ -85,6 +90,70 @@
)
)
</script>
</script>
<script>
function
copyToClipboard
(
text
,
copyMode
)
{
if
(
copyMode
==
"
css
"
)
{
window
.
prompt
(
"
Copy this, then paste in your CSS :before selector.
"
,
text
);
}
else
if
(
copyMode
==
"
html
"
)
{
window
.
prompt
(
"
Copy this, then paste in your HTML.
"
,
text
);
}
else
{
window
.
prompt
(
"
Copy this, then paste in your Photoshop textfield.
"
,
text
);
}
}
function
pickRandomIcon
()
{
var
divs
=
jQuery
(
"
#iconlist div
"
).
get
().
sort
(
function
()
{
return
Math
.
round
(
Math
.
random
())
-
0.5
;
}).
slice
(
0
,
1
);
attr
=
jQuery
(
divs
).
data
(
'
code
'
);
cssclass
=
jQuery
(
divs
).
attr
(
'
class
'
);
displayGlyph
(
attr
,
cssclass
);
}
function
displayGlyph
(
attr
,
cssclass
)
{
// css copy string
csstext
=
'
content:
\
"
\\'
+ attr +
'"
;';
// html copy string
htmltext = '<div class=
"'
+ cssclass +
'"
></div>';
// glyph copy string
glyphtemp =
"
&
#
x
"
+ attr +
"
;
"
;
jQuery('#temp').html(glyphtemp);
glyphtext = jQuery('#temp').text();
// final output
output = '<div class=
"'
+ cssclass +
'"
></div>'
+ '<div class=
"
info
"
>'
+ '<strong>← ' + cssclass.split(' ')[1] + '</strong>'
+ '<a href=
"
javascript
:
copyToClipboard
(
csstext
,
\
'
css
\'
)">Copy CSS</a>
'
+
'
<a href="javascript:copyToClipboard(htmltext,
\'
html
\'
)">Copy HTML</a>
'
+
'
<a href="javascript:copyToClipboard(glyphtext)">Copy Glyph</a>
'
+
'
</div>
'
;
jQuery
(
'
#glyph
'
).
html
(
output
);
}
jQuery
(
document
).
ready
(
function
()
{
pickRandomIcon
();
jQuery
(
'
#iconlist div
'
).
click
(
function
()
{
attr
=
jQuery
(
this
).
data
(
'
code
'
);
cssclass
=
jQuery
(
this
).
attr
(
'
class
'
);
displayGlyph
(
attr
,
cssclass
);
});
});
</script>
<!-- ================== END BASE JS ================== -->
<!-- ================== END BASE JS ================== -->
<!-- ================== BEGIN PAGE LEVEL JS ================== -->
<!-- ================== BEGIN PAGE LEVEL JS ================== -->
...
...
web/manuel/css/style.css
View file @
bf3b6acd
This diff is collapsed.
Click to expand it.
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