Merge branch 'master' into 'master'
User Documentation Update See merge request flectra-hq/flectra!41
@ -9,21 +9,22 @@
|
|||||||
|
|
||||||
{% set classes = [] %}
|
{% set classes = [] %}
|
||||||
{% if pagename == master_doc %}
|
{% if pagename == master_doc %}
|
||||||
{% set classes = classes + ['index'] %}
|
{% set classes = classes + ['index'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'code-column' in meta %}
|
{% if 'code-column' in meta %}
|
||||||
{% set classes = classes + ['has_code_col'] %}
|
{% set classes = classes + ['has_code_col'] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- block doctype -%}
|
{%- block doctype -%}
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
{%- block htmltitle -%}
|
{%- block htmltitle -%}
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Work+Sans:500,600" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Work+Sans:500,600"
|
||||||
{{ super() }}
|
rel="stylesheet">
|
||||||
|
{{ super() }}
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
|
||||||
{%- block sidebar1 -%}{%- endblock -%}
|
{%- block sidebar1 -%}{%- endblock -%}
|
||||||
@ -32,8 +33,8 @@
|
|||||||
{%- block relbar2 -%}{%- endblock -%}
|
{%- block relbar2 -%}{%- endblock -%}
|
||||||
|
|
||||||
{%- block footer -%}
|
{%- block footer -%}
|
||||||
{%- if google_analytics_key -%}
|
{%- if google_analytics_key -%}
|
||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(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),
|
(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)
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
@ -41,160 +42,317 @@
|
|||||||
|
|
||||||
ga('create', '{{ google_analytics_key }}', 'auto');
|
ga('create', '{{ google_analytics_key }}', 'auto');
|
||||||
ga('send','pageview');
|
ga('send','pageview');
|
||||||
</script>
|
|
||||||
{%- endif -%}
|
</script>
|
||||||
|
{%- endif -%}
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
|
||||||
{%- block header -%}
|
{%- block header -%}
|
||||||
<header class="o_main_header o_has_sub_nav o_inverted {{ ' '.join(classes) }}">
|
<header class="o_main_header o_has_sub_nav o_inverted {{ ' '.join(classes) }}">
|
||||||
<div class="o_main_header_main">
|
<div class="o_main_header_main">
|
||||||
<a class="pull-left o_logo" href="https://flectrahq.com"></a>
|
<a class="pull-left o_logo" href="https://flectrahq.com"></a>
|
||||||
<ul class="o_primary_nav">
|
<ul class="o_primary_nav">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<nav class="navbar o_sub_nav">
|
<nav class="navbar o_sub_nav">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header visible-xs">
|
<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">
|
<button type="button"
|
||||||
Navigate
|
class="navbar-toggle collapsed text-left btn-block"
|
||||||
<span class="mdi-hardware-keyboard-arrow-down pull-right"></span>
|
data-toggle="collapse" data-target="#o_sub-menu"
|
||||||
</button>
|
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>
|
</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>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
|
||||||
{%- block content -%}
|
{%- block content -%}
|
||||||
<div id="wrap" class="{{' '.join(classes) }}">
|
<div id="wrap" class="{{' '.join(classes) }}">
|
||||||
{% if meta['banner'] %}
|
{% if meta['banner'] %}
|
||||||
{% set has_banner = 'has_banner' %}
|
{% set has_banner = 'has_banner' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<figure class="card top {{ has_banner }}">
|
<figure class="card top {{ has_banner }}">
|
||||||
<span class="card-img" {% if meta['banner'] %}style="background-image: url('{{ pathto('_static/' + meta['banner'], True) }}');"{% endif %}></span>
|
<span class="card-img" {% if meta['banner'] %}style="background-image:
|
||||||
<div class="container text-center">
|
url('{{ pathto('_static/' + meta['banner'], True) }}');"{% endif
|
||||||
<h1> {{ meta.get('main-title', title) }} </h1>
|
%}></span>
|
||||||
</div>
|
<div class="container text-center">
|
||||||
|
<h1> {{ meta.get('main-title', title) }} </h1>
|
||||||
|
</div>
|
||||||
</figure>
|
</figure>
|
||||||
{% if 'code-column' in meta %}
|
{% if 'code-column' in meta %}
|
||||||
{% set container = 'container-fluid' %}
|
{% set container = 'container-fluid' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set container = 'container' %}
|
{% set container = 'container' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<main class="container {{ ' '.join(classes) }}">
|
<main class="container {{ ' '.join(classes) }}">
|
||||||
{% if pagename != master_doc %}
|
{% if pagename != master_doc %}
|
||||||
<div class="o_content row">
|
<div class="o_content row">
|
||||||
{% if 'has-toc' not in meta and not (pagename in toc) %}
|
{% if 'has-toc' not in meta and not (pagename in toc) %}
|
||||||
<aside>
|
<aside>
|
||||||
<div class="navbar-aside text-center">
|
<div class="navbar-aside text-center">
|
||||||
{{ toc }}
|
{{ toc }}
|
||||||
{% if github_link %}
|
{% if github_link %}
|
||||||
<p class="gith-container"><a href="{{ github_link(mode='edit') }}" class="gith-link">
|
<p class="gith-container"><a
|
||||||
Edit on GitLab
|
href="{{ github_link(mode='edit') }}"
|
||||||
</a></p>
|
class="gith-link">
|
||||||
{% endif %}
|
Edit on GitLab
|
||||||
</div>
|
</a></p>
|
||||||
</aside>
|
{% endif %}
|
||||||
{% endif %}
|
</div>
|
||||||
<article class="doc-body {% if 'has-toc' in meta %}doc-toc{% endif %}{% if pagename in toc%}index-category{% endif %}">
|
</aside>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block body %} {% endblock %}
|
<article
|
||||||
{% if pagename != master_doc %}</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>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div id="mask"></div>
|
<div id="mask"></div>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="floating_action_container">
|
<div class="floating_action_container">
|
||||||
<a id="floating_action" class="ripple" href="#">
|
<a id="floating_action" class="ripple" href="#">
|
||||||
<i class="mdi-action-explore"></i>
|
<i class="mdi-action-explore"></i>
|
||||||
</a>
|
</a>
|
||||||
<div id="floating_action_menu">
|
<div id="floating_action_menu">
|
||||||
<span class="bubble"></span>
|
<span class="bubble"></span>
|
||||||
<ul class="list-group content">
|
<ul class="list-group content">
|
||||||
<li class="list-group-item ripple"><a>Cras justo odio</a></li>
|
<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>Dapibus ac facilisis in</a>
|
||||||
<li class="list-group-item ripple"><a>Morbi leo risus</a></li>
|
</li>
|
||||||
<li class="list-group-item ripple"><a>Porta ac consectetur ac</a></li>
|
<li class="list-group-item ripple"><a>Morbi leo risus</a></li>
|
||||||
<li class="list-group-item ripple"><a>Vestibulum at eros</a></li>
|
<li class="list-group-item ripple"><a>Porta ac consectetur ac</a>
|
||||||
</ul>
|
</li>
|
||||||
|
<li class="list-group-item ripple"><a>Vestibulum at eros</a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<div id="footer" class="container">
|
<div id="footer" class="container">
|
||||||
<span class="o_logo o_logo_inverse center-block o_footer_logo"></span>
|
<div class="row mt48 mb48">
|
||||||
<div class="row">
|
<div class="col-md-12 mb32">
|
||||||
<div class="col-sm-7 col-md-7 col-lg-6">
|
<div class="col-md-3 col-sm-6">
|
||||||
<div class="row">
|
<h3 class="">
|
||||||
<div class="col-xs-6 col-sm-4">
|
Features
|
||||||
<span class="menu_title">Community</span>
|
</h3>
|
||||||
<ul>
|
<div class="">
|
||||||
<li><a href="https://gitlab.com/flectra-hq/flectra">GitLab
|
<ul class="pad0">
|
||||||
</a></li>
|
<li>
|
||||||
<li><a href="https://flectrahq.com/download">Download</a></li>
|
<a href="https://flectrahq.com/crm">
|
||||||
<li class="divider"></li>
|
CRM
|
||||||
</ul>
|
</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="">
|
||||||
|
|
||||||
|
</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="">
|
||||||
|
|
||||||
|
</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>
|
||||||
<div class="col-xs-6 col-sm-4">
|
<div class="col-md-12">
|
||||||
<span class="menu_title">About us</span>
|
<hr>
|
||||||
<ul>
|
<div class="social-btns text-center">
|
||||||
<li><a href="https://flectrahq.com/contactus">Contact</a></li>
|
<div class="">
|
||||||
<li class="divider" />
|
<a class="do-btn-round-outline facebook-footer btn"
|
||||||
</ul>
|
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>
|
</div>
|
||||||
<div class="col-sm-5 col-md-4 col-md-offset-1 col-lg-5 col-lg-offset-1">
|
|
||||||
<p>
|
|
||||||
<small>
|
|
||||||
Flectra is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.
|
|
||||||
<br/><br/>
|
|
||||||
Flectra's unique value proposition is to be at the same time very easy to use and fully integrated.
|
|
||||||
</small>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="o_footer_bottom">
|
<div class="o_footer_bottom">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="social-links pull-right">
|
<div class="social-links pull-right">
|
||||||
<a href="https://www.facebook.com/flectrahq"><i class="fa fa-facebook"></i></a>
|
<a href="https://www.facebook.com/flectrahq"><i
|
||||||
<a href="https://twitter.com/flectrahq"><i class="fa fa-twitter"></i></a>
|
class="fa fa-facebook"></i></a>
|
||||||
<a href="mailto:info@flectra.com"><i class="fa fa-envelope"></i></a>
|
<a href="https://twitter.com/flectrahq"><i
|
||||||
|
class="fa fa-twitter"></i></a>
|
||||||
|
<a href="mailto:info@flectra.com"><i
|
||||||
|
class="fa fa-envelope"></i></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
@ -395,7 +395,7 @@ blockquote {
|
|||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
font-weight: @fw_semibold;
|
font-weight: @fw_semibold;
|
||||||
color: darken(@brand-primary, 30%);
|
color: darken(@brand-primary, 30%);
|
||||||
background-color: lighten(@brand-primary, 50%);
|
background-color: #bfe2ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
|
@ -129,8 +129,9 @@
|
|||||||
var half_cols_selector = '.tutorials,.api';
|
var half_cols_selector = '.tutorials,.api';
|
||||||
|
|
||||||
$main.find("#index .index-tree").find(half_cols_selector)
|
$main.find("#index .index-tree").find(half_cols_selector)
|
||||||
.wrap('<div class="o_half_col col-sm-6"/>')
|
.wrap('<div class="o_half_col col-sm-12"/>')
|
||||||
.find('.col-md-3').removeClass('col-md-3 col-sm-6').addClass('col-sm-12 col-md-6');
|
.find('.col-md-3').removeClass('col-md-3 col-sm-6')
|
||||||
|
.addClass('col-sm-12 col-md-3');
|
||||||
|
|
||||||
var half_cols_els = $main.find(".o_half_col");
|
var half_cols_els = $main.find(".o_half_col");
|
||||||
for(var i = 0; i < half_cols_els.length; i+=2) {
|
for(var i = 0; i < half_cols_els.length; i+=2) {
|
||||||
|
93
doc/_extensions/flectra_ext/static/fonts/Rubik/OFL.txt
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2015 The Rubik Project Authors,
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
doc/_extensions/flectra_ext/static/fonts/Rubik/Rubik-Black.ttf
Normal file
BIN
doc/_extensions/flectra_ext/static/fonts/Rubik/Rubik-Bold.ttf
Normal file
BIN
doc/_extensions/flectra_ext/static/fonts/Rubik/Rubik-Italic.ttf
Normal file
BIN
doc/_extensions/flectra_ext/static/fonts/Rubik/Rubik-Light.ttf
Normal file
BIN
doc/_extensions/flectra_ext/static/fonts/Rubik/Rubik-Medium.ttf
Normal file
BIN
doc/_extensions/flectra_ext/static/fonts/Rubik/Rubik-Regular.ttf
Normal file
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
||||||
html {
|
html {
|
||||||
font-family: sans-serif;
|
font-family:'Rubik', sans-serif;
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
@ -253,15 +253,19 @@ th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Glyphicons Halflings';
|
font-family: 'Rubik';
|
||||||
src: url('../fonts/glyphicons-halflings-regular.eot');
|
src: url('../fonts/glyphicons-halflings-regular.eot');
|
||||||
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
|
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
|
||||||
}
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Rubik';
|
||||||
|
src: url('../fonts/Rubik/Rubik-Medium.ttf') format('truetype');
|
||||||
|
}
|
||||||
.glyphicon {
|
.glyphicon {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: 'Glyphicons Halflings';
|
font-family:'Rubik', sans-serif;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@ -1071,7 +1075,7 @@ html {
|
|||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.42857143;
|
line-height: 1.42857143;
|
||||||
color: #373e42;
|
color: #373e42;
|
||||||
@ -1091,7 +1095,7 @@ a {
|
|||||||
}
|
}
|
||||||
a:hover,
|
a:hover,
|
||||||
a:focus {
|
a:focus {
|
||||||
color: #926485;
|
color: #c2e2fc;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a:focus {
|
a:focus {
|
||||||
@ -1174,7 +1178,7 @@ h6,
|
|||||||
.h4,
|
.h4,
|
||||||
.h5,
|
.h5,
|
||||||
.h6 {
|
.h6 {
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
color: #21313a;
|
color: #21313a;
|
||||||
@ -3410,7 +3414,7 @@ fieldset[disabled] .btn-link {
|
|||||||
}
|
}
|
||||||
.btn-link:hover,
|
.btn-link:hover,
|
||||||
.btn-link:focus {
|
.btn-link:focus {
|
||||||
color: #926485;
|
color: #c2e2fc;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@ -4728,7 +4732,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
|
|||||||
.pagination > li > a:focus,
|
.pagination > li > a:focus,
|
||||||
.pagination > li > span:focus {
|
.pagination > li > span:focus {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: #926485;
|
color: #c2e2fc;
|
||||||
background-color: #F2F2F2;
|
background-color: #F2F2F2;
|
||||||
border-color: #ddd;
|
border-color: #ddd;
|
||||||
}
|
}
|
||||||
@ -5964,7 +5968,7 @@ button.close {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1070;
|
z-index: 1070;
|
||||||
display: block;
|
display: block;
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
@ -6082,7 +6086,7 @@ button.close {
|
|||||||
display: none;
|
display: none;
|
||||||
max-width: 276px;
|
max-width: 276px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
@ -6350,7 +6354,7 @@ button.close {
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-family: serif;
|
font-family:'Rubik', sans-serif;
|
||||||
}
|
}
|
||||||
.carousel-control .icon-prev:before {
|
.carousel-control .icon-prev:before {
|
||||||
content: '\2039';
|
content: '\2039';
|
||||||
@ -9117,8 +9121,8 @@ button.close {
|
|||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 94.05px;
|
width: 200px;
|
||||||
height: 30px;
|
height: 90px;
|
||||||
background-size: auto 30px;
|
background-size: auto 30px;
|
||||||
}
|
}
|
||||||
.o_logo.center-block,
|
.o_logo.center-block,
|
||||||
@ -9546,24 +9550,24 @@ article.doc-body .code-fields ul em {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.card-img {
|
.card-img {
|
||||||
background: #75526b;
|
background: #2396f5;
|
||||||
background: -webkit-linear-gradient(99deg, #875A7B 10%, #62495B 90%);
|
background: -webkit-linear-gradient(99deg, #2396f5 10%, #0a599a 90%);
|
||||||
background: -moz-linear-gradient(99deg, #875A7B 10%, #62495B 90%);
|
background: -moz-linear-gradient(99deg, #2396f5 10%, #0a599a 90%);
|
||||||
background: -ms-linear-gradient(99deg, #875A7B 10%, #62495B 90%);
|
background: -ms-linear-gradient(99deg, #2396f5 10%, #0a599a 90%);
|
||||||
background: -o-linear-gradient(99deg, #875A7B 10%, #62495B 90%);
|
background: -o-linear-gradient(99deg, #2396f5 10%, #0a599a 90%);
|
||||||
background: linear-gradient(99deg, #875A7B 10%, #62495B 90%);
|
background: linear-gradient(99deg, #2396f5 10%, #0a599a 90%);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: auto;
|
left: auto;
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
right: 0;
|
right: 0;
|
||||||
-webkit-transform: translate3d(0, 0, 0);
|
-webkit-transform: translate3d(0, 0, 0);
|
||||||
transform: translate3d(0, 0, 0);
|
transform: translate3d(0, 0, 0);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: 50%;
|
background-position: 50%;
|
||||||
}
|
}
|
||||||
.card.top {
|
.card.top {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -9629,7 +9633,7 @@ article.doc-body .code-fields ul em {
|
|||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color: white;
|
color: white;
|
||||||
line-height: 0.9;
|
line-height: 4;
|
||||||
}
|
}
|
||||||
.card.top.has_banner {
|
.card.top.has_banner {
|
||||||
background: #282F33;
|
background: #282F33;
|
||||||
@ -9670,7 +9674,7 @@ main .alert h3.alert-title {
|
|||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
margin: 0 0 5px;
|
margin: 0 0 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
color: #438fa5;
|
color: #438fa5;
|
||||||
}
|
}
|
||||||
main .alert h3.alert-title:before {
|
main .alert h3.alert-title:before {
|
||||||
@ -9794,12 +9798,12 @@ span.menuselection {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
font-family:'Rubik', sans-serif;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
blockquote footer {
|
blockquote footer {
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color: #373e42;
|
color: #373e42;
|
||||||
@ -9819,7 +9823,7 @@ code {
|
|||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #0a352d;
|
color: #0a352d;
|
||||||
background-color: #def9f4;
|
background-color: #bfe2ff;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -10124,6 +10128,7 @@ article.doc-toc .toctree-wrapper > ul > li > span {
|
|||||||
@media screen and (min-width: 992px) {
|
@media screen and (min-width: 992px) {
|
||||||
#wrap.index > .card.top {
|
#wrap.index > .card.top {
|
||||||
padding: 10% 0 2%;
|
padding: 10% 0 2%;
|
||||||
|
min-height: 350px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#wrap.index > main.index {
|
#wrap.index > main.index {
|
||||||
@ -10135,13 +10140,13 @@ article.doc-toc .toctree-wrapper > ul > li > span {
|
|||||||
}
|
}
|
||||||
main.index .toc-section h2 {
|
main.index .toc-section h2 {
|
||||||
padding: 0 0 4px;
|
padding: 0 0 4px;
|
||||||
border-bottom: 1px solid #F2F2F2;
|
border-bottom: 1px solid #cecece;
|
||||||
margin: 1.4em 0 0.8em;
|
margin: 1.4em 0 0.8em;
|
||||||
font-size: 16px;
|
font-size: 20px;
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #888888;
|
color: #333;
|
||||||
}
|
}
|
||||||
main.index .card {
|
main.index .card {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
@ -10219,11 +10224,11 @@ main.index .card figcaption {
|
|||||||
.o_main_header {
|
.o_main_header {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50px;
|
height: 100px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background-color: rgba(255, 255, 255, 0.6);
|
background-color: rgba(255, 255, 255, 0.6);
|
||||||
color: #2b3134;
|
color: #2b3134;
|
||||||
font-family: "Work Sans", sans-serif;
|
font-family:'Rubik', sans-serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
-webkit-transition: all 0.2s ease;
|
-webkit-transition: all 0.2s ease;
|
||||||
-o-transition: all 0.2s ease;
|
-o-transition: all 0.2s ease;
|
||||||
@ -10286,12 +10291,7 @@ main.index .card figcaption {
|
|||||||
color: #273239;
|
color: #273239;
|
||||||
}
|
}
|
||||||
.o_main_header > .o_main_header_main .o_logo {
|
.o_main_header > .o_main_header_main .o_logo {
|
||||||
//margin: 15px 0;
|
|
||||||
// width: 63px;
|
|
||||||
//height: 20px;
|
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
width: 7%;
|
|
||||||
height: 75%;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
.o_main_header > .o_main_header_main > .o_primary_nav {
|
.o_main_header > .o_main_header_main > .o_primary_nav {
|
||||||
@ -10375,13 +10375,13 @@ main.index .card figcaption {
|
|||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
}
|
}
|
||||||
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a {
|
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a {
|
||||||
color: #9E588B !important;
|
color: #bfe2ff !important;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a::before,
|
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a::before,
|
||||||
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a::after {
|
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a::after {
|
||||||
background-color: #9E588B !important;
|
background-color: #bfe2ff !important;
|
||||||
box-shadow: 0 1px 1px rgba(158, 88, 139, 0.1);
|
box-shadow: 0 1px 1px rgba(191, 226, 255, 0.1);
|
||||||
right: 3.53553391px;
|
right: 3.53553391px;
|
||||||
}
|
}
|
||||||
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a::before {
|
.o_main_header > .o_main_header_main > .o_primary_nav .dropdown.open > a::before {
|
||||||
@ -10881,7 +10881,7 @@ main.index .card figcaption {
|
|||||||
-webkit-transition: 0.3s background-color;
|
-webkit-transition: 0.3s background-color;
|
||||||
-o-transition: 0.3s background-color;
|
-o-transition: 0.3s background-color;
|
||||||
transition: 0.3s background-color;
|
transition: 0.3s background-color;
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
background-color: rgba(255, 255, 255, 0.3);
|
||||||
border-color: rgba(255, 255, 255, 0.1);
|
border-color: rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
.o_main_header.o_inverted:not(.o_scrolled) > .o_sub_nav .nav > li > a,
|
.o_main_header.o_inverted:not(.o_scrolled) > .o_sub_nav .nav > li > a,
|
||||||
@ -10900,7 +10900,7 @@ main.index .card figcaption {
|
|||||||
}
|
}
|
||||||
.o_main_header.o_has_sub_nav.o_scrolled {
|
.o_main_header.o_has_sub_nav.o_scrolled {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: -51px;
|
top: -104px;
|
||||||
}
|
}
|
||||||
.o_main_header.o_inverted {
|
.o_main_header.o_inverted {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -11235,7 +11235,6 @@ body > footer .o_footer_bottom {
|
|||||||
background-color: #21272b;
|
background-color: #21272b;
|
||||||
color: #dcddde;
|
color: #dcddde;
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
margin-top: 3em;
|
|
||||||
}
|
}
|
||||||
body > footer .o_footer_bottom a {
|
body > footer .o_footer_bottom a {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
@ -11248,6 +11247,63 @@ body > footer .o_footer_bottom a:hover {
|
|||||||
body > footer .o_footer_bottom .social-links .fa {
|
body > footer .o_footer_bottom .social-links .fa {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body > footer a{
|
||||||
|
font-family:'Rubik', sans-serif;
|
||||||
|
}
|
||||||
|
body > footer h1,
|
||||||
|
body > footer h2,
|
||||||
|
body > footer h3,
|
||||||
|
body > footer h4,
|
||||||
|
body > footer h5,
|
||||||
|
body > footer h6{
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
body > footer ul li {
|
||||||
|
font-size: 14px;
|
||||||
|
list-style-type: none;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
.mb16 {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
.mt16 {
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.mb32 {
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
.mb48 {
|
||||||
|
margin-bottom: 48px;
|
||||||
|
}
|
||||||
|
.mt48 {
|
||||||
|
margin-top: 48px;
|
||||||
|
}
|
||||||
|
.social-btns .facebook-footer {
|
||||||
|
background: #3b5998;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 25px;
|
||||||
|
height: 40px;
|
||||||
|
width: 126px;
|
||||||
|
line-height: 38px;
|
||||||
|
}
|
||||||
|
.social-btns .twitter-footer {
|
||||||
|
background: #00aced;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 25px;
|
||||||
|
height: 40px;
|
||||||
|
width: 126px;
|
||||||
|
line-height: 38px;
|
||||||
|
}
|
||||||
|
.mr8 {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
.ml8 {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
@ -11269,7 +11325,7 @@ aside {
|
|||||||
.navbar-aside {
|
.navbar-aside {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@ -11314,7 +11370,7 @@ aside {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family:'Rubik', sans-serif;
|
||||||
}
|
}
|
||||||
.navbar-aside .gith-container .gith-link:hover {
|
.navbar-aside .gith-container .gith-link:hover {
|
||||||
color: #21313a;
|
color: #21313a;
|
||||||
@ -11433,7 +11489,7 @@ aside {
|
|||||||
.navbar-aside > ul > li.active > a,
|
.navbar-aside > ul > li.active > a,
|
||||||
.navbar-aside > ul > li.active:focus > a,
|
.navbar-aside > ul > li.active:focus > a,
|
||||||
.navbar-aside > ul > li.active:hover > a {
|
.navbar-aside > ul > li.active:hover > a {
|
||||||
border-left: 3px solid #21b799;
|
border-left: 3px solid #2fa2dc;
|
||||||
}
|
}
|
||||||
.navbar-aside > ul > li.active.parent + li {
|
.navbar-aside > ul > li.active.parent + li {
|
||||||
box-shadow: 0 -3px 5px -4px rgba(40, 47, 51, 0.4);
|
box-shadow: 0 -3px 5px -4px rgba(40, 47, 51, 0.4);
|
||||||
@ -11678,7 +11734,7 @@ aside {
|
|||||||
.o_main_header > .o_sub_nav #o_sub-menu .o_breadcrumb {
|
.o_main_header > .o_sub_nav #o_sub-menu .o_breadcrumb {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0 0 0 -15px;
|
margin: 0px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// ==============================================
|
// ==============================================
|
||||||
|
|
||||||
@flectra-brand-optional : #21b799;
|
@flectra-brand-optional : #21b799;
|
||||||
@flectra-brand-primary : #9E588B;
|
@flectra-brand-primary : #bfe2ff;
|
||||||
|
|
||||||
//== Flectra Colours
|
//== Flectra Colours
|
||||||
@o-violet-dark : #875A7B;
|
@o-violet-dark : #875A7B;
|
||||||
|
@ -7,7 +7,7 @@ from werkzeug import urls
|
|||||||
from flectra.tools import pycompat
|
from flectra.tools import pycompat
|
||||||
|
|
||||||
"""
|
"""
|
||||||
* adds github_link(mode) context variable: provides URL (in relevant mode) of
|
* adds gitlab_link(mode) context variable: provides URL (in relevant mode) of
|
||||||
current document on github
|
current document on github
|
||||||
* if sphinx.ext.linkcode is enabled, automatically generates github linkcode
|
* if sphinx.ext.linkcode is enabled, automatically generates github linkcode
|
||||||
links (by setting config.linkcode_resolve)
|
links (by setting config.linkcode_resolve)
|
||||||
@ -15,30 +15,30 @@ from flectra.tools import pycompat
|
|||||||
Settings
|
Settings
|
||||||
========
|
========
|
||||||
|
|
||||||
* ``github_user``, username/organisation under which the project lives
|
* ``gitlab_user``, username/organisation under which the project lives
|
||||||
* ``github_project``, name of the project on github
|
* ``gitlab_project``, name of the project on gitlab
|
||||||
* (optional) ``version``, github branch to link to (default: master)
|
* (optional) ``version``, gitlab branch to link to (default: master)
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
=====
|
=====
|
||||||
|
|
||||||
* provided ``linkcode_resolve`` only supports Python domain
|
* provided ``linkcode_resolve`` only supports Python domain
|
||||||
* generates https github links
|
* generates https gitlab links
|
||||||
* explicitly imports ``flectra``, so useless for anyone else
|
* explicitly imports ``flectra``, so useless for anyone else
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
app.add_config_value('github_user', None, 'env')
|
app.add_config_value('gitlab_user', None, 'env')
|
||||||
app.add_config_value('github_project', None, 'env')
|
app.add_config_value('gitlab_project', None, 'env')
|
||||||
app.connect('html-page-context', add_doc_link)
|
app.connect('html-page-context', add_doc_link)
|
||||||
|
|
||||||
def linkcode_resolve(domain, info):
|
def linkcode_resolve(domain, info):
|
||||||
""" Resolves provided object to corresponding github URL
|
""" Resolves provided object to corresponding gitlab URL
|
||||||
"""
|
"""
|
||||||
# TODO: js?
|
# TODO: js?
|
||||||
if domain != 'py':
|
if domain != 'py':
|
||||||
return None
|
return None
|
||||||
if not (app.config.github_user and app.config.github_project):
|
if not (app.config.gitlab_user and app.config.gitlab_project):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
module, fullname = info['module'], info['fullname']
|
module, fullname = info['module'], info['fullname']
|
||||||
@ -68,18 +68,18 @@ def setup(app):
|
|||||||
import flectra
|
import flectra
|
||||||
# FIXME: make finding project root project-independent
|
# FIXME: make finding project root project-independent
|
||||||
project_root = os.path.join(os.path.dirname(flectra.__file__), '..')
|
project_root = os.path.join(os.path.dirname(flectra.__file__), '..')
|
||||||
return make_github_link(
|
return make_gitlab_link(
|
||||||
app,
|
app,
|
||||||
os.path.relpath(obj_source_path, project_root),
|
os.path.relpath(obj_source_path, project_root),
|
||||||
line)
|
line)
|
||||||
app.config.linkcode_resolve = linkcode_resolve
|
app.config.linkcode_resolve = linkcode_resolve
|
||||||
|
|
||||||
def make_github_link(app, path, line=None, mode="blob"):
|
def make_gitlab_link(app, path, line=None, mode="blob"):
|
||||||
config = app.config
|
config = app.config
|
||||||
|
|
||||||
urlpath = "/{user}/{project}/{mode}/{branch}/{path}".format(
|
urlpath = "/{user}/{project}/{mode}/{branch}/{path}".format(
|
||||||
user=config.github_user,
|
user=config.gitlab_user,
|
||||||
project=config.github_project,
|
project=config.gitlab_project,
|
||||||
branch=config.version or 'master',
|
branch=config.version or 'master',
|
||||||
path=path,
|
path=path,
|
||||||
mode=mode,
|
mode=mode,
|
||||||
@ -93,8 +93,8 @@ def make_github_link(app, path, line=None, mode="blob"):
|
|||||||
))
|
))
|
||||||
|
|
||||||
def add_doc_link(app, pagename, templatename, context, doctree):
|
def add_doc_link(app, pagename, templatename, context, doctree):
|
||||||
""" Add github_link function linking to the current page on github """
|
""" Add gitlab_link function linking to the current page on gitlab """
|
||||||
if not app.config.github_user and app.config.github_project:
|
if not app.config.gitlab_user and app.config.gitlab_project:
|
||||||
return
|
return
|
||||||
|
|
||||||
# FIXME: find other way to recover current document's source suffix
|
# FIXME: find other way to recover current document's source suffix
|
||||||
@ -103,5 +103,5 @@ def add_doc_link(app, pagename, templatename, context, doctree):
|
|||||||
source_suffix = app.config.source_suffix
|
source_suffix = app.config.source_suffix
|
||||||
source_suffix = source_suffix if isinstance(source_suffix, pycompat.string_types) else source_suffix[0]
|
source_suffix = source_suffix if isinstance(source_suffix, pycompat.string_types) else source_suffix[0]
|
||||||
# can't use functools.partial because 3rd positional is line not mode
|
# can't use functools.partial because 3rd positional is line not mode
|
||||||
context['github_link'] = lambda mode='edit': make_github_link(
|
context['github_link'] = lambda mode='edit': make_gitlab_link(
|
||||||
app, 'doc/%s%s' % (pagename, source_suffix), mode=mode)
|
app, 'doc/%s%s' % (pagename, source_suffix), mode=mode)
|
BIN
doc/_static/banners/actions.jpg
vendored
Before Width: | Height: | Size: 100 KiB |
BIN
doc/_static/banners/actions.small.jpg
vendored
Before Width: | Height: | Size: 30 KiB |
BIN
doc/_static/banners/build_a_module.jpg
vendored
Before Width: | Height: | Size: 107 KiB |
BIN
doc/_static/banners/build_a_module.small.jpg
vendored
Before Width: | Height: | Size: 42 KiB |
BIN
doc/_static/banners/build_a_theme.jpg
vendored
Before Width: | Height: | Size: 84 KiB |
BIN
doc/_static/banners/build_a_theme.small.jpg
vendored
Before Width: | Height: | Size: 33 KiB |
BIN
doc/_static/banners/build_a_website.jpg
vendored
Before Width: | Height: | Size: 83 KiB |
BIN
doc/_static/banners/build_a_website.small.jpg
vendored
Before Width: | Height: | Size: 22 KiB |
BIN
doc/_static/banners/build_interface_ext.jpg
vendored
Before Width: | Height: | Size: 176 KiB |
BIN
doc/_static/banners/build_interface_ext.small.jpg
vendored
Before Width: | Height: | Size: 47 KiB |
BIN
doc/_static/banners/cdn.jpg
vendored
Before Width: | Height: | Size: 65 KiB |
BIN
doc/_static/banners/cdn.small.jpg
vendored
Before Width: | Height: | Size: 25 KiB |
BIN
doc/_static/banners/cmdline.jpg
vendored
Before Width: | Height: | Size: 82 KiB |
BIN
doc/_static/banners/cmdline.small.jpg
vendored
Before Width: | Height: | Size: 28 KiB |
BIN
doc/_static/banners/data_files.jpg
vendored
Before Width: | Height: | Size: 86 KiB |
BIN
doc/_static/banners/data_files.small.jpg
vendored
Before Width: | Height: | Size: 34 KiB |
BIN
doc/_static/banners/deploying_odoo.jpg
vendored
Before Width: | Height: | Size: 139 KiB |
BIN
doc/_static/banners/deploying_odoo.small.jpg
vendored
Before Width: | Height: | Size: 50 KiB |
BIN
doc/_static/banners/enterprise.jpg
vendored
Before Width: | Height: | Size: 134 KiB |
BIN
doc/_static/banners/enterprise.small.jpg
vendored
Before Width: | Height: | Size: 36 KiB |
BIN
doc/_static/banners/flectra_actions.jpg
vendored
Normal file
After Width: | Height: | Size: 274 KiB |
BIN
doc/_static/banners/flectra_building_interface_extensions.jpg
vendored
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
doc/_static/banners/flectra_building_module.jpg
vendored
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
doc/_static/banners/flectra_building_website.jpg
vendored
Normal file
After Width: | Height: | Size: 142 KiB |
BIN
doc/_static/banners/flectra_command_line_interface.jpg
vendored
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
doc/_static/banners/flectra_creating_localization.jpg
vendored
Normal file
After Width: | Height: | Size: 210 KiB |
BIN
doc/_static/banners/flectra_data_files.jpg
vendored
Normal file
After Width: | Height: | Size: 319 KiB |
BIN
doc/_static/banners/flectra_deploying.jpg
vendored
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
doc/_static/banners/flectra_external_api.jpg
vendored
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
doc/_static/banners/flectra_guidelines.jpg
vendored
Normal file
After Width: | Height: | Size: 199 KiB |
BIN
doc/_static/banners/flectra_index.jpg
vendored
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
doc/_static/banners/flectra_installing.jpg
vendored
Normal file
After Width: | Height: | Size: 144 KiB |
BIN
doc/_static/banners/flectra_javascript.jpg
vendored
Normal file
After Width: | Height: | Size: 185 KiB |
BIN
doc/_static/banners/flectra_mixins_and_useful_classes.jpg
vendored
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
doc/_static/banners/flectra_modules .jpg
vendored
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
doc/_static/banners/flectra_modules.jpg
vendored
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
doc/_static/banners/flectra_orm_api.jpg
vendored
Normal file
After Width: | Height: | Size: 327 KiB |
BIN
doc/_static/banners/flectra_qweb.jpg
vendored
Normal file
After Width: | Height: | Size: 142 KiB |
BIN
doc/_static/banners/flectra_qweb_reports.jpg
vendored
Normal file
After Width: | Height: | Size: 186 KiB |
BIN
doc/_static/banners/flectra_security.jpg
vendored
Normal file
After Width: | Height: | Size: 232 KiB |
BIN
doc/_static/banners/flectra_testing_modules.jpg
vendored
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
doc/_static/banners/flectra_theme_tutorial.jpg
vendored
Normal file
After Width: | Height: | Size: 156 KiB |
BIN
doc/_static/banners/flectra_translating_modules.jpg
vendored
Normal file
After Width: | Height: | Size: 287 KiB |
BIN
doc/_static/banners/flectra_views.jpg
vendored
Normal file
After Width: | Height: | Size: 127 KiB |
BIN
doc/_static/banners/flectra_web_controllers.jpg
vendored
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
doc/_static/banners/iap.jpg
vendored
Before Width: | Height: | Size: 48 KiB |
BIN
doc/_static/banners/iap.small.jpg
vendored
Before Width: | Height: | Size: 27 KiB |
BIN
doc/_static/banners/index.jpg
vendored
Before Width: | Height: | Size: 133 KiB |
BIN
doc/_static/banners/installing_odoo.jpg
vendored
Before Width: | Height: | Size: 102 KiB |
BIN
doc/_static/banners/installing_odoo.small.jpg
vendored
Before Width: | Height: | Size: 36 KiB |
BIN
doc/_static/banners/javascript.jpg
vendored
Before Width: | Height: | Size: 173 KiB |
BIN
doc/_static/banners/javascript.small.jpg
vendored
Before Width: | Height: | Size: 59 KiB |
BIN
doc/_static/banners/localization.jpg
vendored
Before Width: | Height: | Size: 1.7 MiB |
BIN
doc/_static/banners/m_1.small.jpg
vendored
Before Width: | Height: | Size: 65 KiB |
BIN
doc/_static/banners/m_2.small.jpg
vendored
Before Width: | Height: | Size: 31 KiB |
BIN
doc/_static/banners/m_accounting.small.jpg
vendored
Before Width: | Height: | Size: 46 KiB |
BIN
doc/_static/banners/mixins.jpg
vendored
Before Width: | Height: | Size: 89 KiB |
BIN
doc/_static/banners/mixins.small.jpg
vendored
Before Width: | Height: | Size: 42 KiB |
BIN
doc/_static/banners/mobile.jpg
vendored
Before Width: | Height: | Size: 195 KiB |
BIN
doc/_static/banners/module.jpg
vendored
Before Width: | Height: | Size: 183 KiB |
BIN
doc/_static/banners/module.small.jpg
vendored
Before Width: | Height: | Size: 54 KiB |
BIN
doc/_static/banners/odoo_guideline.jpg
vendored
Before Width: | Height: | Size: 140 KiB |
BIN
doc/_static/banners/odoo_guideline.small.jpg
vendored
Before Width: | Height: | Size: 43 KiB |
BIN
doc/_static/banners/orm_api.jpg
vendored
Before Width: | Height: | Size: 156 KiB |
BIN
doc/_static/banners/orm_api.small.jpg
vendored
Before Width: | Height: | Size: 47 KiB |
BIN
doc/_static/banners/qweb.jpg
vendored
Before Width: | Height: | Size: 253 KiB |
BIN
doc/_static/banners/qweb.small.jpg
vendored
Before Width: | Height: | Size: 24 KiB |
BIN
doc/_static/banners/reports.jpg
vendored
Before Width: | Height: | Size: 135 KiB |
BIN
doc/_static/banners/reports.small.jpg
vendored
Before Width: | Height: | Size: 46 KiB |
BIN
doc/_static/banners/security.jpg
vendored
Before Width: | Height: | Size: 104 KiB |
BIN
doc/_static/banners/security.small.jpg
vendored
Before Width: | Height: | Size: 32 KiB |
BIN
doc/_static/banners/testing_modules.jpg
vendored
Before Width: | Height: | Size: 124 KiB |
BIN
doc/_static/banners/testing_modules.small.jpg
vendored
Before Width: | Height: | Size: 28 KiB |
BIN
doc/_static/banners/translate.jpg
vendored
Before Width: | Height: | Size: 161 KiB |
BIN
doc/_static/banners/translate.small.jpg
vendored
Before Width: | Height: | Size: 45 KiB |
BIN
doc/_static/banners/upgrade_api.jpg
vendored
Before Width: | Height: | Size: 87 KiB |
BIN
doc/_static/banners/views.jpg
vendored
Before Width: | Height: | Size: 81 KiB |
BIN
doc/_static/banners/views.small.jpg
vendored
Before Width: | Height: | Size: 24 KiB |
BIN
doc/_static/banners/web_controllers.jpg
vendored
Before Width: | Height: | Size: 140 KiB |
BIN
doc/_static/banners/web_controllers.small.jpg
vendored
Before Width: | Height: | Size: 48 KiB |
BIN
doc/_static/banners/web_service_api.jpg
vendored
Before Width: | Height: | Size: 244 KiB |
BIN
doc/_static/banners/web_service_api.small.jpg
vendored
Before Width: | Height: | Size: 69 KiB |
@ -26,7 +26,7 @@ extensions = [
|
|||||||
'sphinx.ext.intersphinx',
|
'sphinx.ext.intersphinx',
|
||||||
'sphinx.ext.linkcode',
|
'sphinx.ext.linkcode',
|
||||||
'autojsdoc.ext',
|
'autojsdoc.ext',
|
||||||
'github_link',
|
'gitlab_link',
|
||||||
'flectra_ext',
|
'flectra_ext',
|
||||||
'html_domain',
|
'html_domain',
|
||||||
'exercise_admonition',
|
'exercise_admonition',
|
||||||
@ -95,7 +95,7 @@ pygments_style = 'flectra'
|
|||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
html_theme = 'flectra_ext'
|
html_theme = 'flectra_ext'
|
||||||
|
|
||||||
flectra_cover_default = 'banners/installing_flectra.jpg'
|
flectra_cover_default = 'banners/flectra_modules.jpg'
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
# Theme options are theme-specific and customize the look and feel of a theme
|
||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
@ -184,8 +184,8 @@ intersphinx_mapping = {
|
|||||||
'django': ('https://django.readthedocs.org/en/latest/', None),
|
'django': ('https://django.readthedocs.org/en/latest/', None),
|
||||||
}
|
}
|
||||||
|
|
||||||
github_user = 'flectra'
|
gitlab_user = 'flectra-hq'
|
||||||
github_project = 'flectra'
|
gitlab_project = 'flectra'
|
||||||
|
|
||||||
# monkeypatch PHP lexer to not require <?php
|
# monkeypatch PHP lexer to not require <?php
|
||||||
from sphinx.highlighting import lexers
|
from sphinx.highlighting import lexers
|
||||||
|