71 lines
5.4 KiB
JSON
71 lines
5.4 KiB
JSON
{
|
|
"__unsaved": 1,
|
|
"creation": "2024-08-12 15:26:23.140620",
|
|
"docstatus": 0,
|
|
"doctype": "Web Template",
|
|
"fields": [
|
|
{
|
|
"fieldname": "heading",
|
|
"fieldtype": "Data",
|
|
"label": "Heading",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "sub_heading",
|
|
"fieldtype": "Data",
|
|
"label": "Sub Heading",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tabs",
|
|
"fieldtype": "Table Break",
|
|
"label": "Tabs",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tab_id",
|
|
"fieldtype": "Data",
|
|
"label": "Tab ID",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tab_icon",
|
|
"fieldtype": "Attach Image",
|
|
"label": "Tab Icon",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tab_heading",
|
|
"fieldtype": "Data",
|
|
"label": "Tab Heading",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tab_content_heading",
|
|
"fieldtype": "Data",
|
|
"label": "Tab Content Heading",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tab_sub_heading",
|
|
"fieldtype": "Data",
|
|
"label": "Tab Sub-Heading",
|
|
"reqd": 0
|
|
},
|
|
{
|
|
"fieldname": "tab_image",
|
|
"fieldtype": "Attach Image",
|
|
"label": "Tab Image",
|
|
"reqd": 0
|
|
}
|
|
],
|
|
"idx": 0,
|
|
"modified": "2022-03-21 14:30:14.405261",
|
|
"modified_by": "Administrator",
|
|
"module": "Website",
|
|
"name": "Promo Tabs Section - 1",
|
|
"owner": "Administrator",
|
|
"standard": 0,
|
|
"template": "<section class=\"promo_area sec_padding\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><div class=\"tab-content promo_tab_image wow fadeInLeft\" data-wow-delay=\"0.3s\" id=\"pills-tabContent-one\" style=\"visibility: visible; animation-delay: 0.3s; animation-name: fadeInLeft;\">{% for tab in tabs %}{% if loop.index == 1 %}<div class=\"tab-pane fade active show\" id=\"{{ tab.tab_id }}\" role=\"tabpanel\" aria-labelledby=\"pills-home-tab\" tabindex=\"0\">\n <img src=\"{{ tab.tab_image }}\" alt=\"\">\n </div>\n {% else %}\n <div class=\"tab-pane fade service_tab_image\" id=\"{{ tab.tab_id }}\" role=\"tabpanel\" aria-labelledby=\"pills-{{ tab.tab_id }}\" tabindex=\"0\">\n <img src=\"{{ tab.tab_image }}\" alt=\"\">\n </div>\n {% endif %}\n {% endfor %}\n\n </div>\n </div>\n <div class=\"col-lg-6\">\n <div class=\"promo_tab_box\">\n <div class=\"section_title_two wow fadeInUp\" data-wow-delay=\"0.2s\" style=\"visibility: visible; animation-delay: 0.2s; animation-name: fadeInUp;\">{% if heading %}<h2>{{ heading }}</h2>{% endif %}{% if sub_heading %}<p>{{ sub_heading }}</p>{% endif %} </div> <ul class=\"nav nav-pills mb-3 flex-column\" id=\"pills-tab\" role=\"tablist\">\n {% for tab in tabs %}\n {% if loop.index == 1 %}\n <li class=\"nav-item wow fadeInUp\" data-wow-delay=\"0.3s\" role=\"presentation\" style=\"visibility: visible; animation-delay: 0.3s; animation-name: fadeInUp;\">\n <div class=\"nav-link active\" id=\"pills-home-tab\" data-bs-toggle=\"pill\" data-bs-target=\"#{{ tab.tab_id }}\" role=\"tab\" aria-controls=\"pills-home\" aria-selected=\"false\" tabindex=\"-1\">\n <img src=\"{{ tab.tab_icon }}\" alt=\"\">\n <div class=\"content\">\n <h5>{{ tab.tab_heading}}</h5>\n <p>{{ tab.tab_sub_heading }}</p>\n </div>\n <div class=\"tab_progress\">\n <div class=\"progress-bar\" style=\"width: 0px;\"></div>\n </div>\n </div>\n </li>\n {% else %}\n <li class=\"nav-item wow fadeInUp\" data-wow-delay=\"0.4s\" role=\"presentation\" style=\"visibility: visible; animation-delay: 0.4s; animation-name: fadeInUp;\">\n <div class=\"nav-link\" id=\"pills-profile-tab\" data-bs-toggle=\"pill\" data-bs-target=\"#{{ tab.tab_id }}\" role=\"tab\" aria-controls=\"pills-profile\" aria-selected=\"false\" tabindex=\"-1\">\n <img src=\"{{ tab.tab_icon }}\" alt=\"\">\n <div class=\"content\">\n <h5>{{ tab.tab_heading }}</h5>\n <p>{{ tab.tab_sub_heading }}</p>\n </div>\n <div class=\"tab_progress\">\n <div class=\"progress-bar\" style=\"width: 60.14%; overflow: hidden;\"></div>\n </div>\n </div>\n </li>\n {% endif %}\n {% endfor %}\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>"
|
|
, "type": "Component"
|
|
} |