This commit is contained in:
Rushabh Mehta
2018-05-13 16:05:04 +05:30
parent f436874ab7
commit 5a097372f5
13 changed files with 405 additions and 435 deletions

View File

@@ -39,7 +39,7 @@ home_page = "index"
template_apps = ['foundation', 'frappe_theme', 'erpnext', 'frappe']
website_context = {
# "navbar_search": 1,
"brand_html": "<img class='mr-1 d-inline-block align-top' width='30px' height='30px' src='/assets/foundation/img/erpnext-logo.svg' alt='Oensource ERP Software'/>ERPNext.org",
"brand_html": "<img class='mr-2 d-inline-block align-top' width='30px' height='30px' src='/assets/foundation/img/erpnext-logo.svg' alt='Oensource ERP Software'/>ERPNext.org",
"top_bar_items": [
{"label": "About", "url": "/about", "right":1},
{"label": "Blog", "url": "/blog", "right":1},

View File

@@ -5,95 +5,4 @@ from markdown2 import markdown
from frappe.utils import validate_email_add
def migrate():
frappe.flags.mute_emails = True
source = Database(user='5a0a48926f6a52c6', password='ihUTM3eN3JgVoyGp')
users = source.sql('select * from tabUser', as_dict=1)
for u in users:
if validate_email_add(u.email.strip()) and not frappe.db.exists("User", u.email):
frappe.get_doc(dict(
doctype='User',
name=u.name,
first_name=u.first_name,
last_name=u.last_name,
email=u.email
)).insert(ignore_if_duplicate=True)
auth_details = source.sql('select * from __Auth where name = %s', u.email, as_dict=1)
if auth_details:
auth = auth_details[0]
if not frappe.db.sql("select doctype from __Auth where name = %s", auth.name):
frappe.db.sql("""insert into __Auth
(doctype, name, fieldname, password, salt, encrypted)
values (%s, %s, %s, %s, %s, %s)""",
(auth.doctype, auth.name, auth.fieldname, auth.password, auth.salt, auth.encrypted))
print u.name
frappe.db.sql('delete from `tabService Provider`')
partners = source.sql('select * from `tabFrappe Partner`', as_dict=True)
for p in partners:
d = frappe.get_doc(dict(
doctype='Service Provider',
title=p.partner_name,
country=p.country,
image=p.logo,
introduction=p.introduction,
details=markdown(p.description),
address=p.partner_address,
discuss_ids=p.community_members,
website=p.partner_website,
github_id=p.github_id,
owner=p.owner,
creation=p.creation,
email= p.email,
phone=p.phone,
route=p.route,
show_in_website=p.show_in_website
)).insert(ignore_if_duplicate=True, ignore_mandatory=True)
print d.name
jobs = source.sql('select * from `tabFrappe Job`', as_dict=True)
frappe.db.sql('delete from `tabPortal Job`')
for j in jobs:
if not frappe.db.exists('Country', j.country):
frappe.get_doc(dict(doctype='Country', country_name=j.country)).insert()
d = frappe.get_doc(dict(
doctype='Portal Job',
title=j.job_title,
company_name=j.company_name,
country=j.country,
status='Open' if j.status=='Assigned' else j.status,
job_type={
'ERP Implementation': 'Implementation',
'Core Development': 'Feature Development',
'Website Development': 'Website Development',
'Other': 'App Development'
}.get(j.job_type, None) or j.job_type,
description= markdown(j.job_detail),
owner=j.owner,
creation=j.creation,
route=j.route,
show_in_website=j.show_in_website
)).insert(ignore_if_duplicate=True, ignore_mandatory=True)
print d.name
apps = source.sql('select * from `tabFrappe App`', as_dict=True)
frappe.db.sql('delete from `tabFrappe App`')
for a in apps:
d = frappe.get_doc(dict(
doctype='Frappe App',
app_name = a.app_name,
badge = a.badge,
category = a.category,
route = a.route,
url = a.url,
repository_url = a.repository_url,
published = 1,
description = markdown(a.description),
owner=a.owner,
creation=a.creation,
)).insert(ignore_if_duplicate=True, ignore_mandatory=True)
print d.name
pass

View File

@@ -3,4 +3,4 @@ import frappe
def execute():
frappe.db.sql('''
ALTER TABLE `tabFoundation Fellowship` CHANGE `website` `website_url` varchar(140);
''')
''', ignore_ddl = True)

View File

@@ -2,6 +2,5 @@ import frappe
def execute():
for job in frappe.get_all("Portal Job"):
print job.name
frappe.db.set_value("Portal Job", job.name, "route", "erpnext-job/{0}".format(job.name.encode('utf-8')),
update_modified=False)

View File

@@ -1,121 +1,120 @@
<footer class="border-top">
<footer class="bg-dark pt-4">
<div class="container">
<div class="row my-5">
<div class="col-sm-3">
<h6>Industries</h6>
<h6 class="text-light">Industries</h6>
<ul class="list-unstyled">
<li class="mb-2">
<a href="/docs/user/manual/en/manufacturing">Manufacturing</a>
<a class="text-muted" href="/docs/user/manual/en/manufacturing">Manufacturing</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/stock">Distribution</a>
<a class="text-muted" href="/docs/user/manual/en/stock">Distribution</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/projects">Services</a>
<a class="text-muted" href="/docs/user/manual/en/projects">Services</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/accounts/point-of-sale-pos-invoice">Retail</a>
<a class="text-muted" href="/docs/user/manual/en/accounts/point-of-sale-pos-invoice">Retail</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/education">Education</a>
<a class="text-muted" href="/docs/user/manual/en/education">Education</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/healthcare">Healthcare</a>
<a class="text-muted" href="/docs/user/manual/en/healthcare">Healthcare</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/agriculture">Agriculture</a>
<a class="text-muted" href="/docs/user/manual/en/agriculture">Agriculture</a>
</li>
<li class="mb-2">
<a href="/docs/user/manual/en/non_profit">Non Profit</a>
<a class="text-muted" href="/docs/user/manual/en/non_profit">Non Profit</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h6>Foundation</h6>
<h6 class="text-light">Foundation</h6>
<ul class="list-unstyled">
<li class="mb-2">
<a href="/about">About</a>
<a class="text-muted" href="/about">About</a>
</li>
<li class="mb-2">
<a href="/blog">Blog</a>
<a class="text-muted" href="/blog">Blog</a>
</li>
<li class="mb-2">
<a href="/members">Memberships</a>
<a class="text-muted" href="/members">Memberships</a>
</li>
<li class="mb-2">
<a href="/foundation-fellow">Fellow</a>
<a class="text-muted" href="/foundation-fellow">Fellow</a>
</li>
<li class="mb-2">
<a href="/bounties">Bounties</a>
<a class="text-muted" href="/conf">Conferences</a>
</li>
<li class="mb-2">
<a href="/conf">Conferences</a>
<a class="text-muted" href="/contact">Contact</a>
</li>
<li class="mb-2">
<a href="/contact">Contact</a>
</li>
<li class="mb-2">
<a href="/login">Member Login</a>
<a class="text-muted" href="/login">Member Login</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h6>Community</h6>
<h6 class="text-light">Community</h6>
<ul class="list-unstyled">
<li class="mb-2">
<a href="/chapters">Chapters</a>
<a class="text-muted" href="/chapters">Chapters</a>
</li>
<li class="mb-2">
<a href="https://discuss.erpnext.com" target="_blank" >Forum</a>
<a class="text-muted" href="https://discuss.erpnext.com" target="_blank" >Forum</a>
</li>
<li class="mb-2">
<a href="/service-providers">Service Providers</a>
<a class="text-muted" href="/service-providers">Service Providers</a>
</li>
<li class="mb-2">
<a href="/erpnext-jobs">ERPNext Jobs</a>
<a class="text-muted" href="/erpnext-jobs">ERPNext Jobs</a>
</li>
<li class="mb-2">
<a href="/apps">Apps</a>
<a class="text-muted" href="https://gitter.im/frappe/erpnext" target="_blank" >Chat (Gitter)</a>
</li>
<li class="mb-2">
<a href="https://gitter.im/frappe/erpnext" target="_blank" >Chat (Gitter)</a>
<a class="text-muted" href="https://github.com/frappe/erpnext" target="_blank" >GitHub</a>
</li>
<li class="mb-2">
<a href="https://github.com/frappe/erpnext" target="_blank" >GitHub</a>
</li>
<li class="mb-2">
<a href="https://erpnext.com" target="_blank" >ERPNext.com</a>
<a class="text-muted" href="https://erpnext.com" target="_blank" >ERPNext.com</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h6>Documentation</h6>
<div class="col-sm-3" style='display: flex; flex-direction: column; justify-content: space-between;'>
<div>
<h6 class="text-light">Documentation</h6>
<ul class="list-unstyled">
<li class="mb-2">
<a href="/docs/user/manual">Manual</a>
<a class="text-muted" href="/docs/user/manual">Manual</a>
</li>
<li class="mb-2">
<a href="https://www.youtube.com/c/erpnext" target="_blank" >Video Tutorials</a>
<a class="text-muted" href="https://www.youtube.com/c/erpnext" target="_blank" >Video Tutorials</a>
</li>
<li class="mb-2">
<a href="/docs/current">ERPNext Model & API</a>
<a class="text-muted" href="/docs/current">ERPNext Model & API</a>
</li>
</ul>
<h6>Find Us On</h6>
</div>
<div>
<h6 class="text-light">Social</h6>
<ul class="list-unstyled">
<li class="mb-2">
<a href="https://twitter.com/erpnext" target="_blank">Twitter</a>
<a class="text-muted" href="https://twitter.com/erpnext" target="_blank">Twitter</a>
</li>
<li class="mb-2">
<a href="https://www.facebook.com/ERPNext/" target="_blank">Facebook</a>
<a class="text-muted" href="https://www.facebook.com/ERPNext/" target="_blank">Facebook</a>
</li>
<li class="mb-2">
<a href="https://medium.com/frappé-thoughts/" target="_blank">Medium</a>
<a class="text-muted" href="https://medium.com/frappé-thoughts/" target="_blank">Medium</a>
</li>
</ul>
</div>
</div>
<div class="py-3 border-top">
<span>&copy; <span id="year"></span> ERPNext Open Source Software Foundation. Content licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank"> CC-BY-SA 3.0</a> Read the <a href="/terms" >Terms of use</a>.</span>
</div>
<div class="py-3 text-muted">
<span>&copy; <span id="year"></span> ERPNext Open Source Software Foundation. Content licensed under <a class="text-muted" href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank"> CC-BY-SA 3.0</a> Read the <a class="text-muted"href="/terms" >Terms of use</a>.</span>
</div>
<script type="text/javascript">
frappe.ready(function() {
@@ -147,4 +146,5 @@
});
});
</script>
</div>
</footer>

View File

@@ -2,34 +2,81 @@
{% block title %}About ERPNext Foundation{% endblock %}
{% from "templates/includes/macros.html" import media %}
{% macro media(title, body, image) %}
<div class="media border mb-3 p-3">
<img class="mr-3" src="/files/{{ image }}">
<div class="media-body">
<h5 class="mt-0">{{ title }}</h5>
{{ body }}
</div>
</div>
{% endmacro %}
{% block content%}
<div class="page">
<section>
<section class='section-padding text-center'>
<h2>ERPNext Foundation</h1>
<p class="lead">We are a registered not-for-profit
entity representing a community of ERPNext
users, developers and service providers.<p>
<img class="rounded mw-100 my-5" src="/assets/foundation/img/community-colored.jpg">
<h1 class="font-weight-normal">ERPNext Foundation</h1>
<p class="font-weight-normal lead w-75">We are a Non Profit
Foundation representing a community of ERPNext
Users, Developers and Service Providers. Our
goal is to provide a platform for the ERPNext
Community to
come together, join hands and build assets to help build and enhance ERPNext around the world.</p>
<p class="font-weight-normal lead w-75"> ERPNext Foundation
aims to be a community driven organization and
run in a transparent manner. If you want to be
more involved in the ERPNext Community, read
the <a href="/faq" class="secondary-link" target="_blank">FAQ</a>.
<h4>Our Vision</h4>
<p class='lead'>Our vision is to provide high quality free software to organizations, enterprises and public institutions around the world, and enable to use it by spreading the knowledge and best practices of running organizations in the 21st Century.</p>
<h4 class='mt-5'>Our Approach</h4>
<p class='lead'>To enable this vision we will:<br>1. Create platforms to bring people together to share their knowledge. <br> 2. Create software and documentation so people can be self-reliant. <br>3. Work with public institutions and help them use tools like ERPNext.</p>
<a href="/members" class="mt-4 btn btn-dark">Support us by becoming a Member</a>
</section>
<hr class="featurette-divider">
<section class="section-padding">
<h2 class="text-center">People</h1>
<p class='lead text-center mb-5'>We are supported by a great team who have years of experience in ERPNext and a passion for Free and Open Source Software.</p>
{{ media(
"Basawaraj Savalagi, CEO",
"Basawaraj is a believer in free and open source software. Computer Science Engineer by training and has previously worked in Deloitte consulting on SAP and SELCO Solar, a social enterprise in multiple roles. He is passionate about radically changing the way SMEs work by driving adoption of open source software like ERPNext.",
"basawaraj.png"
)
}}
{{ media(
"Revant Nandgaonkar, Director",
"Revant is a free and open source software enthusiast. Management student and an entrepreneur. Founder of MN Technique, ERPNext Service Provider. He began his journey by implementing ERPNext for his family business and now helps businesses onboard on to this true free and open source ERP.",
"revant.jpg"
)
}}
{{ media(
"Rushabh Mehta, Director",
"Rushabh is the CEO of Frappé Technologies Private Limited and one of the original creators of Frappé Framework and ERPNext. He built ERPNext for his family's business and then later published it as an open source project. Rushabh is an Industrial Engineer by training but a software developer by profession. In his free time, he likes to read and spend time relaxing at home.",
"rushabh.jpg"
)
}}
{{ media(
"Nabin Hait, Director",
"Nabin is the Chief Operating Officer of Frappé Technologies Private Limited and the lead developer at ERPNext. Nabin is responsible for managing the ERPNext project and managing the team at Frappé. Nabin is a great cook and likes cooking and watching movies in his free time.",
"nabin.jpg"
)
}}
{{ media(
"Prakash Hodage, Director",
"Prakash is the accountant and administrative officer of Frappé Technologies Private Limited. He is the person responsible for getting the foundation registered. Prakash has extensive experience in managing accounting and administration and is an expert ERPNext user, also handling user support from time to time. In his free time, Prakash loves to read and help people around him.",
"prakash.jpg"
)
}}
<p class="mt-4 text-center">
<a class="text-muted" href="/contact">Want to talk to someone in the foundation? Get in touch</a>
</p>
</section>
<hr class="my-5">
<section class="mb-5">
<h1 class="font-weight-normal">{{ doc.team_members_heading }}</h1>
{% for member in doc.team_members %}
{{ media(member.full_name, member.bio, member.image_link) }}
{% endfor %}
<p class="p"><a href="/contact">Want to talk to someone in the foundation? Get in touch</a></p>
</section>
</div>
</section>
{% endblock %}

View File

@@ -1,7 +0,0 @@
# See license.txt
from __future__ import unicode_literals
import frappe
def get_context(context):
return { "doc": frappe.get_doc("About Us Settings", "About Us Settings") }

View File

@@ -2,7 +2,7 @@
{% block title %}Conference Home{% endblock %}
{% from "foundation/templates/includes/macros.html" import media %}
{% from "frappe_theme/templates/includes/macros.html" import media %}
{% block page_content %}
<section>

View File

@@ -1,58 +1,71 @@
{% extends "templates/base.html" %}
{% block title %} Get Started - ERPNext Foundation{% endblock %}
{% block content %}
<section class="my-5 text-center">
<img class="w-25 m-auto mb-4" src="/assets/foundation/img/bench-logo.png">
<h1>Install ERPNext with Bench</h1>
<p class="lead font-weight-normal text-center">Bench is our in-house tool to install and manage ERPNext.</p>
<a target="_blank" href="https://github.com/frappe/bench#manual-install">Read the instructions on our wiki</a>
</section>
<hr class="featurette-divider">
<section class="my-5 text-center">
<img class="w-50 m-auto mb-4" src="/assets/foundation/img/cloud.png">
<h1>Get ERPNext on cloud</h1>
<p class="lead text-center font-weight-normal">Start right away with a free trial account </br>and get priority support.</p>
<a class="btn btn-primary btn-lg text-center" href="https://erpnext.com/pricing?source=org">Free 30 Day Trial</a></p>
</section>
<hr class="featurette-divider">
<section class="my-5 text-center">
<h2>Virtual Machine Images</h2>
<p class='lead font-eight-normal mb-4'>Download a pre-installed Virtual Box Images</p>
<div class="row">
<div class="col-sm-4">
<a class="primary-links grid-boxes saturate" href="http://build.erpnext.com/ERPNext-Production.ova">
<img class="grid-images" src="/assets/foundation/img/vm-production.png" alt="Download ERPNext Production Image">
</a>
<h2>Download Production Image</h2>
<p class="text-muted">Stable build for Production use<br>(approx 1.5GB) | <a href="http://build.erpnext.com/ERPNext-Production.ova.md5">MD5</a></p>
</div>
<div class="col-sm-4">
<a class="primary-links grid-boxes saturate" href="http://build.erpnext.com/ERPNext-Dev.ova">
<img class="grid-images" src="/assets/foundation/img/vm-development.png" alt="Download ERPNext Development Image">
</a>
<h6 class="mt-4">Download Development Image</h6>
<p class="text-muted">Bleeding edge build for development only<br>(approx 1.5GB) | <a href="http://build.erpnext.com/ERPNext-Dev.ova.md5">MD5</a>
</p>
</div>
<div class="col-sm-4">
<a class="primary-links grid-boxes saturate" href="http://build.erpnext.com/ERPNext-Vagrant.box">
<img class="grid-images" src="/assets/foundation/img/vm-dev-vagrant.png" alt="Download ERPNext Vagrant Box">
</a>
<h6 class="mt-4">Download Vagrant Box</h6>
<p class="text-muted">Bleeding edge Vagrant box for development only<br>(approx 1.5GB) | <a href="http://build.erpnext.com/ERPNext-Vagrant.box.md5">MD5</a>
</p>
</div>
</div>
<section class="section-padding text-center">
<h2>Getting Started with ERPNext</h2>
<p class="lead">ERPNext is Python based web application which runs on MariaDB. There are many ways to get started.<p>
</section>
<hr class="featurette-divider">
<section class="section-padding text-center">
<div class="container">
<p class="text-center"><a class="">
<img class="feature-img bottom-spacer" src="/assets/foundation/img/service-providers.png">
</a></p>
<h1 class="header-1">Contact Service Providers</h1>
<p class="text-medium intro-copy text-light">For additional customisations, implementation and training requirements.</p>
<a class="primary-link text-medium text-center" href="/service-providers">See the list of all Service Providers</a>
<h4>Take a Free Trial on ERPNext.com</h4>
<p class="lead mb-4">The fastest way to experience ERPNext is to start with a 30-day free trial on ERPNext.com</p>
<a class="btn btn-dark" href="https://erpnext.com/pricing?source=org">Start a Free Trial</a></p>
</section>
<hr class="featurette-divider">
<section class="section-padding text-center">
<h4>Self Install on Linux using the Bench</h4>
<p class="lead mb-4">Bench is a command-line tool to install and manage ERPNext.</p>
<a target="_blank" class='btn btn-dark' href="https://github.com/frappe/bench">Read the instructions on GitHub</a>
</section>
{% macro card(title, body, btnlink, color) %}
<div class="col-sm">
<div class="card">
<div class="card-body">
<h6 class="indicator {{ color }}">{{ title }}</h6>
<p class="card-text">{{ body }}</p>
<a href="{{ btnlink }}" class="btn btn-dark btn-sm">Download</a>
</div>
</div>
</div>
{% endmacro %}
<hr class="featurette-divider">
<section class="section-padding">
<h4 class='text-center'>Virtual Machine Images</h4>
<p class='lead text-center'>Download a pre-installed Virtual Box Images</p>
<div class="row mt-5">
{{ card(
"Production Image",
"Stable build for Production use (Master Branch)<br>(approx 1.5GB) | <a href='http://build.erpnext.com/ERPNext-Production.ova.md5'>MD5</a>.",
"http://build.erpnext.com/ERPNext-Production.ova",
"green"
) }}
{{ card(
"Development Image",
"Bleeding edge build for development only<br>(approx 1.5GB) | <a href='http://build.erpnext.com/ERPNext-Dev.ova.md5'>MD5</a>",
"http://build.erpnext.com/ERPNext-Dev.ova",
"orange"
) }}
{{ card(
"Vagrant Box",
"Bleeding edge Vagrant box for development only<br>(approx 1.5GB) | <a href='http://build.erpnext.com/ERPNext-Vagrant.box.md5'>MD5</a>",
"http://build.erpnext.com/ERPNext-Vagrant.box",
"orange"
) }}
</div>
</section>
<hr class="featurette-divider">
<section class="section-padding text-center">
<h3>Connect with Service Providers</h3>
<p class="lead mb-4">Find a partner who can help you setup and evaluate ERPNext.</p>
<a class="btn btn-sm btn-dark" href="/service-providers">See Service Providers</a>
</div>
</section>
{% endblock %}

View File

@@ -1,121 +1,129 @@
{% extends "templates/base.html" %}
{% block title %}ERPNext Foundation - Open Source ERP Software{% endblock %}
{% block content %}
<section class='section-padding'>
<h1 class="mt-4 w-75">World's leading fully open source ERP software that helps you stay in control of your business</h1>
<a class="mt-4 btn btn-primary btn-lg" href="/get-started.html">Get Started</a>
<section class='section-padding text-center'>
<h2>World's Leading 100% Open Source ERP</h2>
<p class='lead lead-max m-auto text-muted'>
ERPNext is used by more than three thousand enterprises in over two hundred countries. It is built on an extensible platform and is supported by a large and active community.
</p>
<a class="mt-4 btn btn-dark btn" href="/get-started.html">Get Started</a>
</section>
<hr class="featurette-divider">
<section class='section-padding'>
<h1>We have got it all covered</h1>
<p class=' w-50 lead font-weight-normal'>ERPNext has all the features to put you in complete control of your business.</p>
<img class="mt-4 screenshot" src='/assets/foundation/img/screenshot-main.png' alt="ERPNext desk view">
</section>
<hr class="featurette-divider">
<section class="section-padding">
<h1>Industries</h1>
<div class="mt-5 row text-center">
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
{% macro card(title, body, btnlink, badges) %}
<div class="col-sm">
<a href="{{ btnlink }}" class="card mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/manufacturing">
<img class="card-img-top" src="/assets/foundation/img/manufacturing.png" alt="ERP software for manufacturing">
<h6 class="indicator blue">{{ title }}</h6>
<p class="card-text">{{ body }}</p>
<div>
{% for badge in badges %}
<span class='badge badge-secondary'>{{ badge }}</span>
{% endfor %}
</div>
<!-- <a href="{{ btnlink }}" class="btn btn-dark btn-sm">{{ btnlabel }}</a> -->
</div>
</a>
<h5 class="card-title mt-3">Manufacturing</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/projects">
<img class="card-img-top" src="/assets/foundation/img/services.png" alt="ERP software for Services">
</a>
<h5 class="card-title mt-3">Services</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/accounts/point-of-sale-pos-invoice">
<img class="card-img-top" src="/assets/foundation/img/retail.png" alt="ERP software for retail"></a>
<h5 class="card-title mt-3">Retail</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/stock">
<img class="card-img-top" src="/assets/foundation/img/distribution.png" alt="ERP software for Distribution"></a>
<h5 class="card-title mt-3">Distribution</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/education">
<img class="card-img-top" src="/assets/foundation/img/education.png" alt="ERP software for Education">
</a>
<h5 class="card-title mt-3">Education</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/agriculture">
<img class="card-img-top" src="/assets/foundation/img/agriculture.png" alt="ERP software for Agriculture"></a>
<h5 class="card-title mt-3">Agriculture</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/healthcare">
<img class="card-img-top" src="/assets/foundation/img/healthcare.png" alt="ERP software for Healthcare"></a>
<h5 class="card-title mt-3">Healthcare</h5>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-3">
<div class="card border-light box-shadow mb-4">
<div class="card-body">
<a class="" href="/docs/user/manual/en/non_profit">
<img class="card-img-top" src="/assets/foundation/img/non-profits.png" alt="ERP software for Non-Profits"></a>
<h5 class="card-title mt-3">Non Profit</h5>
</div>
{% endmacro %}
<section class="section-padding px-3">
<div class="row mt-5">
{{ card(
"Accounting",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/accounts",
["All"]
) }}
{{ card(
"CRM",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/crm",
["All"]
) }}
{{ card(
"Inventory",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/stock",
["All"]
) }}
</div>
<div class="row">
{{ card(
"Sales",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/selling",
["All"]
) }}
{{ card(
"Purchasing",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/buying",
["All"]
) }}
{{ card(
"Projects",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/accounts",
["All"]
) }}
</div>
<div class="row">
{{ card(
"Manufacturing",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/selling",
["Manufacturing"]
) }}
{{ card(
"Education",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/buying",
["Education"]
) }}
{{ card(
"Healthcare",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/accounts",
["Healthcare"]
) }}
</div>
<div class="row">
{{ card(
"E-Commerce",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/selling",
["All"]
) }}
{{ card(
"Website",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/buying",
["All"]
) }}
{{ card(
"Support",
"With supporting text below as a natural lead-in to additional content.",
"/docs/user/manual/en/accounts",
["All"]
) }}
</div>
</section>
<hr class="featurette-divider">
<section class="section-padding">
<h1>Empowering businesses around the world</h1>
<p class="w-50 lead font-weight-normal">Trusted by more than 3000 companies</p>
<div class="mt-5 card-deck">
<div class="card border-light box-shadow">
<div class="card-body">
<p class="">ERPNext was the most wonderful, minimalist and affordable ERP Environment that my little team (7 employees) vote to buy and use like a Cloud Based Unitary Software.</p>
<p class="bold text-muted">Hernan</br>Venezuela</p>
</div>
</div>
<div class="card border-light box-shadow">
<div class="card-body">
<p class="">First of all, I would like to thank you very much for the great work you’ve done with this ERP, it is the perfect solution for start-ups, like mine! Keep up the good work!</p>
<p class="bold text-muted">Dan Radulescu</br>Romania</p>
</div>
</div>
<div class="card border-light box-shadow">
<div class="card-body">
<p class="">The UI and UX are one of the most fluid and highly useable interfaces I have ever seen in an ERP. You make accounting fun! Keep up the amazing work.</p>
<p class="bold text-muted">Gladwyn Lewis</br>ERP Consultant, UAE</p>
</div>
</div>
</div>
<section class="section-padding text-center">
<h2>Independent Reviews</h2>
<p class="lead text-muted text-center">Loved by users all over the world</p>
<div class="mt-5 row text-center">
<div class="col-xs-12 col-sm-6 col-md-3">
<a class="secondary-link" target="_blank" href="https://www.capterra.com/p/164441/ERPNext/">
@@ -144,13 +152,10 @@
</div>
</section>
<hr class="featurette-divider">
<section class="section-padding">
<h1>ERPNext Foundation</h1>
<p class="w-50 lead font-weight-normal">ERPNext Foundation is a
community of ERPNext users, developers and service providers.
The goal of the ERPNext Foundation is to provide a platform for
the ERPNext Community to come together, join hands and build
assets to help build and enhance ERPNext around the world.</p>
<a href="/members/details" class="mt-4 btn btn-secondary btn-lg">Become a Member</a>
<section class="section-padding text-center">
<h2>ERPNext Foundation</h2>
<p class="lead lead-max m-auto text-muted">ERPNext Foundation is a
registered not-for-profit organization that brings enables community to build and enhance ERPNext.</p>
<a href="/members" class="mt-4 btn btn-dark">Become a Member</a>
</section>
{% endblock %}

View File

@@ -2,30 +2,57 @@
{% block title %}ERPNext Foundation - Memberships{% endblock %}
{% from "foundation/templates/includes/macros.html" import media %}
{% macro card(title, body, badges, color) %}
<div class="col-sm">
<a href="/members/details" class="card mb-4">
<div class="card-body">
<h6 class="indicator {{ color }}">{{ title }}</h6>
<p class="card-text">{{ body }}</p>
<div>
{% for badge in badges %}
<span class='badge badge-secondary'>{{ badge }}</span>
{% endfor %}
</div>
<!-- <a href="{{ btnlink }}" class="btn btn-dark btn-sm">{{ btnlabel }}</a> -->
</div>
</a>
</div>
{% endmacro %}
{% block page_content %}
<section>
<section class="section-padding text-center">
<h1>Memberships</h1>
<p>Be a Part of the ERPNext Foundation. The ERPNext Foundation aims to be driven by its members. By becoming a members, you get
a preferred listing on the ERPNext Job Board and access to incoming requests for implementation
and customization jobs<br>
<p class='lead'>Support ERPNext by becoming a Foundation Member</p>
<p>The ERPNext Foundation aims to be driven by its members. By becoming a members, you get a preferred listing on the ERPNext Job Board and access to incoming requests for implementation and customization jobs, and show your support for ERPNext
</p>
</section>
<section>
<section class='section-padding text-center'>
<h3>Membership Types</h3>
{{ media("Gold Member",
"By becoming a Gold Member, you show your leadership and a premium positioning for your brand. As a Gold Member, you have priority on all the ERPNext Listings. <br>Membership Rate: <b>$5000</b> | ₹ 3,00,000",
"gold.png") }}
{{ media("Silver Member",
"Silver members also get priority listing on the Service Provider board after the Gold Members. Becoming a silver member will give you increased visibility in the ERPNext Community. <br>Membership Rate: <b>$1500</b> | ₹ 1,00,000",
"silver.png") }}
{{ media("Individual Member",
"Individual membership is ideal for users and freelancers who want to show their solidarity to the project and community. Individual members get listed above those with a free listing. <br>Membership Rate: <b>$200</b> | ₹ 10,000",
"medal.png") }}
</section>
<section>
<p><a href="/members/details" class="btn btn-primary">Become A Member</a></p>
<p><a href="/service-providers">See List of All Members</a></p>
<div class='row mt-4'>
{{ card(
"Gold Member",
"By becoming a Gold Member, you show your leadership and a premium positioning for your brand. As a Gold Member, you have priority on all the ERPNext Listings.",
["$5000", "₹3,00,000"],
"blue")
}}
{{ card(
"Silver Member",
"Silver membersget priority listing on the Service Provider board after the Gold Members. Becoming a silver member will give you increased visibility in the ERPNext Community.",
["$1500", "₹1,00,000"],
"gray")
}}
{{ card(
"Individual Member",
"Individual membership is ideal for users and freelancers who want to show their solidarity to the project and community. Individual members get listed above those with a free listing.",
["$200", "₹10,000"],
"light-gray")
}}
</div>
<p class='mt-5'>
<a href="/members/details" class="btn btn-dark">Become A Member</a>
</p>
<p>
<a href="/service-providers" class='text-muted'>See List of All Members</a>
</p>
</section>
{% endblock %}

View File

@@ -1,80 +1,57 @@
{% extends "templates/web.html" %}
{% from "templates/includes/macros.html" import media %}
{% macro gold_member(m) %}
<div class="col-sm-6 mb-4">
<div class="card h-100 {{ 'text-muted' if m.placeholder else '' }}" style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
<div class="card-body">
<a class="mr-3" href="{{ m.route }}">
<img class="media-img" src="{{ m.image or '/assets/foundation/img/gold.png' }}">
</a>
<h4 class="mt-4">{{ m.title }}</h4>
{% macro member(m, color, show_image=True) %}
<a href="{{ m.route }}" class="list-group-item no-decoration">
<div class='media'>
{% if show_image and m.image %}
<img class="mr-3" src="{{ m.image }}" style="max-width: 30px;">
{% endif %}
<div class='media-body'>
<h6 class="mt-0 indicator {{ color }}">{{ m.title }}</h6>
<div class='text-muted'>
{{ m.introduction | truncate(140) }}
</div>
</div>
</div>
{% endmacro %}
{% macro silver_member(m) %}
<div class="col-sm-4 mb-4">
<div class="card h-100 clickable {{ 'text-muted' if m.placeholder else '' }}"
style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
<div class="card-body">
<h4 class="card-title">{{ m.title }}</h4>
<p class="card-text">{{ m.introduction | truncate(140) }}</p>
</div>
</div>
</div>
{% endmacro %}
{% macro show_member(s) %}
<div class="col-sm-4 mb-4">
<a class="card-text" href="/{{ s.route }}">{{ s.title and s.title[:25] }}</a>
</div>
</div>
</a>
{% endmacro %}
{% block page_content %}
<section class="mb-5">
<h3 class="mb-5">Gold Members</h3>
<div class="row">
<style>
.media-body {
line-height: 1.5;
}
</style>
<section class="my-5">
<h4 class="mb-4">Gold Members</h4>
<div class="list-group">
{% for m in gold_members %}
{{ gold_member(m) }}
{{ member(m, 'blue') }}
{% endfor %}
</div>
{% if has_gold_member %}
<p class="pt-3"><a href='/members'>
Become a Gold Member and get your company featured here</a></p>
{% endif %}
</section>
<section class="my-5">
<h3 class="mb-5">Silver Members</h3>
<div class="row">
<h4 class="mb-4">Silver Members</h4>
<div class="list-group">
{% for m in silver_members %}
{{ silver_member(m) }}
{% endfor %}
</div>
{% if has_silver_member %}
<p class="pt-3"><a href='/members'>
Become a Silver Member and get your company featured here</a></p>
{% endif %}
</section>
<section class="my-5">
<h3 class="mb-5">Individual Members</h3>
<div class="row">
{% for s in individual_members %}
{{ show_member(s) }}
{{ member(m, 'gray') }}
{% endfor %}
</div>
{% if has_individual_member %}
<p class="pt-3"><a href='/members'>
Become an Individual Member and get your company featured here</a></p>
{% endif %}
</section>
<section class="my-5">
<h4 class="mb-4">Individual Members</h4>
<div class="list-group">
{% for s in individual_members %}
{{ member(s, 'light-gray', False) }}
{% endfor %}
</div>
</section>
{% if not form_dict.country %}
<section class="my-5">
<h3 class="mb-5">Select by country</h3>
<h4 class="mb-4">Select by country</h4>
<div class='row'>
{% for c in countries %}
<div class='col-xs-2 col-sm-4 col-md-3'>