Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
505a5fdf
Commit
505a5fdf
authored
Apr 05, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
Feature theme See merge request manzarH/dic-global-dev!719
parents
b0e457bb
c87d661d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
4 deletions
+35
-4
custom.js
themes/custom/envigo/js/custom.js
+31
-0
views-view-unformatted--history--block-1.html.twig
themes/custom/envigo/templates/views/views-view-unformatted--history--block-1.html.twig
+4
-4
No files found.
themes/custom/envigo/js/custom.js
View file @
505a5fdf
...
@@ -405,6 +405,36 @@
...
@@ -405,6 +405,36 @@
});
});
}
}
if
(
$
(
".history-year__global-blue"
).
length
)
{
$
(
".history-year__global-blue"
).
slick
({
dots
:
false
,
infinite
:
true
,
autoplay
:
true
,
autoplaySpeed
:
2000
,
speed
:
3000
,
slidesToShow
:
6
,
slidesToScroll
:
6
,
arrows
:
false
,
responsive
:
[{
breakpoint
:
991
,
settings
:
{
arrows
:
true
,
slidesToShow
:
3
,
slidesToScroll
:
3
,
},
},
{
breakpoint
:
767
,
settings
:
{
slidesToShow
:
2
,
slidesToScroll
:
2
,
},
},
],
});
}
if
(
$
(
".history-year__india"
).
length
)
{
if
(
$
(
".history-year__india"
).
length
)
{
$
(
".history-year__india"
).
slick
({
$
(
".history-year__india"
).
slick
({
dots
:
false
,
dots
:
false
,
...
@@ -537,6 +567,7 @@
...
@@ -537,6 +567,7 @@
});
});
//when the slick slide initializes we want to set all of our slides to the same height
//when the slick slide initializes we want to set all of our slides to the same height
$
(
".b_slider_m_c_box"
).
on
(
"setPosition"
,
function
()
{
$
(
".b_slider_m_c_box"
).
on
(
"setPosition"
,
function
()
{
jbResizeSlider
();
jbResizeSlider
();
...
...
themes/custom/envigo/templates/views/views-view-unformatted--history--block-1.html.twig
View file @
505a5fdf
...
@@ -37,8 +37,8 @@
...
@@ -37,8 +37,8 @@
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<div
class=
"h_s_c_o_w"
>
<div
class=
"h_s_c_o_w"
>
<div
class=
"hs_i_wrapper"
>
<div
class=
"hs_i_wrapper"
>
<div
class=
"hs_wrap_c
historyscrollerPane
"
>
<div
class=
"hs_wrap_c"
>
<ul
class=
"count_li_item "
>
<ul
class=
"count_li_item
history-year__global
"
>
{%
for
row
in
rows
%}
{%
for
row
in
rows
%}
{%
if
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_history_category }}'
]
==
'Corporation History'
%}
{%
if
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_history_category }}'
]
==
'Corporation History'
%}
<li>
<li>
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
<span></span>
<span></span>
</div>
</div>
</div>
</div>
<div
class=
"hs_wrap_c"
>
<div
class=
"hs_wrap_c
historyscrollerPane
"
>
<ul
class=
"count_li_item"
>
<ul
class=
"count_li_item
history-year__global-blue
"
>
{%
for
row
in
rows
%}
{%
for
row
in
rows
%}
{%
if
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_history_category }}'
]
==
'Product History'
%}
{%
if
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_history_category }}'
]
==
'Product History'
%}
<li
class=
"blue"
>
<li
class=
"blue"
>
...
...
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