flectra/doc/_extensions/flectra_ext/layout.html

359 lines
14 KiB
HTML

{% extends "basic/layout.html" %}
{% set script_files = script_files + [
'_static/jquery.min.js',
'_static/bootstrap.js',
'_static/doc.js',
'_static/jquery.noconflict.js',
] %}
{% set classes = [] %}
{% if pagename == master_doc %}
{% set classes = classes + ['index'] %}
{% endif %}
{% if 'code-column' in meta %}
{% set classes = classes + ['has_code_col'] %}
{% endif %}
{%- block doctype -%}
<!doctype html>
{%- endblock -%}
{%- block htmltitle -%}
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Work+Sans:500,600"
rel="stylesheet">
{{ super() }}
{%- endblock -%}
{%- block sidebar1 -%}{%- endblock -%}
{%- block sidebar2 -%}{%- endblock -%}
{%- block relbar1 -%}{%- endblock -%}
{%- block relbar2 -%}{%- endblock -%}
{%- block footer -%}
{%- if google_analytics_key -%}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ google_analytics_key }}', 'auto');
ga('send','pageview');
</script>
{%- endif -%}
{%- endblock -%}
{%- block header -%}
<header class="o_main_header o_has_sub_nav o_inverted {{ ' '.join(classes) }}">
<div class="o_main_header_main">
<a class="pull-left o_logo" href="https://flectrahq.com"></a>
<ul class="o_primary_nav">
<li class="dropdown">
</li>
</ul>
</div>
<nav class="navbar o_sub_nav">
<div class="container">
<div class="navbar-header visible-xs">
<button type="button"
class="navbar-toggle collapsed text-left btn-block"
data-toggle="collapse" data-target="#o_sub-menu"
aria-expanded="false">
Navigate
<span class="mdi-hardware-keyboard-arrow-down pull-right"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="o_sub-menu">
<ol class="o_breadcrumb breadcrumb nav navbar-left">
{% block breadcrumb_desktop %}
{% include "breadcrumb_list.html" %}
{% endblock %}
</ol>
<ul class="navbar-nav navbar-right nav o_sub_nav_actions">
{% if pagename != master_doc %}
<li class="divider"></li>
{% endif%}
{% block switchers_desktop %}
{% include "switchers_list.html" %}
{% endblock %}
</ul>
<ul class="nav navbar-nav navbar-right">
{% if languages or versions %}
<li class="divider"></li>
{% endif %}
{% if languages or versions %}
<li class="divider"></li>
{% endif %}
</ul>
</div>
</div>
</nav>
</header>
{%- endblock -%}
{%- block content -%}
<div id="wrap" class="{{' '.join(classes) }}">
{% if meta['banner'] %}
{% set has_banner = 'has_banner' %}
{% endif %}
<figure class="card top {{ has_banner }}">
<span class="card-img" {% if meta['banner'] %}style="background-image:
url('{{ pathto('_static/' + meta['banner'], True) }}');"{% endif
%}></span>
<div class="container text-center">
<h1> {{ meta.get('main-title', title) }} </h1>
</div>
</figure>
{% if 'code-column' in meta %}
{% set container = 'container-fluid' %}
{% else %}
{% set container = 'container' %}
{% endif %}
<main class="container {{ ' '.join(classes) }}">
{% if pagename != master_doc %}
<div class="o_content row">
{% if 'has-toc' not in meta and not (pagename in toc) %}
<aside>
<div class="navbar-aside text-center">
{{ toc }}
{% if github_link %}
<p class="gith-container"><a
href="{{ github_link(mode='edit') }}"
class="gith-link">
Edit on GitLab
</a></p>
{% endif %}
</div>
</aside>
{% endif %}
<article
class="doc-body {% if 'has-toc' in meta %}doc-toc{% endif %}{% if pagename in toc%}index-category{% endif %}">
{% endif %}
{% block body %} {% endblock %}
{% if pagename != master_doc %}
</article>
</div>
{% endif %}
<div id="mask"></div>
</main>
</div>
<div class="floating_action_container">
<a id="floating_action" class="ripple" href="#">
<i class="mdi-action-explore"></i>
</a>
<div id="floating_action_menu">
<span class="bubble"></span>
<ul class="list-group content">
<li class="list-group-item ripple"><a>Cras justo odio</a></li>
<li class="list-group-item ripple"><a>Dapibus ac facilisis in</a>
</li>
<li class="list-group-item ripple"><a>Morbi leo risus</a></li>
<li class="list-group-item ripple"><a>Porta ac consectetur ac</a>
</li>
<li class="list-group-item ripple"><a>Vestibulum at eros</a></li>
</ul>
</div>
</div>
<footer>
<div id="footer" class="container">
<div class="row mt48 mb48">
<div class="col-md-12 mb32">
<div class="col-md-3 col-sm-6">
<h3 class="">
Features
</h3>
<div class="">
<ul class="pad0">
<li>
<a href="https://flectrahq.com/crm">
CRM
</a>
</li>
<li>
<a href="https://flectrahq.com/sales">
Sales
</a>
</li>
<li>
<a href="https://flectrahq.com/accounting">
Accounting
</a>
</li>
<li>
<a href="https://flectrahq.com/purchase">
Purchase
</a>
</li>
<li>
<a href="https://flectrahq.com/inventory">
Inventory
</a>
</li>
</ul>
</div>
</div>
<div class="col-md-3 col-sm-6">
<h3 class="">
&nbsp;
</h3>
<div class="">
<ul class="pad0">
<li>
<a href="https://flectrahq.com/human-resource">
Human Resource
</a>
</li>
<li>
<a href="https://flectrahq.com/cms">
CMS
</a>
</li>
<li>
<a href="https://flectrahq.com/point-of-sale">
Point Of Sale
</a>
</li>
<li>
<a href="https://flectrahq.com/manufacturing">
Manufacturing
</a>
</li>
<li>
<a href="https://flectrahq.com/project-management">
Project Management
</a>
</li>
</ul>
</div>
</div>
<div class="col-md-3 col-sm-6">
<h3 class="">
Services
</h3>
<div class="">
<ul class="pad0">
<li>
<a href="https://flectrahq.com/flectra-erp-implementation">
Implementation
</a>
</li>
<li>
<a href="https://flectrahq.com/flectra-erp-development">
Development
</a>
</li>
<li>
<a href="https://flectrahq.com/flectra-erp-support">
Support
</a>
</li>
<li>
<a href="https://flectrahq.com/flectra-erp-training">
Training
</a>
</li>
<li>
<a href="https://flectrahq.com/flectra-release-note-1-0">
Release Notes
</a>
</li>
</ul>
</div>
</div>
<div class="col-md-3 col-sm-6">
<h3 class="">
&nbsp;
</h3>
<div class="">
<ul class="pad0">
<li>
<a href="https://doc.flectrahq.com/"
target="_blank">
Documentation
</a>
</li>
<li>
<a href="https://flectrahq.com/become-a-partner">
Become a partner
</a>
</li>
<li>
<a href="https://flectrahq.com/partners">
Partners
</a>
</li>
<li>
<a href="https://flectrahq.com/brand-assets">
Brand Assets
</a>
</li>
<li>
<a href="https://flectrahq.com/flectra-support-plan">
Support Plan
</a>
</li>
<li>
<a href="https://flectrahq.com/contactus">
Contact Us
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-12">
<hr>
<div class="social-btns text-center">
<div class="">
<a class="do-btn-round-outline facebook-footer btn"
href="https://www.facebook.com/flectrahq/"
target="_blank">
<span>Facebook</span>
</a>
<a class="do-btn-round-outline twitter-footer btn"
href="https://twitter.com/flectrahq"
target="_blank">
<span>Twitter</span>
</a>
</div>
</div>
<div class="text-center mt16 mb16 font-14px ext_page">
<a href="https://flectrahq.com/trademarks" class="ml8 mr8">
Trademarks
</a>
<a href="https://flectrahq.com/privacy-policy" class="ml8 mr8">
Privacy Policy
</a>
<a href="https://flectrahq.com/disclaimer" class="ml8 mr8">
Disclaimer
</a>
</div>
</div>
</div>
</div>
<div class="o_footer_bottom">
<div class="container">
<div class="social-links pull-right">
<a href="https://www.facebook.com/flectrahq"><i
class="fa fa-facebook"></i></a>
<a href="https://twitter.com/flectrahq"><i
class="fa fa-twitter"></i></a>
<a href="mailto:info@flectrahq.com"><i
class="fa fa-envelope"></i></a>
</div>
</div>
</div>
</footer>
{%- endblock -%}