mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
[fix] site cleanups
This commit is contained in:
@@ -9,6 +9,7 @@ import foundation
|
|||||||
|
|
||||||
class PortalJob(WebsiteGenerator):
|
class PortalJob(WebsiteGenerator):
|
||||||
def get_context(self, context):
|
def get_context(self, context):
|
||||||
|
context.no_cache = True
|
||||||
context.parents = [dict(label='View All Jobs',
|
context.parents = [dict(label='View All Jobs',
|
||||||
route='erpnext-jobs', title='View All Jobs')]
|
route='erpnext-jobs', title='View All Jobs')]
|
||||||
context.is_member = foundation.is_member()
|
context.is_member = foundation.is_member()
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<h3>Details</h3>
|
<h3>Details</h3>
|
||||||
<p>{{ description }}</p>
|
<p>{{ description }}</p>
|
||||||
<h3>Contact</h3>
|
<h3>Contact</h3>
|
||||||
{% if frappe.session.user != 'Guest' %}
|
{% if frappe.user != 'Guest' %}
|
||||||
<table class='table table-bordered small' style='max-width: 400px; margin-bottom: 0px;'>
|
<table class='table table-bordered small' style='max-width: 400px; margin-bottom: 0px;'>
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width: 38.2%'>Email</td>
|
<td style='width: 38.2%'>Email</td>
|
||||||
@@ -41,4 +41,6 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<p><a href="/login">You must register and login to view contact details</a></p>
|
<p><a href="/login">You must register and login to view contact details</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<p><br><a href="/my-jobs?new=1" class='btn btn-primary'>Post a New Job</a></p>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -18,5 +18,7 @@ class ServiceProvider(WebsiteGenerator):
|
|||||||
context.parents = [dict(label='All Service Providers in {0}'.format(self.country),
|
context.parents = [dict(label='All Service Providers in {0}'.format(self.country),
|
||||||
route='service-providers?country={0}'.format(self.country),
|
route='service-providers?country={0}'.format(self.country),
|
||||||
title='All Service Providers in {0}'.format(self.country))]
|
title='All Service Providers in {0}'.format(self.country))]
|
||||||
|
if self.member:
|
||||||
|
context.membership_type = frappe.get_value('Member', self.member, 'membership_type')
|
||||||
if not context.website.startswith('http'):
|
if not context.website.startswith('http'):
|
||||||
context.website = 'http://' + context.website
|
context.website = 'http://' + context.website
|
||||||
@@ -4,13 +4,16 @@
|
|||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<h1 class="media-heading">{{ title }}</h1>
|
<h1 class="media-heading">{{ title }}</h1>
|
||||||
|
{% if membership_type %}
|
||||||
|
<p><span class=label>{{ membership_type }} Member<span></p>
|
||||||
|
{% endif %}
|
||||||
<section>
|
<section>
|
||||||
<div class="media" style="margin: 45px 0px; ">
|
<div class="media" style="margin: 45px 0px; ">
|
||||||
<div class="media-left">
|
<div class="media-left" style='min-width: 80px;'>
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<img class="media-object"
|
<img class="media-object"
|
||||||
src="{{ image }}"
|
src="{{ image }}"
|
||||||
style="width: 80px; height: 80px; max-width: 80px; ">
|
style="max-width: 80px; ">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
|
|||||||
@@ -47,10 +47,9 @@ website_context = {
|
|||||||
{"label": "Foundation", "child_items": [
|
{"label": "Foundation", "child_items": [
|
||||||
{"label": "About", "url": "/about"},
|
{"label": "About", "url": "/about"},
|
||||||
{"label": "Memberships", "url": "/members"},
|
{"label": "Memberships", "url": "/members"},
|
||||||
|
{"label": "Blog", "url": "/blog"},
|
||||||
{"label": "Contact", "url": "/contact"},
|
{"label": "Contact", "url": "/contact"},
|
||||||
{"label": "Legal", "url": "/legal"},
|
{"label": "Legal", "url": "/legal"},
|
||||||
{"label": "Terms", "url": "/terms"},
|
|
||||||
{"label": "Privacy Policy", "url": "/privacy"}
|
|
||||||
]},
|
]},
|
||||||
{"label": "Community", "child_items": [
|
{"label": "Community", "child_items": [
|
||||||
{"label": "Service Providers", "url": "/service-providers"},
|
{"label": "Service Providers", "url": "/service-providers"},
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
|
/*@import url('https://fonts.googleapis.com/css?family=Open+Sans');
|
||||||
|
*/
|
||||||
body {
|
body {
|
||||||
font-family: 'Open Sans', sans-serif;
|
/* font-family: 'Open Sans', sans-serif;
|
||||||
font-size: 15px;
|
*/ font-size: 14px;
|
||||||
color: #161c23;
|
color: #161c23;
|
||||||
text-rendering: optimizeLegibility !important;
|
text-rendering: optimizeLegibility !important;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
@@ -19,13 +19,13 @@ section:last-child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
section p, section li, section .media-body {
|
section p, section li, section .media-body {
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
line-height: 1.8em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page_content {
|
.page_content {
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
line-height: 1.8em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page_content li {
|
.page_content li {
|
||||||
@@ -69,9 +69,10 @@ h1, h2, h3, h4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
|
font-weight: normal;
|
||||||
background-color: #d9f7dc;
|
background-color: #d9f7dc;
|
||||||
font-size: 14px;
|
font-size: 13px;
|
||||||
padding: 5px 10px;
|
padding: 3px 7px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -167,6 +168,6 @@ a:hover {
|
|||||||
|
|
||||||
.page-breadcrumbs .breadcrumb {
|
.page-breadcrumbs .breadcrumb {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
/*color: #8D99A6;*/
|
/*color: #8D99A6;*/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# ERPNext Opens Source Software Foundation
|
<!-- title: ERPNext Open Source Software Foundation -->
|
||||||
|
|
||||||
## Memorandum of Association
|
|
||||||
|
|
||||||
Company Registration Number (CIN): U74999MH2016NPL288653
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<div class='text-center'>
|
<div class='text-center'>
|
||||||
|
|
||||||
|
<h1>ERPNext Open Source Software Foundation</h1>
|
||||||
|
|
||||||
|
<h2>Memorandum of Association</h2>
|
||||||
|
|
||||||
|
Company Registration Number (CIN): U74999MH2016NPL288653<br><br>
|
||||||
|
|
||||||
THE COMPANIES ACT, 2013<br><br>
|
THE COMPANIES ACT, 2013<br><br>
|
||||||
|
|
||||||
MEMORANDUM OF ASSOCIATION<br><br>
|
MEMORANDUM OF ASSOCIATION<br><br>
|
||||||
@@ -105,3 +105,7 @@ If upon a winding up or dissolution of the company, there remains, after the sat
|
|||||||
|
|
||||||
The Company can be amalgamated only with another company registered under section 8 of the Companies Act, 2013 and having similar objects.
|
The Company can be amalgamated only with another company registered under section 8 of the Companies Act, 2013 and having similar objects.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- [Terms of Membership](/terms)
|
||||||
|
- [Privacy](/privacy)
|
||||||
|
|||||||
@@ -31,5 +31,6 @@
|
|||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<p><a href="/members/details" class="button green-btn">Become A Member</a></p>
|
<p><a href="/members/details" class="button green-btn">Become A Member</a></p>
|
||||||
|
<p><a href="/service-providers">See List of All Members</a></p>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -27,3 +27,8 @@ We will ensure that Your Confidential Information is managed with the same level
|
|||||||
1. Public profiles are visible to all, including, Job posts and Service Provider profile
|
1. Public profiles are visible to all, including, Job posts and Service Provider profile
|
||||||
1. Please do not put any confidential information on site. If EOSSF wants any confidential information, EOSSF will contact you personally.
|
1. Please do not put any confidential information on site. If EOSSF wants any confidential information, EOSSF will contact you personally.
|
||||||
1. EOSSF will keep your membership data confidential, if you explicitly inform EOSSF
|
1. EOSSF will keep your membership data confidential, if you explicitly inform EOSSF
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- [Legal](/legal)
|
||||||
|
- [Terms of Use](/terms)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"forum.png", "https://discuss.erpnext.com") }}
|
"forum.png", "https://discuss.erpnext.com") }}
|
||||||
|
|
||||||
{{ media("Help Videos", "More than 50 videos explaining features, using ERPNext, detailed webinar recordings, tutorials and much more",
|
{{ media("Help Videos", "More than 50 videos explaining features, using ERPNext, detailed webinar recordings, tutorials and much more",
|
||||||
"video.png", "https://youtube.com") }}
|
"video.png", "https://www.youtube.com/c/erpnext") }}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<h4 class="media-heading">{{ m.title }}</h4>
|
<h4 class="media-heading">{{ m.title }}</h4>
|
||||||
|
<p><span class=label>Gold Member</span></p>
|
||||||
{{ m.introduction }}
|
{{ m.introduction }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -23,13 +24,14 @@
|
|||||||
<div class='col-sm-4'>
|
<div class='col-sm-4'>
|
||||||
<div class='silver-member with-border clickable' style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
|
<div class='silver-member with-border clickable' style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
|
||||||
<h4>{{ m.title }}</h4>
|
<h4>{{ m.title }}</h4>
|
||||||
|
<p><span class=label>Silver Member</span></p>
|
||||||
<p>{{ m.introduction[:100] }}</p>
|
<p>{{ m.introduction[:100] }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro show_member(s) %}
|
{% macro show_member(s) %}
|
||||||
<div class='col-sm-4'>
|
<div class='col-sm-4' style='height: 130px; padding-bottom: 30px'>
|
||||||
<p>
|
<p>
|
||||||
<a class='bold' href="/{{ s.route }}">{{ s.title.title()[:25] }}</a><br>
|
<a class='bold' href="/{{ s.route }}">{{ s.title.title()[:25] }}</a><br>
|
||||||
{{ s.introduction[:100] }}
|
{{ s.introduction[:100] }}
|
||||||
@@ -38,11 +40,10 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<h1 class='media-heading'>{{ title }}</h1>
|
<h1 class='media-heading' style='margin-bottom: 30px;'>{{ title }}</h1>
|
||||||
{% if form_dict.country %}
|
{% if form_dict.country %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<section>
|
<section>
|
||||||
<h2>Gold Members</h2>
|
|
||||||
{% for m in gold_members %}
|
{% for m in gold_members %}
|
||||||
{{ gold_member(m) }}
|
{{ gold_member(m) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -52,14 +53,12 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2>Silver Members</h2>
|
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
{% for m in silver_members %}
|
{% for m in silver_members %}
|
||||||
{{ silver_member(m) }}
|
{{ silver_member(m) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% if form_dict.country %}
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Individual Members</h2>
|
<h2>Individual Members</h2>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
@@ -68,6 +67,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{% if form_dict.country %}
|
||||||
<section>
|
<section>
|
||||||
<h2>Other Service Providers</h2>
|
<h2>Other Service Providers</h2>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
|
|||||||
@@ -47,14 +47,13 @@ def get_context(context):
|
|||||||
))
|
))
|
||||||
|
|
||||||
|
|
||||||
if context.form_dict.country:
|
|
||||||
context.title = 'ERPNext Service Providers in {0}'.format(context.form_dict.country)
|
|
||||||
|
|
||||||
context.individual_members = []
|
context.individual_members = []
|
||||||
individual_members = [d.name for d in frappe.get_all('Member', dict(membership_type='Individual'))]
|
individual_members = [d.name for d in frappe.get_all('Member',
|
||||||
|
dict(membership_type='Individual'))]
|
||||||
if individual_members:
|
if individual_members:
|
||||||
filters['member'] = ('in', individual_members)
|
filters['member'] = ('in', individual_members)
|
||||||
context.individual_members = frappe.get_all('Service Provider', 'title, introduction, `image`, route', filters)
|
context.individual_members = frappe.get_all('Service Provider',
|
||||||
|
'title, introduction, `image`, route', filters)
|
||||||
else:
|
else:
|
||||||
context.individual_members = [dict(
|
context.individual_members = [dict(
|
||||||
title='Your Company',
|
title='Your Company',
|
||||||
@@ -62,6 +61,9 @@ def get_context(context):
|
|||||||
route='/members'
|
route='/members'
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
if context.form_dict.country:
|
||||||
|
context.title = 'ERPNext Service Providers in {0}'.format(context.form_dict.country)
|
||||||
|
|
||||||
context.service_providers = [d for d in frappe.get_all('Service Provider', 'name, title, introduction, `image`, route',
|
context.service_providers = [d for d in frappe.get_all('Service Provider', 'name, title, introduction, `image`, route',
|
||||||
dict(country=frappe.form_dict.country, show_in_website=1), order_by='name') if d.name not in individual_members]
|
dict(country=frappe.form_dict.country, show_in_website=1), order_by='name') if d.name not in individual_members]
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,8 @@ These terms apply if you choose to become an ERPNext Open Source Software Founda
|
|||||||
1. The membership does not give you any decision making right on the foundation unless you are a member of a committee.
|
1. The membership does not give you any decision making right on the foundation unless you are a member of a committee.
|
||||||
|
|
||||||
If you have questions, please feel to email us at [foundation@erpnext.org](mailto:foundation@erpnext.com)
|
If you have questions, please feel to email us at [foundation@erpnext.org](mailto:foundation@erpnext.com)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- [Legal](/legal)
|
||||||
|
- [Privacy](/privacy)
|
||||||
|
|||||||
Reference in New Issue
Block a user