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
8da94363
Commit
8da94363
authored
Dec 17, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update template
parent
42924eb9
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
361 additions
and
42 deletions
+361
-42
block--system-menu-block--footer.html.twig
themes/custom/envigo/templates/block/block--system-menu-block--footer.html.twig
+10
-35
block--system-menu-block--investors.html.twig
themes/custom/envigo/templates/block/block--system-menu-block--investors.html.twig
+64
-0
block--system-menu-block--life-at-dic.html.twig
themes/custom/envigo/templates/block/block--system-menu-block--life-at-dic.html.twig
+64
-0
block--system-menu-block--news-media.html.twig
themes/custom/envigo/templates/block/block--system-menu-block--news-media.html.twig
+64
-0
block--system-menu-block--products-services.html.twig
themes/custom/envigo/templates/block/block--system-menu-block--products-services.html.twig
+64
-0
block--system-menu-block--research-development.html.twig
themes/custom/envigo/templates/block/block--system-menu-block--research-development.html.twig
+64
-0
page--front.html.twig
themes/custom/envigo/templates/layout/page--front.html.twig
+16
-4
page.html.twig
themes/custom/envigo/templates/layout/page.html.twig
+15
-3
No files found.
themes/custom/envigo/templates/block/block--system-menu-block--footer.html.twig
View file @
8da94363
...
...
@@ -39,21 +39,7 @@
'menu--'
~
derivative_plugin_id
|
clean_class
,
]
%}
<!-- social share container start -->
<div
class=
"container-fluid fss_outer"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"f_ss"
>
<!-- <img src="images/share-social.jpg" /> -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- social share container end -->
{%
set
heading_id
=
attributes.id
~
'-menu'
|
clean_id
%}
{# Label. If not displayed, we still provide it for screen readers. #}
{%
if
not
configuration.label_display
%}
...
...
@@ -63,25 +49,13 @@
{# Menu. #}
{%
block
content
%}
<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"
>
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
{%
endblock
%}
\ No newline at end of file
themes/custom/envigo/templates/block/block--system-menu-block--investors.html.twig
0 → 100644
View file @
8da94363
{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content 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_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{%
set
classes
=
[
'block'
,
'block-menu'
,
'navigation'
,
'menu--'
~
derivative_plugin_id
|
clean_class
,
]
%}
{%
set
heading_id
=
attributes.id
~
'-menu'
|
clean_id
%}
{# Label. If not displayed, we still provide it for screen readers. #}
{%
if
not
configuration.label_display
%}
{%
set
title_attributes
=
title_attributes.addClass
(
'visually-hidden'
)
%}
{%
endif
%}
{# Menu. #}
{%
block
content
%}
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
{%
endblock
%}
\ No newline at end of file
themes/custom/envigo/templates/block/block--system-menu-block--life-at-dic.html.twig
0 → 100644
View file @
8da94363
{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content 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_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{%
set
classes
=
[
'block'
,
'block-menu'
,
'navigation'
,
'menu--'
~
derivative_plugin_id
|
clean_class
,
]
%}
{%
set
heading_id
=
attributes.id
~
'-menu'
|
clean_id
%}
{# Label. If not displayed, we still provide it for screen readers. #}
{%
if
not
configuration.label_display
%}
{%
set
title_attributes
=
title_attributes.addClass
(
'visually-hidden'
)
%}
{%
endif
%}
{# Menu. #}
{%
block
content
%}
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
{%
endblock
%}
\ No newline at end of file
themes/custom/envigo/templates/block/block--system-menu-block--news-media.html.twig
0 → 100644
View file @
8da94363
{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content 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_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{%
set
classes
=
[
'block'
,
'block-menu'
,
'navigation'
,
'menu--'
~
derivative_plugin_id
|
clean_class
,
]
%}
{%
set
heading_id
=
attributes.id
~
'-menu'
|
clean_id
%}
{# Label. If not displayed, we still provide it for screen readers. #}
{%
if
not
configuration.label_display
%}
{%
set
title_attributes
=
title_attributes.addClass
(
'visually-hidden'
)
%}
{%
endif
%}
{# Menu. #}
{%
block
content
%}
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
{%
endblock
%}
\ No newline at end of file
themes/custom/envigo/templates/block/block--system-menu-block--products-services.html.twig
0 → 100644
View file @
8da94363
{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content 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_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{%
set
classes
=
[
'block'
,
'block-menu'
,
'navigation'
,
'menu--'
~
derivative_plugin_id
|
clean_class
,
]
%}
{%
set
heading_id
=
attributes.id
~
'-menu'
|
clean_id
%}
{# Label. If not displayed, we still provide it for screen readers. #}
{%
if
not
configuration.label_display
%}
{%
set
title_attributes
=
title_attributes.addClass
(
'visually-hidden'
)
%}
{%
endif
%}
{# Menu. #}
{%
block
content
%}
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
{%
endblock
%}
\ No newline at end of file
themes/custom/envigo/templates/block/block--system-menu-block--research-development.html.twig
0 → 100644
View file @
8da94363
{#
/**
* @file
* Theme override for a menu block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - content: The content of this block.
* - attributes: HTML attributes for the containing element.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: HTML attributes for the title element.
* - content_attributes: HTML attributes for the content 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_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* Headings should be used on navigation menus that consistently appear on
* multiple pages. When this menu block's label is configured to not be
* displayed, it is automatically made invisible using the 'visually-hidden' CSS
* class, which still keeps it visible for screen-readers and assistive
* technology. Headings allow screen-reader and keyboard only users to navigate
* to or skip the links.
* See http://juicystudio.com/article/screen-readers-display-none.php and
* http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
*/
#}
{%
set
classes
=
[
'block'
,
'block-menu'
,
'navigation'
,
'menu--'
~
derivative_plugin_id
|
clean_class
,
]
%}
{%
set
heading_id
=
attributes.id
~
'-menu'
|
clean_id
%}
{# Label. If not displayed, we still provide it for screen readers. #}
{%
if
not
configuration.label_display
%}
{%
set
title_attributes
=
title_attributes.addClass
(
'visually-hidden'
)
%}
{%
endif
%}
{# Menu. #}
{%
block
content
%}
<div
class=
"f_l_cb"
>
{{
title_prefix
}}
<h6
class=
"h6_h_c"
>
{{
configuration.label
}}
<span><i
class=
"fa fa-angle-down"
aria-hidden=
"true"
></i></span></h6>
{{
title_suffix
}}
{{
content
}}
</div>
{%
endblock
%}
\ No newline at end of file
themes/custom/envigo/templates/layout/page--front.html.twig
View file @
8da94363
...
...
@@ -54,7 +54,7 @@
</div>
</div>
<div
class=
"layout-container"
>
{{
page.breadcrumb
}}
<div
class=
"layout-content"
>
{{
page.content
}}
</div>
{# /.layout-content #}
...
...
@@ -64,9 +64,21 @@
{%
if
page.footer
%}
<footer
role=
"contentinfo"
>
{{
page.footer
}}
</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>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
</div>
{# /.layout-container #}
...
...
themes/custom/envigo/templates/layout/page.html.twig
View file @
8da94363
...
...
@@ -88,9 +88,21 @@
</main>
{%
if
page.footer
%}
<footer
role=
"contentinfo"
>
{{
page.footer
}}
</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>
</div>
</div>
</div>
</div>
</div>
{%
endif
%}
</div>
{# /.layout-container #}
...
...
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