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
1f5be5a6
Commit
1f5be5a6
authored
Dec 23, 2020
by
Ajay Barthwal
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
modified updated See merge request manzarH/dic-global-dev!17
parents
48bfe8f1
c48950e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
175 additions
and
53 deletions
+175
-53
page.html.twig
themes/custom/envigo/templates/layout/page.html.twig
+46
-53
views-view-fields--latest_products--block.html.twig
themes/custom/envigo/templates/views/views-view-fields--latest_products--block.html.twig
+52
-0
views-view-unformatted--products--block.html.twig
themes/custom/envigo/templates/views/views-view-unformatted--products--block.html.twig
+77
-0
No files found.
themes/custom/envigo/templates/layout/page.html.twig
View file @
1f5be5a6
...
...
@@ -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
%}
...
...
themes/custom/envigo/templates/views/views-view-fields--latest_products--block.html.twig
0 → 100644
View file @
1f5be5a6
{#
/**
* @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>
themes/custom/envigo/templates/views/views-view-unformatted--products--block.html.twig
0 → 100644
View file @
1f5be5a6
{#
/**
* @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
<i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
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