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
6e8658b0
Commit
6e8658b0
authored
Dec 31, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add event videos
parent
5668e187
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
0 deletions
+102
-0
views-view-field--event_videos--block_1--field_video_link.html.twig
themes/custom/envigo/templates/views/views-view-field--event_videos--block_1--field_video_link.html.twig
+22
-0
views-view-unformatted--event-videos--block.html.twig
themes/custom/envigo/templates/views/views-view-unformatted--event-videos--block.html.twig
+80
-0
No files found.
themes/custom/envigo/templates/views/views-view-field--event_videos--block_1--field_video_link.html.twig
0 → 100644
View file @
6e8658b0
{#
/**
* @file
* Theme override for a single field in a view.
*
* Available variables:
* - view: The view that the field belongs to.
* - field: The field handler that can process the input.
* - row: The raw result of the database query that generated this field.
* - output: The processed output that will normally be used.
*
* When fetching output from the row this construct should be used:
* data = row[field.field_alias]
*
* The above will guarantee that you'll always get the correct data, regardless
* of any changes in the aliasing that might happen if the view is modified.
*
* @see template_preprocess_views_view_field()
*/
#}
<iframe
width=
"100%"
src=
"
{{
output
-
}}
"
frameborder=
"0"
allow=
"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
themes/custom/envigo/templates/views/views-view-unformatted--event-videos--block.html.twig
0 → 100644
View file @
6e8658b0
{#
/**
* @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=
"container-fluid spacerTB video_container bg_l_gray"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"h_c_b_wrapper"
>
<h6
class=
"h_c_w_bnm"
>
Videos
</h6>
<p>
Learn more about DIC India and its manufacturing operations by taking a dive into our latest videos.
</p>
</div>
<div
class=
"v_c_o_b"
>
<div
class=
"v_i_c_b"
>
<div
class=
"slider rbc_slider_b"
>
{%
for
row
in
rows
%}
<div
class=
"rbc_b_t"
>
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_video_link }}'
]
}}
</div>
{%
endfor
%}
</div>
<div
class=
"slider rbc_slider_s"
>
{%
for
row
in
rows
%}
<div
class=
"rbc_s_t"
>
<div
class=
"v_b_c_b"
>
<div
class=
"v_t_ob"
>
<div
class=
"v_t_i_b"
>
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_video_image }}'
]
}}
<div
class=
"y_t_ic"
>
<img
src=
"/themes/custom/envigo/images/youtube.png"
/>
</div>
</div>
<div
class=
"v_t_c_b"
>
<div
class=
"vcb_inner"
>
<p>
DIC India Ink Masters App
</p>
</div>
</div>
</div>
</div>
</div>
{%
endfor
%}
</div>
</div>
</div>
<div
class=
"cs_btn_c_b"
>
<a
href=
"/videos"
>
View All
<i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</div>
</div>
</div>
</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