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
c2a05fd6
Commit
c2a05fd6
authored
Jan 13, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add search
parent
7b041bcf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
block--searchform.html.twig
themes/custom/envigo/templates/block/block--searchform.html.twig
+49
-0
No files found.
themes/custom/envigo/templates/block/block--searchform.html.twig
0 → 100644
View file @
c2a05fd6
{#
/**
* @file
* Theme override to display a 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: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - 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.
*
* @see template_preprocess_block()
*/
#}
{%
set
classes
=
[
'block'
,
'block-'
~
configuration.provider
|
clean_class
,
'block-'
~
plugin_id
|
clean_class
,
]
%}
<div
class=
"h_site_search"
>
<div
class=
"h_site_search_overlay"
></div>
<div
class=
"hh_site_search_box"
>
{{
title_prefix
}}
{%
if
label
%}
<h2
{{
title_attributes
}}
>
{{
label
}}
</h2>
{%
endif
%}
{{
title_suffix
}}
{%
block
content
%}
{{
content
}}
{%
endblock
%}
</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