mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
add sidebar highlight and add padding to main
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
{% from "foundation/templates/includes/macros.html" import media %}
|
{% from "foundation/templates/includes/macros.html" import media %}
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<h1 class="media-heading">{{ title }}</h1>
|
|
||||||
{% if membership_type %}
|
{% if membership_type %}
|
||||||
<p><span class=label>{{ membership_type }} Member<span></p>
|
<p><span class=label>{{ membership_type }} Member<span></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
<nav class="pv1">
|
<nav>
|
||||||
<ul class="list-unstyled m0 p0">
|
<ul class="list-unstyled m0 p0">
|
||||||
{% for list_item in ['Service Providers', 'Chapters', 'Fellowship', 'Blog'] %}
|
<li class="ph4 pv1 bg-dark-grey">
|
||||||
|
<a class="fg-white" href="">Service Providers</a>
|
||||||
|
</li>
|
||||||
|
{% for list_item in ['Chapters', 'Fellowship', 'Blog'] %}
|
||||||
<li class="ph4 pv1">
|
<li class="ph4 pv1">
|
||||||
<a href="">{{ list_item }}</a>
|
<a href="">{{ list_item }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<div class="page-sidebar flex-1 border-right">
|
<div class="page-sidebar flex-1 border-right">
|
||||||
{% include "foundation/templates/includes/sidebar/sidebar.html" %}
|
{% include "foundation/templates/includes/sidebar/sidebar.html" %}
|
||||||
</div>
|
</div>
|
||||||
<div class="page-main">
|
<div class="page-main flex-4 p6">
|
||||||
{% include "foundation/templates/includes/page-head.html" %}
|
{% include "foundation/templates/includes/page-head.html" %}
|
||||||
<div class="page-body">
|
<div class="page-body">
|
||||||
{%- block page_content -%}{%- endblock -%}
|
{%- block page_content -%}{%- endblock -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user