mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
added wesite slideshow and attributions on website
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{#
|
||||
requires, brand, top_bar_items, footer_items, copyright, content
|
||||
requires, brand_html, top_bar_items, footer_items, copyright, content, address
|
||||
#}
|
||||
|
||||
{% extends "html/base.html" %}
|
||||
@@ -13,7 +13,7 @@
|
||||
style="margin-bottom: 0px;">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<a class="brand" href="index.html">{{ brand }}</a>
|
||||
<a class="brand" href="index.html">{{ brand_html }}</a>
|
||||
<ul class="nav">
|
||||
{% for page in top_bar_items %}
|
||||
{% if not page.parent_label %}
|
||||
@@ -77,7 +77,10 @@
|
||||
{% if copyright %}
|
||||
<div class="web-footer-copyright">© {{ copyright }}</div>
|
||||
{% endif %}
|
||||
<div class="web-footer-powered">Powered by <a href="https://erpnext.com">ERPNext.com</a></div>
|
||||
{% if address %}
|
||||
{{ address }}
|
||||
{% endif %}
|
||||
<p><a style="font-size: 90%;" href="attributions.html">ERPNext Powered</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
@@ -9,21 +9,30 @@
|
||||
{% block content %}
|
||||
<div class="layout-wrapper layout-wrapper-background">
|
||||
<div class="web-content" style="text-align: {{ text_align }};">
|
||||
|
||||
{% if layout and layout.startswith('Two column') %}
|
||||
<div class="layout-main-section">
|
||||
{% else %}
|
||||
<div class="layout-main">
|
||||
{% endif %}
|
||||
{{ main_section_html }}
|
||||
{% if slideshow %}
|
||||
{{ slideshow_header }}
|
||||
<div id="myCarousel" class="carousel slide">
|
||||
<div class="carousel-inner">
|
||||
{% for slide in obj.slides %}
|
||||
<div class="{% if slide.idx==1 %}active {% endif %}item">
|
||||
<img src="{{ slide.image }}" />
|
||||
<div class="carousel-caption">
|
||||
<h4>{{ slide.heading }}</h4>
|
||||
<p>{{ slide.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<a class="carousel-control left" href="#myCarousel"
|
||||
data-slide="prev">‹</a>
|
||||
<a class="carousel-control right" href="#myCarousel"
|
||||
data-slide="next">›</a>
|
||||
</div>
|
||||
<script>$(".carousel").carousel();</script>
|
||||
{% endif %}
|
||||
{{ main_section }}
|
||||
</div>
|
||||
|
||||
{% if layout and layout.startswith('Two column') %}
|
||||
<div class="layout-side-section">
|
||||
{{ side_section_html }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user