[added] agenda + meetup

This commit is contained in:
Rushabh Mehta
2017-08-02 14:53:45 +05:30
parent ecdaf31190
commit 6dd2b53e94
20 changed files with 392 additions and 135 deletions

View File

@@ -26,7 +26,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_global_search": 0, "in_global_search": 0,
"in_list_view": 0, "in_list_view": 1,
"in_standard_filter": 0, "in_standard_filter": 0,
"label": "Title", "label": "Title",
"length": 0, "length": 0,
@@ -56,7 +56,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_global_search": 0, "in_global_search": 0,
"in_list_view": 0, "in_list_view": 1,
"in_standard_filter": 0, "in_standard_filter": 0,
"label": "Chapter Head", "label": "Chapter Head",
"length": 0, "length": 0,
@@ -87,7 +87,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_global_search": 0, "in_global_search": 0,
"in_list_view": 0, "in_list_view": 1,
"in_standard_filter": 0, "in_standard_filter": 0,
"label": "Introduction", "label": "Introduction",
"length": 0, "length": 0,
@@ -104,6 +104,36 @@
"set_only_once": 0, "set_only_once": 0,
"unique": 0 "unique": 0
}, },
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "meetup_embed_html",
"fieldtype": "Code",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 1,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Meetup Embed HTML",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_bulk_edit": 0, "allow_bulk_edit": 0,
"allow_on_submit": 0, "allow_on_submit": 0,
@@ -147,7 +177,7 @@
"ignore_xss_filter": 0, "ignore_xss_filter": 0,
"in_filter": 0, "in_filter": 0,
"in_global_search": 0, "in_global_search": 0,
"in_list_view": 0, "in_list_view": 1,
"in_standard_filter": 0, "in_standard_filter": 0,
"label": "Route", "label": "Route",
"length": 0, "length": 0,
@@ -267,7 +297,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2017-05-11 17:07:13.825474", "modified": "2017-08-02 13:04:00.723298",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "ERPNext Foundation", "module": "ERPNext Foundation",
"name": "Chapter", "name": "Chapter",

View File

@@ -4,11 +4,14 @@
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<h3>Details</h3> <h3>Details</h3>
<p>{{ introduction }}</p> <p>{{ introduction }}</p>
{% if meetup_embed_html %}
{{ meetup_embed_html }}
{% endif %}
<h3>List of Members</h3> <h3>List of Members</h3>
{% if members %} {% if members %}
<table class="table table-bordered small" style="max-width: 600px;"> <table class="table table-bordered small" style="max-width: 500px;">
<tr> <tr>
<th width="10%" ></th> <th width="15%" ></th>
<th>Member Details</th> <th>Member Details</th>
</tr> </tr>
{% for user in members %} {% for user in members %}
@@ -19,14 +22,11 @@
<div class="col-lg-6 col-md-6 col-sm-6">{{ frappe.db.get_value('User', user.user, 'full_name') }}</div> <div class="col-lg-6 col-md-6 col-sm-6">{{ frappe.db.get_value('User', user.user, 'full_name') }}</div>
<div class="col-lg-6 col-md-6 col-sm-6 text-right"> <div class="col-lg-6 col-md-6 col-sm-6 text-right">
{% if user.website_url %} {% if user.website_url %}
<a href="{{ user.website_url }}">{{ user.website_url }}</a> <a href="{{ user.website_url }}">{{ user.website_url or '' }}</a>
{% else %}
{% endif %} {% endif %}
</div> </div>
<div class="col-lg-12"> <div class="col-lg-12">
{% if user.website_url %} {% if user.introduction %}
{{ user.introduction }} {{ user.introduction }}
{% endif %} {% endif %}
</div> </div>
@@ -40,18 +40,18 @@
{% endif %} {% endif %}
<h3>Chapter Head</h3> <h3>Chapter Head</h3>
<table class="table table-bordered" style="max-width: 400px;"> <table class="table table-bordered small" style="max-width: 500px;">
<tr> <tr>
<td>Name</td> <td style='width: 15%'>Name</td>
<td>{{ frappe.db.get_value('User', chapter_head, 'full_name') }}</td> <td>{{ frappe.db.get_value('User', chapter_head, 'full_name') }}</td>
</tr> </tr>
<tr> <tr>
<td>Email</td> <td>Email</td>
<td>{{ frappe.db.get_value('User', chapter_head, 'email') }}</td> <td>{{ frappe.db.get_value('User', chapter_head, 'email') or '' }}</td>
</tr> </tr>
<tr> <tr>
<td>Phone</td> <td>Phone</td>
<td>{{ frappe.db.get_value('User', chapter_head, 'phone') }}</td> <td>{{ frappe.db.get_value('User', chapter_head, 'phone') or '' }}</td>
</tr> </tr>
</table> </table>
<h3>Address</h3> <h3>Address</h3>

View File

@@ -0,0 +1,23 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit.test("test: Chapter", function (assert) {
let done = assert.async();
// number of asserts
assert.expect(1);
frappe.run_serially('Chapter', [
// insert a new Chapter
() => frappe.tests.make([
// values to be set
{key: 'value'}
]),
() => {
assert.equal(cur_frm.doc.key, 'value');
},
() => done()
]);
});

View File

@@ -13,7 +13,6 @@ class ConferenceTalkProposal(WebsiteGenerator):
def get_list_context(context): def get_list_context(context):
context.show_sidebar = 1 context.title = 'Talk Proposals'
context.website_sidebar = 'Conference 2017 Sidebar'
context.no_breadcrumbs = 1 context.no_breadcrumbs = 1

View File

@@ -1,6 +1,6 @@
<div> <div>
<p> <p>
<a href={{ route }}>{{ doc.title }}</a> <a href=/{{ route }}>{{ doc.title }}</a>
<span class='label'>{{ doc.status or 'Pending Review' }}</span> <span class='label'>{{ doc.status or 'Pending Review' }}</span>
<br><span class='text-muted small'>By {{ doc.speaker }}</span> <br><span class='text-muted small'>By {{ doc.speaker }}</span>
</p> </p>

View File

@@ -131,3 +131,21 @@ a {
.full-name { .full-name {
display: none; display: none;
} }
.sponsor {
height: 200px;
margin-top: 30px;
text-align: center;
vertical-align: center;
border: 1px solid #d1d8dd;
border-radius: 3px;
padding: 20px;
}
.sponsor .lead {
margin-top: 60px;
}
.sponsor img {
max-width: 150px;
}

View File

@@ -0,0 +1,37 @@
<section>
<div class='row'>
<div class="col-sm-4">
<div class='sponsor' style='padding-top: 20px'>
<p class='lead'>Your Company</p>
</div>
</div>
<div class="col-sm-4">
<div class='sponsor' >
<a href="https://mntechnique.com/" class="no-decoration" target="_blank">
<img src="/assets/foundation/img/conf/mnt-logo.png" alt="Frappé"
style="margin-top: 20px;"/>
</a>
</div>
</div>
<div class="col-sm-4">
<div class='sponsor' >
<a href="https://frappe.io/" class="no-decoration" target="_blank">
<img src="/assets/foundation/img/frappe-bird-thin.png" alt="Frappé"
style="margin-top: 20px;"/>
</a>
</div>
</div>
<div class="col-sm-12">
<div style="margin-top: 40px;">
<p>Become a patron for the conference and get associated with a global community<br>
of tens of thousands of users and developers. Sponsors also get 5 complimentary passes for the full conference!</p>
<a href="mailto:foundation@erpnext.org" class="btn btn-primary">Become A Sponsor</a>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1,31 @@
[
{
"route": "/conf/2017",
"title": "Conference Home"
},
{
"route": "/conf/2017/sponsors",
"title": "Sponsors"
},
{
"route": "/conf/2017/agenda",
"title": "Agenda"
},
{
"route": "/conf/2017/register",
"title": "Register"
},
{
"route": "/conf/2017/proposals",
"title": "Talk Proposals"
},
{
"route": "/conf/2017/volunteers",
"title": "Volunteers"
},
{
"route": "/conf/2017/memories",
"title": "Memories"
}
]

View File

@@ -0,0 +1,42 @@
{% extends "templates/web.html" %}
{% block page_content %}
<style>
section {
max-width: 600px;
margin: auto;
padding: 50px 0px;
border-bottom: 1px solid {{ style.border_color }};
}
section:last-child {
border-bottom: 0px;
}
</style>
<section class='hero text-center' style='margin-top: -50px'>
<h4 class='text-muted'>ERPNext Conference 2017, Mumbai</h4>
<h1>Agenda</h1>
</section>
<div>
{% for day in agenda %}
<section>
<h3 style='text-center'>{{ day.title }}</h3>
<br>
{% for item in day['items'] %}
<div class='row' style='margin-bottom: 15px;'>
<div class='col-sm-3'><p>{{ item.time }}</p></div>
<div class='col-sm-9'>
<p class='h4'>{{ item.title }}</p>
{% if item.description %}
<p>{{ item.description }}</p>
{% endif %}
</div>
</div>
{% endfor %}
</section>
{% endfor %}
</div>
<p class=text-center><a href="/conf/2017/register" class='btn btn-primary'>Register Now</a></p>
{% endblock %}

View File

@@ -0,0 +1,78 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
def get_context(context):
context.agenda = [
dict(
title = 'Day 1: Developer Talks',
items = [
dict(time='10am-11am',
title='Frappé Framework Architecture and Way Forward',
description='Overview of the architecture of Frappé and the direction in which we are going'),
dict(time='11am-12pm',
title='Developing the User Interface',
description='Understanding controls, views, layouts, and other objects in the Frappé User Interface'),
dict(time='12pm-1pm',
title='Debugging Frappé',
description='Tips and tricks on how to debug client and serverside issues in Frappé'),
dict(time='1pm-2pm',
title='Lunch'),
dict(time='2pm-3pm',
title='Designing Portals in Frappé',
description='How to build web views, web forms, customize templates and other website related topics'),
dict(time='3pm-4pm',
title='Deployment and Release',
description='Understanding the Frappé Release process and best practices for deployment and updating'),
dict(time='4pm-5pm',
title='Contributing to ERPNext',
description='Constribution best practices, writing tests, updating docs and planning your contributions')
]
),
dict(
title = 'Day 2: ERPNext Roadmap',
items = [
dict(time='10am-11am',
title='ERPNext Roadmap',
description='Taking a look at the most requested features in ERPNext and how do we prioritize them'),
dict(time='11am-12pm',
title='Localizations',
description='How to design and contribute extensions for legal requirements for different countries.'),
dict(time='12pm-1pm',
title='Integrations',
description='How to build and contribute 3rd party integrations in ERPNext.'),
dict(time='1pm-2pm',
title='Lunch'),
dict(time='2pm-5pm',
title='Module Analysis',
description='In this session will will look at each ERPNext module including Accounting, Manufacturing, CRM etc and discuss what should be the priority development in each of these modules')
]
),
dict(
title = 'Day 3: Community and User Talks',
items = [
dict(time='10am-11am',
title='Welcome and ERPNext Foundation',
description='A look back at what we have achieved in the 6 months and what is the vision for the ERPNext Foundation'),
dict(time='11am-12pm',
title='Business of ERPNext',
description='A panel discussion on how to make money on ERPNext and build a sustainable eco-system'),
dict(time='12pm-1pm',
title='User Stories',
description='Three ERPNext Users will share their ERPNext Journeys'),
dict(time='1pm-2pm',
title='Lunch'),
dict(time='2pm-3pm',
title='Feature Showcase',
description='Three developers from the community will showcase the extensions they have built on ERPNext'),
dict(time='3pm-4pm',
title='The Road Ahead',
description='Panel Disussion with Gold Members on how do we make ERPNext a mainstream ERP alternative to paid ERPs'),
dict(time='4pm-5pm',
title='Lightening Talks and Q&A',
description='5 min lightening talks by the audience and Q&A with the foundation members'),
]
)
]

View File

@@ -8,20 +8,3 @@
padding: 5px; padding: 5px;
} }
.sponsor {
height: 200px;
margin-top: 30px;
text-align: center;
vertical-align: center;
border: 1px solid #d1d8dd;
border-radius: 3px;
padding: 20px;
}
.sponsor .lead {
margin-top: 60px;
}
.sponsor img {
max-width: 200px;
}

View File

@@ -2,22 +2,6 @@
{% block title %}ERPNext Conference 2017{% endblock %} {% block title %}ERPNext Conference 2017{% endblock %}
{% block script %}
<script src="/assets/foundation/js/masonry.min.js"></script>
<script src="/assets/foundation/js/imagesloaded.min.js"></script>
<script>
frappe.ready(function() {
$('.grid').imagesLoaded(function() {
$('.grid').masonry({
// options
itemSelector: '.grid-item',
columnWidth: 400
});
});
});
</script>
{% endblock %}
{% block page_content %} {% block page_content %}
@@ -28,7 +12,10 @@
<!--<h1>Better Together</h1>--> <!--<h1>Better Together</h1>-->
<h1>ERPNext Conference 2017, Mumbai</h1> <h1>ERPNext Conference 2017, Mumbai</h1>
<p class='lead'>October 12th to 14th</p> <p class='lead'>October 12th to 14th</p>
<p><a href="/conf/2017/register" class='btn btn-primary'>Register Now</a></p> <p><a href="/conf/2017/register" class='btn btn-primary'>Register Now</a>
</p>
<p><a href="/conf/2017/agenda">Three days of amazing talks and discussions. See the full agenda.</a>
</section> </section>
<hr> <hr>
<section> <section>
@@ -44,76 +31,9 @@
where by specialization and co-operation, where by specialization and co-operation,
all of us become better.</p> all of us become better.</p>
</section> </section>
<section>
<div class='grid'>
<div class="grid-item"><img src='/assets/foundation/img/conf/img1.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img2.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img8.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img7.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img9.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img3.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img4.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img5.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img6.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img10.png'></div>
</div>
<div class='clearfix'></div>
</section>
<hr> <hr>
<section>
<h2>Agenda</h2>
<p>This conference will be divided in three days. On the first day, we will have a
community code sprint, where developers will from groups to work on specific problems.
On the second and third days we will have talks focussed on developers and end users.
Over this time there will be plenty of opportunity to network with developers,
service providers and users across the world.</p>
<p>
<a class="btn btn-primary" href='/conference-talk-proposal'>Propose A Talk</a>
</p>
</section>
<hr>
<section>
<div class='row'>
<div class="col-sm-12 text-center">
<h2>Sponsored By</h2> <h2>Sponsored By</h2>
</div> {% include "foundation/templates/includes/sponsors.html" %}
<div class="col-sm-4">
<div class='sponsor' style='padding-top: 20px'>
<p class='lead'>Your Company</p>
</div>
</div>
<div class="col-sm-4">
<div class='sponsor' >
<a href="https://mntechnique.com/" class="no-decoration" target="_blank">
<img src="/assets/foundation/img/conf/mnt-logo.png" alt="Frappé"
style="margin-top: 20px;"/>
</a>
</div>
</div>
<div class="col-sm-4">
<div class='sponsor' >
<a href="https://frappe.io/" class="no-decoration" target="_blank">
<img src="/assets/foundation/img/frappe-bird-thin.png" alt="Frappé"
style="margin-top: 20px;"/>
</a>
</div>
</div>
<div class="col-sm-12">
<div style="margin-top: 40px;">
<p>Become a patron for the conference and get associated with a global community<br>
of tens of thousands of users and developers.</p>
<a href="mailto:foundation@erpnext.org" class="btn btn-primary">Become A Sponsor</a>
</div>
</div>
</div>
</section>
<hr> <hr>
<section> <section>
<h3>Brought to you by the ERPNext Foundation</h3> <h3>Brought to you by the ERPNext Foundation</h3>
@@ -123,6 +43,7 @@
<p><a href="/members">Learn about Memberships</a></p> <p><a href="/members">Learn about Memberships</a></p>
</section> </section>
<hr> <hr>
<section> <section>
<div class='row'> <div class='row'>
<div class='col-md-7'> <div class='col-md-7'>
@@ -154,7 +75,9 @@
<hr> <hr>
<section> <section>
<p class=text-center> <p class=text-center>
<a href="/conf/2017/register" class='btn btn-primary'>Register Now</a></p> <a href="/conf/2017/register" class='btn btn-primary'>Register Now</a>
</p>
<p class=text-center><a href="/conf/2017/agenda">See the full agenda.</a>
</section> </section>
{% endblock %} {% endblock %}

View File

@@ -0,0 +1,33 @@
<style>
.grid-item {
padding-bottom: 15px;
max-width: 400px;
margin: auto;
}
</style>
<section class='hero text-center' style='margin-top: -50px'>
<h1>Memories</h1>
<h4 class='text-muted'>Snapshots of Earlier Events</h4>
</section>
<section>
<div class='grid' style='margin-top: 30px;'>
<div class="grid-item"><img src='/assets/foundation/img/conf/img1.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img2.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img8.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img7.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img9.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img3.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img4.png'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img5.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img6.jpg'></div>
<div class="grid-item"><img src='/assets/foundation/img/conf/img10.png'></div>
</div>
<div class='clearfix'></div>
</section>
<section>
<p class=text-center>
<a href="/conf/2017/register" class='btn btn-primary'>Register Now</a>
</p>
<p class=text-center><a href="/conf/2017/agenda">See the full agenda.</a>
</section>

View File

@@ -0,0 +1,14 @@
{% extends "templates/web.html" %}
{% block page_content %}
<section class='hero text-center' style='margin-top: -50px'>
<h4 class='text-muted'>ERPNext Conference 2017, Mumbai</h4>
<h1>Talk Proposals</h1>
</section>
{% include "templates/includes/list/list.html" %}
{% endblock %}
{% block script %}
<script>{% include "templates/includes/list/list.js" %}</script>
{% endblock %}

View File

@@ -0,0 +1,6 @@
import frappe
import frappe.www.list
def get_context(context):
context.update(frappe.www.list.get_context(context,
doctype='Conference Talk Proposal'))

View File

@@ -4,8 +4,8 @@
{% block page_content %} {% block page_content %}
<section class='hero text-center' style='margin-top: -80px'> <section class='hero text-center' style='margin-top: -50px'>
<h3 class='text-muted'>ERPNext Conference 2017, Mumbai</h3> <h4 class='text-muted'>ERPNext Conference 2017, Mumbai</h4>
<h1>Tickets and Registration</h1> <h1>Tickets and Registration</h1>
</section> </section>
@@ -25,7 +25,7 @@
<tbody> <tbody>
<tr> <tr>
<td> <td>
Full Conference (Code Sprint + Dev Talks + User Talks) Full Conference (<a href="/conf/2017/agenda">Full 3 days</a>)
<br>Oct 12-14 <br>Oct 12-14
<br>Includes Lunch <br>Includes Lunch
</td> </td>
@@ -35,7 +35,7 @@
</tr> </tr>
<tr> <tr>
<td> <td>
User Conference (User + Community Talks) User Conference (<a href="/conf/2017/agenda">Only last day</a>)
<br>Oct 14 <br>Oct 14
<br>Includes Lunch <br>Includes Lunch
</td> </td>
@@ -66,7 +66,7 @@
<tbody> <tbody>
<tr> <tr>
<td> <td>
Full Conference (Code Sprint + Dev Talks + User Talks) Full Conference (<a href="/conf/2017/agenda">Full 3 days</a>)
<br>Oct 12-14 <br>Oct 12-14
<br>Includes Lunch <br>Includes Lunch
</td> </td>
@@ -76,7 +76,7 @@
</tr> </tr>
<tr> <tr>
<td> <td>
User Conference (User + Community Talks) User Conference (<a href="/conf/2017/agenda">Only last day</a>)
<br>Oct 14 <br>Oct 14
<br>Includes Lunch <br>Includes Lunch
</td> </td>

View File

@@ -1,3 +0,0 @@
def get_context(context):
context.show_sidebar = 1
context.website_sidebar = 'Conference 2017 Sidebar'

View File

@@ -0,0 +1,6 @@
<section class='hero text-center' style='margin-top: -50px'>
<h4 class='text-muted'>ERPNext Conference 2017, Mumbai</h4>
<h1>Sponsors</h1>
</section>
{% include "foundation/templates/includes/sponsors.html" %}

View File

@@ -0,0 +1,19 @@
<section class='hero text-center' style='margin-top: -50px'>
<h4 class='text-muted'>ERPNext Conference 2017, Mumbai</h4>
<h1>Volunteers</h1>
</section>
<section>
<div>
{% for person in volunteers %}
<h4>{{ person.name }}</h4>
<p>
{{ person.title }}
<br><a href="mailto:{{ person.contact }}">{{ person.contact }}</a>
</p>
<br>
{% endfor %}
</div>
</section>
<hr>
Interested in volunteering? Email us at <a href='mailto:foundation@erpnext.org'>foundation@erpnext.org</a>

View File

@@ -0,0 +1,18 @@
def get_context(context):
context.volunteers = [
dict(
name='Manas Solanki',
title='Conference Manager',
contact='manas@erpnext.com'
),
dict(
name='Prakash Hodage',
title='Tickets and Registration',
contact='prakash@erpnext.com'
),
dict(
name='Ameya Shenoy',
title='Guest Relations',
contact='ameya@erpnext.com'
)
]