mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Some cleanup in css and removed other service providers from listing
This commit is contained in:
@@ -32,7 +32,8 @@
|
|||||||
.dark-bg {
|
.dark-bg {
|
||||||
background-color: #2E3338;
|
background-color: #2E3338;
|
||||||
}
|
}
|
||||||
.left-aligned {
|
.left-aligned,
|
||||||
|
.text-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.right-aligned {
|
.right-aligned {
|
||||||
@@ -50,6 +51,9 @@
|
|||||||
.text-white {
|
.text-white {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
.text-normal {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
.text-medium {
|
.text-medium {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
@@ -57,7 +61,8 @@
|
|||||||
font-size: 0.5rem;
|
font-size: 0.5rem;
|
||||||
}
|
}
|
||||||
.centered {
|
.centered {
|
||||||
margin: 0 auto;
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
.bold {
|
.bold {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -71,6 +76,15 @@
|
|||||||
.list-circle {
|
.list-circle {
|
||||||
list-style: circle;
|
list-style: circle;
|
||||||
}
|
}
|
||||||
|
.bullet::before {
|
||||||
|
content: "\2022";
|
||||||
|
display: inline-block;
|
||||||
|
width: 1em;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
.half-width {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
.border {
|
.border {
|
||||||
border: 1px solid #d1d8dd;
|
border: 1px solid #d1d8dd;
|
||||||
}
|
}
|
||||||
@@ -83,6 +97,65 @@
|
|||||||
.saturate:hover {
|
.saturate:hover {
|
||||||
filter: grayscale(0%);
|
filter: grayscale(0%);
|
||||||
}
|
}
|
||||||
|
/* colors */
|
||||||
|
.green-bullet::before {
|
||||||
|
color: #98d85b;
|
||||||
|
}
|
||||||
|
/* components */
|
||||||
|
.grid-of-four,
|
||||||
|
.grid-of-three {
|
||||||
|
grid-gap: 2.5rem;
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
.grid-of-four {
|
||||||
|
grid-template-columns: repeat(1, 1fr);
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 500px) {
|
||||||
|
.grid-of-four {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 767px) {
|
||||||
|
.grid-of-four {
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 991px) {
|
||||||
|
.grid-of-four {
|
||||||
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.grid-of-three {
|
||||||
|
grid-template-columns: repeat(1, 1fr);
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 500px) {
|
||||||
|
.grid-of-three {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 767px) {
|
||||||
|
.grid-of-three {
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.columns {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 767px) {
|
||||||
|
.columns {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.column {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 767px) {
|
||||||
|
.column {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
.indicator,
|
.indicator,
|
||||||
.indicator-right {
|
.indicator-right {
|
||||||
background: none;
|
background: none;
|
||||||
@@ -167,22 +240,23 @@ a:focus,
|
|||||||
a:visited {
|
a:visited {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
.header-1,
|
||||||
|
.header-2,
|
||||||
|
.header-3 {
|
||||||
|
line-height: 1.025;
|
||||||
|
}
|
||||||
.header-1 {
|
.header-1 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
line-height: 1.025;
|
|
||||||
}
|
}
|
||||||
.header-2 {
|
.header-2 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
line-height: 1.025;
|
|
||||||
}
|
}
|
||||||
.header-3 {
|
.header-3 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.025;
|
|
||||||
}
|
}
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05);
|
|
||||||
}
|
}
|
||||||
@media screen and (min-width: 767px) {
|
@media screen and (min-width: 767px) {
|
||||||
.navbar {
|
.navbar {
|
||||||
@@ -249,6 +323,9 @@ a:visited {
|
|||||||
padding: 8rem 2.5rem;
|
padding: 8rem 2.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.feature .bullet {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
.page {
|
.page {
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
border-top: 1px solid #EBEFF2;
|
border-top: 1px solid #EBEFF2;
|
||||||
@@ -272,56 +349,6 @@ a:visited {
|
|||||||
.list-items:hover {
|
.list-items:hover {
|
||||||
box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05);
|
box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05);
|
||||||
}
|
}
|
||||||
.grid-of-four,
|
|
||||||
.grid-of-three {
|
|
||||||
grid-gap: 2.5rem;
|
|
||||||
display: grid;
|
|
||||||
}
|
|
||||||
.grid-of-four {
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 500px) {
|
|
||||||
.grid-of-four {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 767px) {
|
|
||||||
.grid-of-four {
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 991px) {
|
|
||||||
.grid-of-four {
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.grid-of-three {
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 500px) {
|
|
||||||
.grid-of-three {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 767px) {
|
|
||||||
.grid-of-three {
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.two-column,
|
|
||||||
.three-column,
|
|
||||||
.four-column {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 767px) {
|
|
||||||
.two-column,
|
|
||||||
.three-column,
|
|
||||||
.four-column {
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.contact-content {
|
.contact-content {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
@@ -330,14 +357,6 @@ a:visited {
|
|||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.columns {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 767px) {
|
|
||||||
.columns {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.countries {
|
.countries {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
@@ -806,12 +825,6 @@ textarea.form-control {
|
|||||||
border-color: #5e5ec9;
|
border-color: #5e5ec9;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.screenshot,
|
|
||||||
.img-responsive {
|
|
||||||
max-width: 800px;
|
|
||||||
margin: auto;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
img.blog-cover-image,
|
img.blog-cover-image,
|
||||||
.blog-text img,
|
.blog-text img,
|
||||||
.screenshot {
|
.screenshot {
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ figure {
|
|||||||
img {
|
img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
width: 100%;
|
max-width: 100%;
|
||||||
border-radius: 0.25em;
|
border-radius: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,8 @@
|
|||||||
background-color: @text-dark;
|
background-color: @text-dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-aligned {
|
.left-aligned,
|
||||||
|
.text-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,6 +66,10 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-normal {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.text-medium {
|
.text-medium {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
@@ -74,7 +79,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.centered {
|
.centered {
|
||||||
margin: 0 auto;
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bold {
|
.bold {
|
||||||
@@ -93,6 +99,19 @@
|
|||||||
list-style: circle;
|
list-style: circle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bullet {
|
||||||
|
&::before {
|
||||||
|
content: "\2022";
|
||||||
|
display: inline-block;
|
||||||
|
width: 1em;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.half-width {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
.border {
|
.border {
|
||||||
border: @border;
|
border: @border;
|
||||||
}
|
}
|
||||||
@@ -108,3 +127,65 @@
|
|||||||
filter: grayscale(0%);
|
filter: grayscale(0%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* colors */
|
||||||
|
|
||||||
|
.green-bullet {
|
||||||
|
&::before {
|
||||||
|
color: @indicator-green;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* components */
|
||||||
|
|
||||||
|
.grid-of-four,
|
||||||
|
.grid-of-three {
|
||||||
|
grid-gap: 2.5rem;
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-of-four {
|
||||||
|
grid-template-columns: repeat(1, 1fr);
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-palm) {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-xs) {
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-sm) {
|
||||||
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-of-three {
|
||||||
|
grid-template-columns: repeat(1, 1fr);
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-palm) {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-xs) {
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.columns {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-xs) {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.column {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-xs) {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -19,25 +19,27 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-1,
|
||||||
|
.header-2,
|
||||||
|
.header-3 {
|
||||||
|
line-height: 1.025;
|
||||||
|
}
|
||||||
|
|
||||||
.header-1 {
|
.header-1 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
line-height: 1.025;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-2 {
|
.header-2 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
line-height: 1.025;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-3 {
|
.header-3 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.025;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.05);
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-xs) {
|
@media screen and (min-width: @screen-xs) {
|
||||||
padding: 1rem 2.5rem;
|
padding: 1rem 2.5rem;
|
||||||
@@ -111,6 +113,10 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.feature .bullet {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
border-top: 1px solid @light-border-color;
|
border-top: 1px solid @light-border-color;
|
||||||
@@ -137,52 +143,6 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-of-four,
|
|
||||||
.grid-of-three {
|
|
||||||
grid-gap: 2.5rem;
|
|
||||||
display: grid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid-of-four {
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-palm) {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-xs) {
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-sm) {
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid-of-three {
|
|
||||||
grid-template-columns: repeat(1, 1fr);
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-palm) {
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-xs) {
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.two-column,
|
|
||||||
.three-column,
|
|
||||||
.four-column {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-xs) {
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.contact-content {
|
.contact-content {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|
||||||
@@ -191,14 +151,6 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.columns {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
|
|
||||||
@media screen and (min-width: @screen-xs) {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.countries {
|
.countries {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
@@ -745,13 +697,6 @@ textarea.form-control {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.screenshot,
|
|
||||||
.img-responsive {
|
|
||||||
max-width: 800px;
|
|
||||||
margin: auto;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.blog-cover-image,
|
img.blog-cover-image,
|
||||||
.blog-text img,
|
.blog-text img,
|
||||||
.screenshot {
|
.screenshot {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<footer class="dark-bg">
|
<footer class="dark-bg">
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="four-column left-aligned clearfix">
|
<div class="columns text-left clearfix">
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h3 class="footer-title text-white">Industries</h3>
|
<h3 class="footer-title text-white">Industries</h3>
|
||||||
<ul class="list-unstyled footer-list">
|
<ul class="list-unstyled footer-list">
|
||||||
<li>
|
<li>
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h3 class="footer-title text-white">Foundation</h3>
|
<h3 class="footer-title text-white">Foundation</h3>
|
||||||
<ul class="list-unstyled footer-list">
|
<ul class="list-unstyled footer-list">
|
||||||
<li>
|
<li>
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h3 class="footer-title text-white">Community</h3>
|
<h3 class="footer-title text-white">Community</h3>
|
||||||
<ul class="list-unstyled footer-list">
|
<ul class="list-unstyled footer-list">
|
||||||
<li>
|
<li>
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h3 class="footer-title text-white">Documentation</h3>
|
<h3 class="footer-title text-white">Documentation</h3>
|
||||||
<ul class="list-unstyled footer-list">
|
<ul class="list-unstyled footer-list">
|
||||||
<li>
|
<li>
|
||||||
@@ -116,19 +116,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="footer-end dark-bg text-muted">
|
<div class="footer-end dark-bg text-muted">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="align-iten-center three-column">
|
<div class="align-iten-center columns">
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<p><img class="footer-icon" src="/assets/foundation/img/erpnext-logo.svg" alt="ERPnext Icon">
|
<p><img class="footer-icon" src="/assets/foundation/img/erpnext-logo.svg" alt="ERPnext Icon">
|
||||||
© <span id="year"></span> ERPNext Open Source Software Foundation.</p>
|
© <span id="year"></span> ERPNext Open Source Software Foundation.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<p>Find us on
|
<p>Find us on
|
||||||
<a class="secondary-link" href="https://twitter.com/erpnext" target="_blank">Twitter</a>,
|
<a class="secondary-link" href="https://twitter.com/erpnext" target="_blank">Twitter</a>,
|
||||||
<a class="secondary-link" href="https://www.facebook.com/ERPNext/" target="_blank">Facebook</a> &
|
<a class="secondary-link" href="https://www.facebook.com/ERPNext/" target="_blank">Facebook</a> &
|
||||||
<a class="secondary-link" href="https://medium.com/frappé-thoughts/" target="_blank">Medium</a>
|
<a class="secondary-link" href="https://medium.com/frappé-thoughts/" target="_blank">Medium</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<p>Content licensed under <a class="secondary-link" href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank"> CC-BY-SA 3.0</a> | <a href="/terms" class="secondary-link">Terms of use</a>.
|
<p>Content licensed under <a class="secondary-link" href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank"> CC-BY-SA 3.0</a> | <a href="/terms" class="secondary-link">Terms of use</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<section class='top-spacer hero text-center about'>
|
<section class='top-spacer hero text-center about'>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<img class="about-img bottom-spacer" src="/assets/foundation/img/community-colored.jpg">
|
<img class="about-img bottom-spacer" src="/assets/foundation/img/community-colored.jpg">
|
||||||
<h1 class="header1">ERPNext Foundation</h1>
|
<h1 class="header-1">ERPNext Foundation</h1>
|
||||||
<p class="intro-copy text-medium">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
|
<p class="intro-copy text-medium">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="intro-copy text-medium"> 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>.
|
come together, join hands and build assets to help build and enhance ERPNext around the world.</p><p class="intro-copy text-medium"> 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>.
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<a class="button button-primary" href="/get-started.html">Get Started</a>
|
<a class="button button-primary" href="/get-started.html">Get Started</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="feature gray-bg left-aligned">
|
<section class="feature gray-bg text-left">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="header-1 bottom-spacer-4 text-center">Industries</h1>
|
<h2 class="header-1 bottom-spacer-4 text-center">Industries</h1>
|
||||||
<ul class="list-unstyled grid-of-four">
|
<ul class="list-unstyled grid-of-four">
|
||||||
@@ -61,8 +61,8 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="feature">
|
<section class="feature">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="three-column left-aligned">
|
<div class="columns text-left">
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h1 class="header-2">Events & Meetups</h1>
|
<h1 class="header-2">Events & Meetups</h1>
|
||||||
<ul class="bulleted-list list-circle">
|
<ul class="bulleted-list list-circle">
|
||||||
{# get first three events from portal events doctype #}
|
{# get first three events from portal events doctype #}
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h1 class="header-2">Help Us Improve</h1>
|
<h1 class="header-2">Help Us Improve</h1>
|
||||||
<ul class="bulleted-list list-circle">
|
<ul class="bulleted-list list-circle">
|
||||||
<li>
|
<li>
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="column">
|
||||||
<h1 class="header-2">Need Help?</h1>
|
<h1 class="header-2">Need Help?</h1>
|
||||||
<ul class="bulleted-list list-circle">
|
<ul class="bulleted-list list-circle">
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro show_member(s) %}
|
{% macro show_member(s) %}
|
||||||
<div class='individual-member columns'>
|
<div class='individual-member column'>
|
||||||
<h3><a class='secondary-link bold' href="/{{ s.route }}">{{ s.title and s.title[:25] }}</a></h3>
|
<h3><a class='secondary-link bold' href="/{{ s.route }}">{{ s.title and s.title[:25] }}</a></h3>
|
||||||
<p>
|
<p>
|
||||||
{{ s.introduction and s.introduction | truncate(140) }}
|
{{ s.introduction and s.introduction | truncate(140) }}
|
||||||
@@ -34,8 +34,6 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
{% if form_dict.country %}
|
|
||||||
{% endif %}
|
|
||||||
<section class="gold bottom-spacer-4">
|
<section class="gold bottom-spacer-4">
|
||||||
<h2 class='media-heading'>Gold Members</h2>
|
<h2 class='media-heading'>Gold Members</h2>
|
||||||
{% for m in gold_members %}
|
{% for m in gold_members %}
|
||||||
@@ -66,22 +64,17 @@
|
|||||||
{{ show_member(s) }}
|
{{ show_member(s) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{% if has_individual_member %}
|
||||||
|
<p class="top-spacer text-center"><a class='text-muted' href='/members'>
|
||||||
|
Become an Individual Member and get your company featured here</a></p>
|
||||||
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
{% if form_dict.country %}
|
{% if not form_dict.country %}
|
||||||
<section class="bottom-spacer-4">
|
|
||||||
<h2>Other Service Providers</h2>
|
|
||||||
<div class="grid-of-three">
|
|
||||||
{% for s in service_providers %}
|
|
||||||
{{ show_member(s) }}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{% else %}
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Select by country</h2>
|
<h2>Select by country</h2>
|
||||||
<div class='four-column flex-wrap'>
|
<div class='columns flex-wrap'>
|
||||||
{% for c in countries %}
|
{% for c in countries %}
|
||||||
<div class='countries columns'>
|
<div class='countries column'>
|
||||||
<p>
|
<p>
|
||||||
<a class="secondary-link" href="/service-providers?country={{ c[0] }}">{{ c[0] }} ({{ c[1] }})</a>
|
<a class="secondary-link" href="/service-providers?country={{ c[0] }}">{{ c[0] }} ({{ c[1] }})</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -56,12 +56,15 @@ def get_context(context):
|
|||||||
filters['member'] = ('in', individual_members)
|
filters['member'] = ('in', individual_members)
|
||||||
context.individual_members = frappe.get_all('Service Provider',
|
context.individual_members = frappe.get_all('Service Provider',
|
||||||
'title, introduction, `image`, route', filters)
|
'title, introduction, `image`, route', filters)
|
||||||
|
|
||||||
|
if context.individual_members:
|
||||||
|
context.has_individual_member = 1
|
||||||
else:
|
else:
|
||||||
context.individual_members = [dict(
|
context.individual_members.append(dict(
|
||||||
title='Your Company',
|
title='Your Company',
|
||||||
introduction='Become an invidual member to list here',
|
introduction='Become an invidual member to list here',
|
||||||
route='/members'
|
route='/members'
|
||||||
)]
|
))
|
||||||
|
|
||||||
if context.form_dict.country:
|
if context.form_dict.country:
|
||||||
context.title = 'ERPNext Service Providers in {0}'.format(context.form_dict.country)
|
context.title = 'ERPNext Service Providers in {0}'.format(context.form_dict.country)
|
||||||
|
|||||||
Reference in New Issue
Block a user