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,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
}