mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
style fixees
This commit is contained in:
@@ -16,9 +16,9 @@ class ServiceProvider(WebsiteGenerator):
|
||||
self.route = 'service-providers/' + self.scrub(self.name)
|
||||
|
||||
def get_context(self, context):
|
||||
context.parents = [dict(label='All Service Providers in {0}'.format(self.country),
|
||||
route='service-providers?country={0}'.format(self.country),
|
||||
title='All Service Providers in {0}'.format(self.country))]
|
||||
context.parents = [dict(label='All Service Providers',
|
||||
route='service-providers',
|
||||
title='All Service Providers')]
|
||||
if self.member:
|
||||
context.membership_type = frappe.get_value('Member', self.member, 'membership_type')
|
||||
if context.website and not context.website.startswith('http'):
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
<p class='lead'>
|
||||
ERPNext is the modern, easy-to-use, 100% open source, business system used by more than three thousand enterprises worldwide.
|
||||
</p>
|
||||
<a class="mt-4 btn btn-dark btn" href="/get-started.html">Get Started</a>
|
||||
<p><a class="mt-4 btn btn-dark btn" href="/get-started">Get Started with ERPNext</a></p>
|
||||
<p><a class="text-muted" href="/stories">Read user stories</a></p>
|
||||
</section>
|
||||
|
||||
{% macro card(title, body, btnlink, badges) %}
|
||||
<div class="col-sm">
|
||||
<a href="{{ btnlink }}" class="card mb-4">
|
||||
<div class="col-sm mb-4">
|
||||
<a href="{{ btnlink }}" class="card h-100">
|
||||
<div class="card-body">
|
||||
<h6>{{ title }}</h6>
|
||||
<p class="card-text text-muted">{{ body }}</p>
|
||||
@@ -61,7 +62,7 @@
|
||||
|
||||
{{ card(
|
||||
"Projects",
|
||||
"Manage teams with multiple tasks, integrated with time tracking and budgeting.",
|
||||
"Manage teams with multiple tasks, track time and costs.",
|
||||
"/docs/user/manual/en/projects",
|
||||
["All"]
|
||||
) }}
|
||||
@@ -84,7 +85,7 @@
|
||||
|
||||
{{ card(
|
||||
"Healthcare",
|
||||
"Patient care with appointment scheduling, consultation and lab reports.",
|
||||
"Patient care with appointments, consultation and lab reports.",
|
||||
"/docs/user/manual/en/healthcare",
|
||||
["Healthcare"]
|
||||
) }}
|
||||
@@ -117,12 +118,6 @@
|
||||
|
||||
<hr class="featurette-divider">
|
||||
<section class="section-padding text-center">
|
||||
<p class='mt-5'>
|
||||
<div class='blockquote'>"ERPNext and Frappe are monumental projects. We are happy contributors."
|
||||
<footer class='blockquote-footer'>Kailash Nadh, CTO, Zerodha</footer>
|
||||
</div>
|
||||
|
||||
</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/">
|
||||
|
||||
@@ -4,22 +4,23 @@
|
||||
<div class='row'>
|
||||
{% for item in members %}
|
||||
<div class='col-sm-4 mb-4'>
|
||||
<div class='card h-100'>
|
||||
<a href='{{ item.website_url or "#" }}' class='card h-100'>
|
||||
{% if with_img %}
|
||||
<img class="card-img-top greyscale"
|
||||
<div class='square-img'>
|
||||
<img class="greyscale"
|
||||
src="{{ item.image or "/assets/foundation/img/people/tux.png" }}"
|
||||
alt="{{ item.title }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="card-body">
|
||||
<h5>
|
||||
{{ item.title }}
|
||||
</h5>
|
||||
<div>{{ item.country }}</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<a href='{{ item.website_url or "#" }}' class='text-muted'>{{ item.website_url or "No Website" }}</a>
|
||||
</div>
|
||||
<span class='text-muted small'>{{ item.country }}</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{% if loop.index is divisibleby 3 %}
|
||||
</div><div class='row'>
|
||||
|
||||
Reference in New Issue
Block a user