Commit 1f5be5a6 by Ajay Barthwal

Merge branch 'feature-theme' into 'develop'

modified updated

See merge request manzarH/dic-global-dev!17
parents 48bfe8f1 c48950e1
......@@ -56,26 +56,26 @@
{% if page.banner %}
<div class="b_o_c_b">
<div class="b_main_slider static_banner">
{{ page.banner }}
{{ page.banner }}
</div>
</div>
</div>
{% endif %}
<!-- breadcurmb start -->
<div class="container-fluid">
<div class="row">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="border-bottom">
{{ page.breadcrumb }}
</nav>
</div>
<!-- breadcurmb start -->
<div class="container-fluid">
<div class="row">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="border-bottom">
{{ page.breadcrumb }}
</nav>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
</div>
</div>
</div>
<!-- breadcurmd end -->
{% if page.content_top %}
<div class="contentTop-section">
......@@ -83,15 +83,8 @@
</div>
{% endif %}
<div class="container-fluid spacerTB">
<div class="row">
<div class="container">
<div class="row">
{{ page.content }}
</div>
</div>
</div>
</div>
{{ page.content }}
<!-- <div class="layout-container">
<div class="layout-content">
{# {{ page.content }} #}
......@@ -99,45 +92,45 @@
</div> -->
{% if page.footer_top %}
<div class="container-fluid spacerTB">
<div class="row">
<div class="container">
<div class="row mb-5">
{{ page.footer_top }}
<div class="row">
<div class="container">
<div class="row mb-5">
{{ page.footer_top }}
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if page.footer %}
<div class="container-fluid f_l_c_b">
<div class="row">
<div class="container">
<div class="row">
<div class="col-lg-9">
<div class="row">
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_first }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_second }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_third }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_fourth }}
</div>
<div class="container-fluid f_l_c_b">
<div class="row">
<div class="container">
<div class="row">
<div class="col-lg-9">
<div class="row">
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_first }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_second }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_third }}
</div>
<div class="col-lg-3 col-12 f_cb_m">
{{ page.footer_fourth }}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
......
{#
/**
* @file
* Theme override to display all the fields in a row.
*
* Available variables:
* - view: The view in use.
* - fields: A list of fields, each one contains:
* - content: The output of the field.
* - raw: The raw data for the field, if it exists. This is NOT output safe.
* - class: The safe class ID to use.
* - handler: The Views field handler controlling this field.
* - inline: Whether or not the field should be inline.
* - wrapper_element: An HTML element for a wrapper.
* - wrapper_attributes: List of attributes for wrapper element.
* - separator: An optional separator that may appear before a field.
* - label: The field's label text.
* - label_element: An HTML element for a label wrapper.
* - label_attributes: List of attributes for label wrapper.
* - label_suffix: Colon after the label.
* - element_type: An HTML element for the field content.
* - element_attributes: List of attributes for HTML element for field content.
* - has_label_colon: A boolean indicating whether to display a colon after
* the label.
* - element_type: An HTML element for the field content.
* - element_attributes: List of attributes for HTML element for field content.
* - row: The raw result from the query, with all data it fetched.
*
* @see template_preprocess_views_view_fields()
*/
#}
<div class="cs_item_b">
<div class="cs_inner_item">
<div class="cs_iwcb">
<a href="#" class="cs_img_c_b">
{{ fields.field_prod.content }}
</a>
<div class="cs_hcb">
<span class="cs_icon_c">{{ fields.field_product_icon.content }}</span>
<h6 class="cs_hgbc cs_c3"><a href="" tabindex="0">{{ fields.title.content }}</a></h6>
{{ fields.body.content }}
</div>
</div>
</div>
</div>
{#
/**
* @file
* Default view template to display all the fields in a row.
*
* Available variables:
* - view: The view in use.
* - fields: A list of fields, each one contains:
* - content: The output of the field.
* - raw: The raw data for the field, if it exists. This is NOT output safe.
* - class: The safe class ID to use.
* - handler: The Views field handler controlling this field.
* - inline: Whether or not the field should be inline.
* - wrapper_element: An HTML element for a wrapper.
* - wrapper_attributes: List of attributes for wrapper element.
* - separator: An optional separator that may appear before a field.
* - label: The field's label text.
* - label_element: An HTML element for a label wrapper.
* - label_attributes: List of attributes for label wrapper.
* - label_suffix: Colon after the label.
* - element_type: An HTML element for the field content.
* - element_attributes: List of attributes for HTML element for field content.
* - has_label_colon: A boolean indicating whether to display a colon after
* the label.
* - element_type: An HTML element for the field content.
* - element_attributes: List of attributes for HTML element for field content.
* - row: The raw result from the query, with all data it fetched.
*
* @see template_preprocess_views_view_fields()
*
* @ingroup themeable
*/
#}
<div class="container-fluid bg_l_gray spacerTB cs_bnmv cs_box_shadow card_s_page">
<div class="row">
<div class="container">
<div class="row">
<div class="col-12">
<div class="cs_w_b">
<h2 class="c_heading_b">Search by Products</h2>
<div class="cs_slider_wp">
<div class="cs_s_cb row">
{% for row in rows %}
<div class="cs_item_b col-10 col-md-4">
<div class="cs_inner_item">
<div class="cs_containe_i_w">
<a href="#" class="cs_img_bc">
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_product_image }}'] }}
</a>
<div class="cs_text_cib">
<h6 class="cs_hcwbm">
<a href="">{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}</a>
</h6>
<p>{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }}
</p>
</div>
<div class="btn_r_m_con">
<a href="">Read More <i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<div class="cs_btn_c_b">
<a href="">View All &nbsp;<i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
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