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
1326edbd
Commit
1326edbd
authored
Jan 18, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
template layout add See merge request manzarH/dic-global-dev!450
parents
93b3a512
604872d5
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
1539 additions
and
0 deletions
+1539
-0
container.html.twig
themes/custom/envigo/templates/layout/container.html.twig
+30
-0
html.html.twig
themes/custom/envigo/templates/layout/html.html.twig
+89
-0
maintenance-page.html.twig
themes/custom/envigo/templates/layout/maintenance-page.html.twig
+65
-0
node--news.html.twig
themes/custom/envigo/templates/layout/node--news.html.twig
+53
-0
node--page.html.twig
themes/custom/envigo/templates/layout/node--page.html.twig
+53
-0
page--front.html.twig
themes/custom/envigo/templates/layout/page--front.html.twig
+111
-0
page--investor.html.twig
themes/custom/envigo/templates/layout/page--investor.html.twig
+178
-0
page--news.html.twig
themes/custom/envigo/templates/layout/page--news.html.twig
+175
-0
page--node--37.html.twig
themes/custom/envigo/templates/layout/page--node--37.html.twig
+182
-0
page--products.html.twig
themes/custom/envigo/templates/layout/page--products.html.twig
+182
-0
page--taxonomy--term--%__dd.html.twig
themes/custom/envigo/templates/layout/page--taxonomy--term--%__dd.html.twig
+182
-0
page-title.html.twig
themes/custom/envigo/templates/layout/page-title.html.twig
+21
-0
page.html.twig
themes/custom/envigo/templates/layout/page.html.twig
+167
-0
region--primary-menu.html.twig
themes/custom/envigo/templates/layout/region--primary-menu.html.twig
+26
-0
region.html.twig
themes/custom/envigo/templates/layout/region.html.twig
+25
-0
No files found.
themes/custom/envigo/templates/layout/container.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Default theme implementation of a container used to wrap child elements.
*
* Used for grouped form items. Can also be used as a theme wrapper for any
* renderable element, to surround it with a <div> and HTML attributes.
* See \Drupal\Core\Render\Element\RenderElement for more
* information on the
#
theme_wrappers render array property, and
* \Drupal\Core\Render\Element\container for usage of the container render
* element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - children: The rendered child elements of the container.
* - has_parent: A flag to indicate that the container has one or more parent
containers.
*
* @see template_preprocess_container()
*
* @ingroup themeable
*/
#}
{%
set
classes
=
[
has_parent
?
'js-form-wrapper'
,
has_parent
?
'form-wrapper'
,
]
%}
{{
children
}}
themes/custom/envigo/templates/layout/html.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override for the basic structure of a single Drupal page.
*
* Variables:
* - logged_in: A flag indicating if user is logged in.
* - root_path: The root path of the current page (e.g., node, admin, user).
* - node_type: The content type for the current node, if the page is a node.
* - head_title: List of text elements that make up the head_title variable.
* May contain one or more of the following:
* - title: The title of the page.
* - name: The name of the site.
* - slogan: The slogan of the site.
* - page_top: Initial rendered markup. This should be printed before 'page'.
* - page: The rendered page markup.
* - page_bottom: Closing rendered markup. This variable should be printed after
* 'page'.
* - db_offline: A flag indicating if the database is offline.
* - placeholder_token: The token for generating head, css, js and js-bottom
* placeholders.
*
* @see template_preprocess_html()
*/
#}
{%
set
body_classes
=
[
logged_in
?
'user-logged-in'
,
not
root_path
?
'path-frontpage'
:
'path-'
~
root_path
|
clean_class
,
node_type
?
'page-node-type-'
~
node_type
|
clean_class
,
db_offline
?
'db-offline'
,
]
%}
<!DOCTYPE html>
<html
{{
html_attributes
}}
>
<head>
<head-placeholder
token=
"
{{
placeholder_token
}}
"
>
<title>
{{
head_title
|
safe_join
(
' | '
)
}}
</title>
<link
href=
"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
integrity=
"sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin=
"anonymous"
>
<css-placeholder
token=
"
{{
placeholder_token
}}
"
>
<js-placeholder
token=
"
{{
placeholder_token
}}
"
>
</head>
<body
{{
attributes.addClass
(
body_classes
)
}}
>
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<!-- change region container start -->
<div
class=
"h_header_langBox"
>
<div
class=
"h_header_langBox_overlay"
></div>
<div
class=
"h_header_langBox_box"
>
<ul
class=
"h_pure_g"
>
<li>
<div
class=
"h_mod_button"
>
<a
href=
"https://www.dic-global.com/ja/"
target=
""
><span>
日本語
</span><i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</li>
<li>
<div
class=
"h_mod_button"
>
<a
href=
"https://www.dic-global.com/en/"
target=
""
><span>
ENGLISH
</span><i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</li>
<li>
<div
class=
"h_mod_button"
>
<a
href=
"https://www.dic-global.com/cn/"
target=
""
><span>
中文
</span><i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</li>
<li>
<div
class=
"h_mod_button"
>
<a
href=
"https://www.sunchemical.com/"
"
target=
"_blank"
><span>
Sun Chemical
</span><i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</li>
</ul>
</div>
</div>
<!-- change region container start -->
<a
href=
"#main-content"
class=
"visually-hidden focusable skip-link"
>
{{
'Skip to main content'
|
t
}}
</a>
{{
page_top
}}
{{
page
}}
{{
page_bottom
}}
<js-bottom-placeholder
token=
"
{{
placeholder_token
}}
"
>
</body>
</html>
themes/custom/envigo/templates/layout/maintenance-page.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single Drupal page while offline.
*
* All available variables are mirrored in page.html.twig.
* Some may be blank but they are provided for consistency.
*
* @see template_preprocess_maintenance_page()
*/
#}
<div
class=
"layout-container"
>
<header
role=
"banner"
>
{%
if
logo
%}
<a
href=
"
{{
front_page
}}
"
title=
"
{{
'Home'
|
t
}}
"
rel=
"home"
>
<img
src=
"
{{
logo
}}
"
alt=
"
{{
'Home'
|
t
}}
"
/>
</a>
{%
endif
%}
{%
if
site_name
or
site_slogan
%}
<div
class=
"name-and-slogan"
>
{%
if
site_name
%}
<h1
class=
"site-name"
>
<a
href=
"
{{
front_page
}}
"
title=
"
{{
'Home'
|
t
}}
"
rel=
"home"
>
{{
site_name
}}
</a>
</h1>
{%
endif
%}
{%
if
site_slogan
%}
<div
class=
"site-slogan"
>
{{
site_slogan
}}
</div>
{%
endif
%}
</div>
{# /.name-and-slogan #}
{%
endif
%}
</header>
<main
role=
"main"
>
{%
if
title
%}
<h1>
{{
title
}}
</h1>
{%
endif
%}
{{
page.highlighted
}}
{{
page.content
}}
</main>
{%
if
page.sidebar_first
%}
<aside
class=
"layout-sidebar-first"
role=
"complementary"
>
{{
page.sidebar_first
}}
</aside>
{# /.layout-sidebar-first #}
{%
endif
%}
{%
if
page.sidebar_second
%}
<aside
class=
"layout-sidebar-second"
role=
"complementary"
>
{{
page.sidebar_second
}}
</aside>
{# /.layout-sidebar-second #}
{%
endif
%}
{%
if
page.footer
%}
<footer
role=
"contentinfo"
>
{{
page.footer
}}
</footer>
{%
endif
%}
</div>
{# /.layout-container #}
themes/custom/envigo/templates/layout/node--news.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{{
content
}}
themes/custom/envigo/templates/layout/node--page.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{{
content
}}
themes/custom/envigo/templates/layout/page--front.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{{
page.content
}}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/page--investor.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{%
if
page.banner
%}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider static_banner"
>
{{
page.banner
}}
</div>
</div>
{%
endif
%}
<!-- breadcurmb start -->
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
{{
page.breadcrumb
}}
</div>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
{%
if
page.content_top
%}
<div
class=
"contentTop-section"
>
{{
page.content_top
}}
</div>
{%
endif
%}
{# <div class="container-fluid spacerTB">
<div class="row"> #}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"a_s_w_c"
>
<div
class=
"ls_i_c"
>
{%
if
page.sidebar_first
%}
{{
page.sidebar_first
}}
{%
endif
%}
{{
page.content
}}
{%
if
page.sidebar_second
%}
{{
page.sidebar_second
}}
{%
endif
%}
</div>
</div>
</div>
</div>
</div>
{# </div>
</div> #}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
</div>{# /.layout-content #}
</div> -->
{%
if
page.content_bottom
%}
</div
class="contentBottom"
>
{{
page.content_bottom
}}
</div>
{%
endif
%}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/page--news.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{%
if
page.banner
%}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider static_banner"
>
{{
page.banner
}}
</div>
</div>
{%
endif
%}
<!-- breadcurmb start -->
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
{{
page.breadcrumb
}}
</div>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
{%
if
page.content_top
%}
<div
class=
"contentTop-section"
>
{{
page.content_top
}}
</div>
{%
endif
%}
{# <div class="container-fluid spacerTB">
<div class="row"> #}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col col-md-8 col-lg-9"
>
{{
page.content
}}
</div>
<div
class=
"col-md-4 col-lg-3"
>
<div
class=
"nw_right_c_b"
>
{%
if
page.sidebar_second
%}
{{
page.sidebar_second
}}
{%
endif
%}
</div>
</div>
</div>
</div>
</div>
</div>
{# </div>
</div> #}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
</div>{# /.layout-content #}
</div> -->
{%
if
page.content_bottom
%}
</div
class="contentBottom"
>
{{
page.content_bottom
}}
</div>
{%
endif
%}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/page--node--37.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{%
if
page.banner
%}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider static_banner"
>
{{
page.banner
}}
</div>
</div>
{%
endif
%}
<!-- breadcurmb start -->
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
{{
page.breadcrumb
}}
</div>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
{%
if
page.content_top
%}
<div
class=
"contentTop-section"
>
{{
page.content_top
}}
</div>
{%
endif
%}
{# <div class="container-fluid spacerTB">
<div class="row"> #}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"a_s_w_c"
>
<div
class=
"ls_i_c"
>
{%
if
page.sidebar_first
%}
{{
page.sidebar_first
}}
{%
endif
%}
{{
page.content
}}
</div>
</div>
<!-- bottom container box end -->
</div>
</div>
</div>
<!-- content section end -->
{{
page.content_full_width
}}
{%
if
page.sidebar_second
%}
{{
page.sidebar_second
}}
{%
endif
%}
{# </div>
</div> #}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
</div>{# /.layout-content #}
</div> -->
{%
if
page.content_bottom
%}
</div
class="contentBottom"
>
{{
page.content_bottom
}}
</div>
{%
endif
%}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/page--products.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{%
if
page.banner
%}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider static_banner"
>
{{
page.banner
}}
</div>
</div>
{%
endif
%}
<!-- breadcurmb start -->
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
{{
page.breadcrumb
}}
</div>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
{%
if
page.content_top
%}
<div
class=
"contentTop-section"
>
{{
page.content_top
}}
</div>
{%
endif
%}
{# <div class="container-fluid spacerTB">
<div class="row"> #}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"a_s_w_c"
>
<div
class=
"ls_i_c"
>
{%
if
page.sidebar_first
%}
{{
page.sidebar_first
}}
{%
endif
%}
{{
page.content
}}
</div>
</div>
<!-- bottom container box end -->
</div>
</div>
</div>
<!-- content section end -->
{%
if
page.sidebar_second
%}
{{
page.sidebar_second
}}
{%
endif
%}
{# </div>
</div> #}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
</div>{# /.layout-content #}
</div> -->
{%
if
page.content_bottom
%}
</div
class="contentBottom"
>
{{
page.content_bottom
}}
</div>
{%
endif
%}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/page--taxonomy--term--%__dd.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{%
if
page.banner
%}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider static_banner"
>
{{
page.banner
}}
</div>
</div>
{%
endif
%}
<!-- breadcurmb start -->
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
{{
page.breadcrumb
}}
</div>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
{%
if
page.content_top
%}
<div
class=
"contentTop-section"
>
{{
page.content_top
}}
</div>
{%
endif
%}
{# <div class="container-fluid spacerTB">
<div class="row"> #}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"a_s_w_c"
>
<div
class=
"ls_i_c"
>
{%
if
page.sidebar_first
%}
{{
page.sidebar_first
}}
{%
endif
%}
{{
page.content
}}
</div>
</div>
<!-- bottom container box end -->
</div>
</div>
</div>
<!-- content section end -->
{%
if
page.sidebar_second
%}
{{
page.sidebar_second
}}
{%
endif
%}
{# </div>
</div> #}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
</div>{# /.layout-content #}
</div> -->
{%
if
page.content_bottom
%}
</div
class="contentBottom"
>
{{
page.content_bottom
}}
</div>
{%
endif
%}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/page-title.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Default theme implementation for page titles.
*
* Available variables:
* - title_attributes: HTML attributes for the page title element.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title: The page title, for use in the actual content.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @ingroup themeable
*/
#}
{{
title_prefix
}}
{%
if
title
%}
<h1
{{
title_attributes
}}
style=
"display: none;"
>
{{
title
}}
</h1>
{%
endif
%}
{{
title_suffix
}}
themes/custom/envigo/templates/layout/page.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.primary_menu: Items for the primary menu region.
* - page.secondary_menu: Items for the secondary menu region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
* - page.breadcrumb: Items for the breadcrumb region.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container headercontainer"
>
<header
class=
"h_o_c_b"
>
{{
page.header
}}
{{
page.primary_menu
}}
</header>
</div>
</div>
</div>
{%
if
page.banner
%}
<div
class=
"b_o_c_b"
>
<div
class=
"b_main_slider static_banner"
>
{{
page.banner
}}
</div>
</div>
{%
endif
%}
<!-- breadcurmb start -->
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
{{
page.breadcrumb
}}
</div>
</div>
</div>
</div>
</div>
<!-- breadcurmd end -->
{%
if
page.content_top
%}
<div
class=
"contentTop-section"
>
{{
page.content_top
}}
</div>
{%
endif
%}
{# <div class="container-fluid spacerTB">
<div class="row"> #}
{%
if
page.sidebar_first
%}
{{
page.sidebar_first
}}
{%
endif
%}
{{
page.content
}}
{%
if
page.sidebar_second
%}
{{
page.sidebar_second
}}
{%
endif
%}
{# </div>
</div> #}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
</div>{# /.layout-content #}
</div> -->
{%
if
page.content_bottom
%}
</div
class="contentBottom"
>
{{
page.content_bottom
}}
</div>
{%
endif
%}
{%
if
page.footer_top
%}
<div
class=
"container-fluid spacerTB"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row mb-5"
>
{{
page.footer_top
}}
</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>
</div>
<div
class=
"col-lg-3"
>
<div
class=
"fl_c_b footer_newsletter_container"
>
{{
page.footer_fourth
}}
</div>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
{{
page.footer_fifth
}}
themes/custom/envigo/templates/layout/region--primary-menu.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region <div>.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{%
set
classes
=
[
'region'
,
'region-'
~
region
|
clean_class
,
]
%}
{%
if
content
%}
{{
content
}}
{%
endif
%}
themes/custom/envigo/templates/layout/region.html.twig
0 → 100644
View file @
1326edbd
{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region <div>.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*/
#}
{%
set
classes
=
[
'region'
,
'region-'
~
region
|
clean_class
,
]
%}
{%
if
content
%}
{{
content
}}
{%
endif
%}
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