Commit 6e8658b0 by Manzar Hussain

add event videos

parent 5668e187
{#
/**
* @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>
{#
/**
* @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 &nbsp;<i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment