Create web templates for event management
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<div class="section-with-cards">
|
||||
<h1 class="course-home-headings">{{section_title}}</h1>
|
||||
<div class="speaker-cards-parent">
|
||||
{% for speaker in speaker_details %}
|
||||
{% set speaker_doc = frappe.get_doc("Speaker Registration", speaker.speaker) %}
|
||||
|
||||
<div class="common-card-style member-card talk-card">
|
||||
<span class="avatar avatar-large">
|
||||
<img class="avatar-frame" src="{{speaker_doc.picture}}" />
|
||||
</span>
|
||||
<div class="small-title talk-title mt-5">
|
||||
{{ speaker_doc.full_name }}
|
||||
</div>
|
||||
<div class="small-title mt-5 bb">{{speaker_doc.job_title}}</div>
|
||||
<div class="small-title company-name">{{speaker_doc.company}}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Become a Speaker</a></div>
|
||||
</div>
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"__unsaved": 1,
|
||||
"creation": "2021-08-12 21:15:14.492000",
|
||||
"docstatus": 0,
|
||||
"doctype": "Web Template",
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "section_title",
|
||||
"fieldtype": "Data",
|
||||
"label": "Section Title",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "subtitle",
|
||||
"fieldtype": "Data",
|
||||
"label": "Subtitle",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"__unsaved": 1,
|
||||
"fieldname": "cta_link",
|
||||
"fieldtype": "Data",
|
||||
"label": "CTA Link",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "speaker_details",
|
||||
"fieldtype": "Table Break",
|
||||
"label": "Speaker Details",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "speaker",
|
||||
"fieldtype": "Link",
|
||||
"label": "Speaker",
|
||||
"options": "Speaker Registration",
|
||||
"reqd": 0
|
||||
}
|
||||
],
|
||||
"idx": 0,
|
||||
"modified": "2021-08-17 11:13:58.991190",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "Speaker Section",
|
||||
"owner": "Administrator",
|
||||
"standard": 1,
|
||||
"template": "",
|
||||
"type": "Section"
|
||||
}
|
||||
Reference in New Issue
Block a user