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
7bd5aa02
Commit
7bd5aa02
authored
Dec 24, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
slideshow design See merge request manzarH/dic-global-dev!35
parents
0f17d93a
cef93e8b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
9 deletions
+46
-9
page--front.html.twig
themes/custom/envigo/templates/layout/page--front.html.twig
+2
-9
views-view-unformatted--slideshow--block.html.twig
themes/custom/envigo/templates/views/views-view-unformatted--slideshow--block.html.twig
+44
-0
No files found.
themes/custom/envigo/templates/layout/page--front.html.twig
View file @
7bd5aa02
...
...
@@ -55,15 +55,8 @@
</div>
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
{{
page.content
}}
</div>
</div>
</div>
</div>
{{
page.content
}}
{%
if
page.footer_top
%}
...
...
themes/custom/envigo/templates/views/views-view-unformatted--slideshow--block.html.twig
0 → 100644
View file @
7bd5aa02
{#
/**
* @file
* Default theme implementation to display a view of unformatted rows.
*
* Available variables:
* - title: The title of this group of rows. May be empty.
* - rows: A list of the view's row items.
* - attributes: The row's HTML attributes.
* - content: The row's content.
* - view: The view object.
* - default_row_class: A flag indicating whether default classes should be
* used on rows.
*
* @see template_preprocess_views_view_unformatted()
*
* @ingroup themeable
*/
#}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider b_m_header"
>
{%
for
row
in
rows
%}
<div
class=
"b_slide_item"
>
<a
href=
"#"
>
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_slider_image }}'
]
}}
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_mobile_image }}'
]
}}
</a>
</div>
{%
endfor
%}
</div>
</div>
\ No newline at end of file
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