feat: finishing conf design

This commit is contained in:
Shivam Mishra
2019-08-02 20:38:18 +05:30
parent 93ec68d163
commit 99d55904ab
6 changed files with 44 additions and 39 deletions

View File

@@ -19,7 +19,7 @@ class ConferenceParticipant(Document):
self.save(ignore_permissions=True) self.save(ignore_permissions=True)
def send_ticket_mail(self): def send_ticket_mail(self):
if self.paid == 1: if self.paid == 1 and self.email:
message = """Thank you for participating in the ERPNext Conference {0}. message = """Thank you for participating in the ERPNext Conference {0}.
<br> You can find your ticket attached with this email, <br> You can find your ticket attached with this email,
for more details about the conference please visit https://erpnext.com/conf/{0}""".format(self.conference) for more details about the conference please visit https://erpnext.com/conf/{0}""".format(self.conference)

View File

@@ -1,5 +1,5 @@
{% extends "templates/base.html" %} {% extends "templates/base.html" %}
{% block title %}ERPNext Expo{% endblock %} {% block title %}Exhibit Program{% endblock %}
{% block content %} {% block content %}
<section class='top-section'> <section class='top-section'>
@@ -8,12 +8,14 @@
<img src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='People Meeting at Expo'> <img src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='People Meeting at Expo'>
</div> </div>
<div> <div>
<h1>Expo</h1> <h1>Exhibit Program</h1>
<p class='lead'> <p class='lead'>
Showcase the services you provide for ERPNext to the global community, Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them. understand their challenges and explore solutions with them.
</p> </p>
<p><a class="mt-4 btn btn-dark btn" href="/get-started">Book a Stall</a></p> <p>
<a class="mt-4 btn btn-dark btn" href="/request-a-call">Book a Stall</a>
</p>
</div> </div>
</div> </div>
</section> </section>
@@ -99,7 +101,10 @@
<div class='container'> <div class='container'>
<h2>ERPNext Foundation</h2> <h2>ERPNext Foundation</h2>
<p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p> <p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p>
<a href="/get-started" class="my-4 btn btn-dark">Buy Tickets</a> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</section> </section>
{% endblock %} {% endblock %}

View File

@@ -16,7 +16,10 @@
<p class='lead mt-5'> <p class='lead mt-5'>
October 15 - 18, Mumbai October 15 - 18, Mumbai
</p> </p>
<p><a class="mt-4 btn btn-dark btn" href="/get-started">Buy Tickets</a></p> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</div> </div>
</section> </section>
@@ -70,7 +73,7 @@
<img class="px-5" src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='Bussiness People'> <img class="px-5" src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='Bussiness People'>
</div> </div>
<div class="col-xs-12 col-sm-7"> <div class="col-xs-12 col-sm-7">
<h3>Expo</h3> <h3>Exhibit Program</h3>
<p>Showcase the services you provide for ERPNext to the global community, <p>Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.</p> understand their challenges and explore solutions with them.</p>
</div> </div>
@@ -87,7 +90,10 @@
<div class='container'> <div class='container'>
<h2>ERPNext Foundation</h2> <h2>ERPNext Foundation</h2>
<p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p> <p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p>
<a href="/get-started" class="my-4 btn btn-dark">Buy Tickets</a> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</section> </section>
{% endblock %} {% endblock %}

View File

@@ -1,35 +1,16 @@
{% set platinum_sponsors = [ {% set platinum_sponsors = [
{ {
'image': '/assets/foundation/img/no-image.png', 'image': '/assets/foundation/img/conf/sponsors/frappe-logo.png',
'title': 'Global Company #1', 'title': 'Frappe Technologies',
'website_url': 'http://www.example.com/' 'website_url': 'http://frappe.io/'
}, },
{ {
'image': '/assets/foundation/img/no-image.png', 'image': '/assets/foundation/img/people/tux.png',
'title': 'Global Company #2', 'title': 'Your Awesome Company',
'website_url': 'http://www.example.com/' 'website_url': 'http://www.example.com/'
} }
] %} ] %}
{% set silver_sponsors = [
{
'image': '/assets/foundation/img/no-image.png',
'title': 'Global Company #3',
'website_url': 'http://www.example.com/'
},
{
'image': '/assets/foundation/img/no-image.png',
'title': 'Global Company #4',
'website_url': 'http://www.example.com/'
},
{
'image': '/assets/foundation/img/no-image.png',
'title': 'Global Company #5',
'website_url': 'http://www.example.com/'
},
] %}
{% macro show_section(sponsors, with_img = False, color=False) %} {% macro show_section(sponsors, with_img = False, color=False) %}
<div class='row mt-4'> <div class='row mt-4'>
{% for sponsor in sponsors %} {% for sponsor in sponsors %}
@@ -62,7 +43,8 @@
<div> <div>
<h2>Become a Sponsor</h2> <h2>Become a Sponsor</h2>
<p class='lead'>Become a patron for the conference and get associated with a global community of tens of thousands of users and developers.</p> <p class='lead'>Become a patron for the conference and get associated with a global community of tens of thousands of users and developers.</p>
<a class="mt-3 btn btn-dark btn" href="/contact">Sponsor</a> <a class="mt-4 btn btn-dark btn" href="/request-a-call">Sponsor</a>
<a class="mt-4 btn btn-dark btn" href="/request-a-call">Sponsor</a>
</div> </div>
<div class="mt-7"> <div class="mt-7">
{% if platinum_sponsors %} {% if platinum_sponsors %}

View File

@@ -14,7 +14,10 @@
two day contribution sprint and contribute new features, two day contribution sprint and contribute new features,
fixes and documentation. fixes and documentation.
</p> </p>
<p><a class="mt-4 btn btn-dark btn" href="/get-started">Buy Tickets</a></p> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</div> </div>
</section> </section>
@@ -82,7 +85,7 @@
<img class="px-5" src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='Bussiness People'> <img class="px-5" src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='Bussiness People'>
</div> </div>
<div class="col-xs-12 col-sm-7"> <div class="col-xs-12 col-sm-7">
<h3>Expo</h3> <h3>Exhibit Program</h3>
<p>Showcase the services you provide for ERPNext to the global community, <p>Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.</p> understand their challenges and explore solutions with them.</p>
</div> </div>
@@ -99,7 +102,10 @@
<div class='container'> <div class='container'>
<h2>ERPNext Foundation</h2> <h2>ERPNext Foundation</h2>
<p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p> <p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p>
<a href="/get-started" class="my-4 btn btn-dark">Buy Tickets</a> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</section> </section>
{% endblock %} {% endblock %}

View File

@@ -13,7 +13,10 @@
Interact about the product road-map, learn about the new and Interact about the product road-map, learn about the new and
exciting features, stories and best practices. exciting features, stories and best practices.
</p> </p>
<p><a class="mt-4 btn btn-dark btn" href="/get-started">Buy Tickets</a></p> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</div> </div>
</section> </section>
@@ -85,7 +88,7 @@
<img class="px-5" src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='Bussiness People'> <img class="px-5" src='/assets/foundation/img/illustrations/people-hand-shake.png' alt='Bussiness People'>
</div> </div>
<div class="col-xs-12 col-sm-7"> <div class="col-xs-12 col-sm-7">
<h3>Expo</h3> <h3>Exhibit Program</h3>
<p>Showcase the services you provide for ERPNext to the global community, <p>Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.</p> understand their challenges and explore solutions with them.</p>
</div> </div>
@@ -102,7 +105,10 @@
<div class='container'> <div class='container'>
<h2>ERPNext Foundation</h2> <h2>ERPNext Foundation</h2>
<p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p> <p class="lead m-auto">ERPNext Conference is a community event driven by the community and organized by the ERPNext Open Source Software Foundation.</p>
<a href="/get-started" class="my-4 btn btn-dark">Buy Tickets</a> <p>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-inr">Buy Tickets (INR)</a>
<a class="mt-4 btn btn-dark btn" href="/buy-tickets-paypal">Buy Tickets (USD)</a>
</p>
</div> </div>
</section> </section>
{% endblock %} {% endblock %}