mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Fix sidebar
This commit is contained in:
150
foundation/templates/includes/footer/footer.html
Normal file
150
foundation/templates/includes/footer/footer.html
Normal file
@@ -0,0 +1,150 @@
|
||||
<footer class="my-5 px-3 pt-5 border-top">
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<h6>Industries</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/manufacturing">Manufacturing</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/stock">Distribution</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/projects">Services</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/accounts/point-of-sale-pos-invoice">Retail</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/education">Education</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/healthcare">Healthcare</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/agriculture">Agriculture</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/user/manual/en/non_profit">Non Profit</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<h6>Foundation</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="/about">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/blog">Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/members">Memberships</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/foundation-fellow">Fellow</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/bounties">Bounties</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/conf">Conferences</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/login">Member Login</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<h6>Community</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="/chapters">Chapters</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://discuss.erpnext.com" target="_blank" >Forum</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/service-providers">Service Providers</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/erpnext-jobs">ERPNext Jobs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/apps">Apps</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://gitter.im/frappe/erpnext" target="_blank" >Chat (Gitter)</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/frappe/erpnext" target="_blank" >GitHub</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://erpnext.com" target="_blank" >ERPNext.com</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<h6>Documentation</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="/docs/user/manual">Manual</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.youtube.com/c/erpnext" target="_blank" >Video Tutorials</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/current">ERPNext Model & API</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h6>Find Us On</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="https://twitter.com/erpnext" target="_blank">Twitter</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.facebook.com/ERPNext/" target="_blank">Facebook</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://medium.com/frappé-thoughts/" target="_blank">Medium</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pt-3 mt-33 mt-33 mt-3 border-top">
|
||||
<span>© <span id="year"></span> ERPNext Open Source Software Foundation. Content licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank"> CC-BY-SA 3.0</a> Read the <a href="/terms" >Terms of use</a>.</span>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
frappe.ready(function() {
|
||||
var d = new Date();
|
||||
var currentYear = d.getFullYear();
|
||||
$("#year").text(currentYear);
|
||||
|
||||
$('.js-subscribe-form').on('submit', function(e) {
|
||||
e.preventDefault();
|
||||
const form = this;
|
||||
const formdata = new FormData(this);
|
||||
const email = formdata.get('email');
|
||||
|
||||
const input = $(form).find('input');
|
||||
const button = $(form).find('button');
|
||||
|
||||
erpnext.subscribe_to_newsletter({
|
||||
email,
|
||||
callback(r) {
|
||||
if (!r.exc) {
|
||||
form.reset();
|
||||
button.text('Added');
|
||||
setTimeout(() => {
|
||||
button.text('Subscribe');
|
||||
}, 3000);
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</footer>
|
||||
@@ -1,15 +1,15 @@
|
||||
{% extends base_template_path %}
|
||||
{% block hero %}{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page">
|
||||
<div class="page-container" id="page-{{ name or route }}"
|
||||
<div class="page px-3 pt-3">
|
||||
<div class="row" id="page-{{ name or route }}"
|
||||
data-path="{{ pathname }}" {%- if page_or_generator=="Generator" %} data-doctype="{{ doctype }}"{% endif %}>
|
||||
{% if show_sidebar %}
|
||||
<div class="sidebar-block">
|
||||
<div class="pt-3 col-sm-2 border-right">
|
||||
{% include "templates/includes/web_sidebar.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="{% if show_sidebar %}page-content with-sidebar{% elif doctype == 'Blog Post' %} blog-page {% else %}page-content without-sidebar{% endif %}">
|
||||
<div class="{% if show_sidebar %}pt-3 col-sm-10{% else %} col-sm-12 {% endif %}">
|
||||
<div class="page-content-wrapper">
|
||||
<div class="row page-head">
|
||||
<div class='col-sm-12'>
|
||||
|
||||
Reference in New Issue
Block a user