update fellows page

This commit is contained in:
Raghavendra Kamath
2018-04-19 16:07:59 +05:30
parent aafd483e2a
commit c04edefa88
5 changed files with 18 additions and 18 deletions

View File

@@ -6,13 +6,11 @@
<h1 class="media-heading">{{ title }}</h1> <h1 class="media-heading">{{ title }}</h1>
<section> <section>
<div class="media"> <div class="media">
<div class="media-left" style='min-width: 80px;'> <a href="#">
<a href="#"> <img class="mr-3 media-img"
<img class="media-object" src="{{ image }}"
src="{{ image }}" style="max-width: 80px; ">
style="max-width: 80px; "> </a>
</a>
</div>
<div class="media-body"> <div class="media-body">
{{ introduction }} {{ introduction }}
<table class='table table-bordered small' <table class='table table-bordered small'

View File

@@ -1,12 +1,10 @@
<div class="media max-width-medium clickable" style="cursor: pointer;" onclick="location.href='{{ doc.route }}'"> <div class="media my-3 bg-light p-4 clickable" style="cursor: pointer;" onclick="location.href='{{ doc.route }}'">
<div class="media-left"> <a href="{{ link or "#" }}">
<a href="{{ link or "#" }}"> <img class="mr-3 media-img"
<img class="media-object" src="{% if image %}{% if not '/' in image %}/assets/foundation/img/{% endif %}{{ image }}{% else %}/assets/foundation/img/frappe-bird-grey.svg{% endif %}"
src="{% if image %}{% if not '/' in image %}/assets/foundation/img/{% endif %}{{ image }}{% else %}/assets/foundation/img/frappe-bird-grey.svg{% endif %}" style="{% if image and not '/' in image %}opacity: 0.4{% endif %}">
style="{% if image and not '/' in image %}opacity: 0.4{% endif %}"> </a>
</a> <div class="media-body mt-0">
</div>
<div class="media-body">
{% if title %}<h4 class="media-heading">{{ doc.title }}</h4>{% endif %} {% if title %}<h4 class="media-heading">{{ doc.title }}</h4>{% endif %}
<p> <p>
<span class='label'>{{ frappe.format_date(doc.creation) }}</span> <span class='label'>{{ frappe.format_date(doc.creation) }}</span>

View File

@@ -1,3 +1,7 @@
.media-img { .media-img {
max-width: 150px; max-width: 150px;
} }
.stars {
width: 125px;
}

View File

@@ -1,7 +1,7 @@
{% extends base_template_path %} {% extends base_template_path %}
{% block hero %}{% endblock %} {% block hero %}{% endblock %}
{% block content %} {% block content %}
<div class="page px-3"> <div class="page px-3 pt-3">
<div class="row" id="page-{{ name or route }}" <div class="row" id="page-{{ name or route }}"
data-path="{{ pathname }}" {%- if page_or_generator=="Generator" %} data-doctype="{{ doctype }}"{% endif %}> data-path="{{ pathname }}" {%- if page_or_generator=="Generator" %} data-doctype="{{ doctype }}"{% endif %}>
{% if show_sidebar %} {% if show_sidebar %}

View File

@@ -83,7 +83,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="mt-5 row"> <div class="mt-5 row text-center">
<div class="col-xs-12 col-sm-6 col-md-3"> <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/"> <a class="secondary-link" target="_blank" href="https://www.capterra.com/p/164441/ERPNext/">
<img alt="captera-erpnext review" src="/assets/foundation/img/captera-bw.png" class="review-img"> <img alt="captera-erpnext review" src="/assets/foundation/img/captera-bw.png" class="review-img">