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
c9c49470
Commit
c9c49470
authored
Dec 24, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
application block See merge request manzarH/dic-global-dev!37
parents
2abc6d8d
625c3b1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
0 deletions
+75
-0
views-view-unformatted--latest-application--block.html.twig
themes/custom/envigo/templates/views/views-view-unformatted--latest-application--block.html.twig
+75
-0
No files found.
themes/custom/envigo/templates/views/views-view-unformatted--latest-application--block.html.twig
0 → 100644
View file @
c9c49470
{#
/**
* @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_n_img spacerTB cs_c_hb_d"
style=
"background: url(/themes/custom/envigo/images/use_bg_pc.jpg);"
>
<div
class=
"row"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"cs_w_b"
>
<h1
class=
"c_heading_b text-center"
>
Search by Application
</h1>
<div
class=
"cs_slider_wp"
>
<div
class=
"cs_s_cb row cs_application_c"
>
{%
for
row
in
rows
%}
<div
class=
"cs_item_b col-10 col-md-6 col-lg-4 col-xl-3"
>
<div
class=
"cs_inner_item"
>
<a
href=
""
class=
"cs_a_con_ob"
>
<div
class=
"cs_a_c_w"
>
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_application_image }}'
]
}}
</div>
<div
class=
"cs_overlay_c_b"
>
<div
class=
"cs_icbnd"
>
<h6
class=
"cs_hcbmd"
>
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ title }}'
]
}}
</h6>
<p>
{{
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ body }}'
]
}}
</p>
</div>
</div>
</a>
</div>
</div>
{%
endfor
%}
</div>
</div>
<div
class=
"cs_btn_c_b"
>
<a
href=
""
>
View All Applications
<i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- section code end -->
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