Changes to web template fixtures and css

This commit is contained in:
Jeremy Rangel
2025-02-13 02:06:07 -08:00
parent d307fd1225
commit dbe873735b
11 changed files with 271 additions and 7 deletions

View File

@ -0,0 +1,39 @@
{
"doctype": "Web Template",
"name": "Large Heading Section - 1",
"module": "Website",
"type": "Component",
"template": "<section class=\"rd-large-heading-section-one\" {% if padding_top %} style=\"padding-top: {{ padding_top }};\" {% endif %} {% if padding_bottom %} style=\"padding-bottom: {{ padding_bottom }};\" {% endif %}><div class=\"container text-center\"><h2 class=\"rd-heading\">{% set words = heading.split(' ') %}{% for word in words %}{% if loop.index == highlight_word_number %}<span class=\"text-gradient-1\">{{ word }}</span>{% else %}{{ word }}{% endif %} {% endfor %}</h2></div></section>",
"fields": [
{
"fieldname": "heading",
"fieldtype": "Data",
"label": "Heading",
"reqd": 0
},
{
"fieldname": "highlight_word_number",
"fieldtype": "Int",
"label": "Highlight Word Number",
"reqd": 0
},
{
"fieldname": "padding_top",
"fieldtype": "Data",
"label": "Padding Top",
"reqd": 0
},
{
"fieldname": "padding_bottom",
"fieldtype": "Data",
"label": "Padding Bottom",
"reqd": 0
}
],
"owner": "Administrator",
"created_by": "Administrator",
"modified": "2024-08-12 14:30:14",
"standard": 0
}

View File

@ -0,0 +1,70 @@
{
"doctype": "Web Template",
"name": "Multi Cards Section - 1",
"module": "Website",
"type": "Component",
"template": "<section class=\"rd-multi-cards-section-one\" style=\"{% if padding_top %} padding-top: {{ padding_top }}; {% endif %} {% if padding_bottom %} padding-bottom: {{ padding_bottom }}; {% endif %}\"><div class=\"container\"><div class=\"rd-heading-row text-center\">{% if heading %}<h2 class=\"rd-heading\">{{ heading }}</h2>{% endif %}{% if sub_heading %}<p class=\"rd-sub-heading\">{{ sub_heading }}</p>{% endif %}</div><div class=\"row\">{% for card in cards %}<div class=\"col-md-4\">{% if card.card_url %}<a href=\"{{ card.card_url }}\">{% endif %}<div class=\"rd card\"> <img src=\"{{ card.card_image }}\" class=\"card-img-top\" alt=\"...\"><div class=\"card-body\"> <h5 class=\"card-title\">{{ card.card_heading }}</h5> <p class=\"card-text\">{{ card.card_sub_heading }}</p></div>{% if card.card_url %}</a>{% endif %} </div> </div>{% endfor %}</div></div></section>",
"fields": [
{
"fieldname": "heading",
"fieldtype": "Data",
"label": "Heading",
"reqd": 0
},
{
"fieldname": "sub_heading",
"fieldtype": "Data",
"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": "cards",
"fieldtype": "Table Break",
"label": "Cards",
"reqd": 0
},
{
"fieldname": "card_heading",
"fieldtype": "Data",
"label": "Card Heading",
"reqd": 0
},
{
"fieldname": "card_sub_heading",
"fieldtype": "Data",
"label": "Card Sub Heading",
"reqd": 0
},
{
"fieldname": "card_image",
"fieldtype": "Attach Image",
"label": "Card Image",
"reqd": 0
},
{
"fieldname": "card_url",
"fieldtype": "Data",
"label": "Card URL",
"reqd": 0
}
],
"owner": "Administrator",
"created_by": "Administrator",
"modified": "2024-08-12 14:30:14",
"standard": 0
}

View File

@ -3,7 +3,7 @@
"name": "Page Heading - 2",
"module": "Website",
"type": "Component",
"template":"<section class=\"rd-page-heading-2\"><div class=\"container text-center\"><h1 class=\"rd-heading\">{{heading}}</h1><p class=\"rd-sub-heading\">{{sub_heading}}</p><img src=\"{{featured_image}}\"/></div></section>",
"template":"<section class=\"rd-page-heading-2\"><div class=\"container text-center\"><h1 class=\"rd-heading\">{{heading}}</h1><p class=\"rd-sub-heading\">{{sub_heading}}</p>{{lead_form_code}}<img src=\"{{featured_image}}\"/></div></section>",
"fields": [
{
"fieldname": "heading",
@ -22,6 +22,12 @@
"fieldtype": "Attach Image",
"label": "Featured Image",
"reqd": 0
},
{
"fieldname": "lead_form_code",
"fieldtype": "Code",
"label": "Lead Form Code",
"reqd": 0
}
],
"owner": "Administrator",

View File

@ -0,0 +1,77 @@
{
"doctype": "Web Template",
"name": "Testimonial Cards Section - 1",
"module": "Website",
"type": "Component",
"template": "<section class=\"rd-testimonial-cards-one\" style=\"{% if padding_top %} padding-top: {{ padding_top }}; {% endif %} {% if padding_bottom %} padding-bottom: {{ padding_bottom }}; {% endif %}\"><div class=\"container\"><div class=\"rd-heading-row text-center\">{% if heading %}<h2 class=\"rd-heading\">{{ heading }}</h2>{% endif %}{% if sub_heading %}<p class=\"rd-sub-heading\">{{ sub_heading }}</p>{% endif %}</div><div class=\"row\">{% for testimonial in testimonials %}<div class=\"col-md-4\"><div class=\"rd card\"><div class=\"rd-testimonial-rating\"> </div><div class=\"card-body\"> <p class=\"rd-testimonial-content\">{{testimonial.testimonial_content}}</p><div class=\"rd-testimonial-author-row row\"><div class=\"col-4\"><img src=\"{{ testimonial.testimonial_author_image }}\"></div><div class=\"col-8\"><p class=\"rd-testimonial-author-name\">{{ testimonial.testimonial_author_name }}</p><p class=\"rd-testimonial-author-title\">{{ testimonial.testimonial_author_title }}</p></div></div></div></div></div>{% endfor %}</div></div></section>",
"fields": [
{
"fieldname": "heading",
"fieldtype": "Data",
"label": "Heading",
"reqd": 0
},
{
"fieldname": "sub_heading",
"fieldtype": "Data",
"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": "testimonials",
"fieldtype": "Table Break",
"label": "Testimonials",
"reqd": 0
},
{
"fieldname": "testimonial_content",
"fieldtype": "Text",
"label": "Content",
"reqd": 0
},
{
"fieldname": "testimonial_rating",
"fieldtype": "Select",
"label": "Rating",
"options": "1\n1.5\n2\n2.5\n3\n3.5\n4\n4.5\n5",
"reqd": 0
},
{
"fieldname": "testimonial_author_image",
"fieldtype": "Attach Image",
"label": "Author Image",
"reqd": 0
},
{
"fieldname": "testimonial_author_name",
"fieldtype": "Data",
"label": "Author Name",
"reqd": 0
},
{
"fieldname": "testimonial_author_title",
"fieldtype": "Data",
"label": "Author Title",
"reqd": 0
}
],
"owner": "Administrator",
"created_by": "Administrator",
"modified": "2024-08-12 14:30:14",
"standard": 0
}