Added 50/50 Rows Web Template fixture
This commit is contained in:
Binary file not shown.
@ -0,0 +1,89 @@
|
|||||||
|
{
|
||||||
|
"doctype": "Web Template",
|
||||||
|
"name": "50/50 Rows Section - 1",
|
||||||
|
"module": "Website",
|
||||||
|
"type": "Component",
|
||||||
|
"template": "<section class=\"rd-fifty-fifty-rows-one\" style=\"{% if padding_top %} padding-top: {{ padding_top }}; {% endif %} {% if padding_bottom %} padding-bottom: {{ padding_bottom }}; {% endif %}\"><div class=\"container text-center\"><div class=\"rd-heading-row\">{% if heading %}<h2 class=\"rd-heading\">{{ heading }}</h2>{% endif %}{% if sub_heading %}<p class=\"rd-sub-heading\">{{ sub_heading }}</p>{% endif %}</div> {% for row in rows %}<div class=\"row\"> {% if loop.index is even %}<div class=\"col-md-6\"><h3>{{ row.row_heading }}</h3>{% if row.row_sub_heading %}<p>{{ row.row_sub_heading }}</p>{% endif %}{% if row.row_html %} {{ row.row_html }} {% endif %}{% if row.row_cta_url %}<a class=\"rd-button-one\" href=\"{{ row.row_cta_url }}\">{{ row.row_cta_text }}</a>{% endif %}</div><div class=\"col-md-6\">{% if row.row_image %}<img src=\"{{ row.row_image }}\" alt=\"...\">{% endif %}</div> {% else %}<div class=\"col-md-6\">{% if row.row_image %}<img src=\"{{ row.row_image }}\" alt=\"...\">{% endif %}</div><div class=\"col-md-6\"><h3>{{ row.row_heading }}</h3>{% if row.row_sub_heading %}<p>{{ row.row_sub_heading }}</p>{% endif %}{% if row.row_html %} {{ row.row_html }} {% endif %}{% if row.row_cta_url %}<a class=\"rd-button-one\" href=\"{{ row.row_cta_url }}\">{{ row.row_cta_text }}</a>{% endif %}</div> {% endif %} </div>{% endfor %}</div></section>"
|
||||||
|
, "fields": [
|
||||||
|
{
|
||||||
|
"fieldname": "heading",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Heading",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "highlight_word_number",
|
||||||
|
"fieldtype": "Int",
|
||||||
|
"label": "Highlight Word Number",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "sub_heading",
|
||||||
|
"fieldtype": "Text",
|
||||||
|
"label": "Sub Heading",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "padding_top",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Padding Top",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"fieldname": "padding_bottom",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Padding Bottom",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "rows",
|
||||||
|
"fieldtype": "Table Break",
|
||||||
|
"label": "rows",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "row_heading",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Row Heading",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "row_sub_heading",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Row Sub Heading",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "row_image",
|
||||||
|
"fieldtype": "Attach Image",
|
||||||
|
"label": "Row Image",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "row_cta_text",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Row CTA Text",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "row_cta_url",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "Row CTA URL",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "row_html",
|
||||||
|
"fieldtype": "Code",
|
||||||
|
"label": "Section HTML",
|
||||||
|
"reqd": 0
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
],
|
||||||
|
"owner": "Administrator",
|
||||||
|
"created_by": "Administrator",
|
||||||
|
"modified": "2024-08-12 14:30:14",
|
||||||
|
"standard": 0
|
||||||
|
}
|
||||||
|
|
||||||
@ -160,6 +160,8 @@ section.rd-large-heading-section-one {position:relative}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ---------- 50/50 Rows Section - 1 ---------- */
|
||||||
|
.rd-fifty-fifty-rows-one .row {padding-top:40px;padding-bottom:40px}
|
||||||
|
|
||||||
/* ---------- Footers ---------- */
|
/* ---------- Footers ---------- */
|
||||||
footer.rd-footer-1 {position:relative;padding-top:100px;min-height:400px;background:#01071C}
|
footer.rd-footer-1 {position:relative;padding-top:100px;min-height:400px;background:#01071C}
|
||||||
|
|||||||
Reference in New Issue
Block a user