more cleaning
This commit is contained in:
parent
1157bdc6c6
commit
389f398956
11
Makefile
11
Makefile
@ -71,14 +71,3 @@ fast: html
|
|||||||
static: extensions/odoo_theme/static/style.css
|
static: extensions/odoo_theme/static/style.css
|
||||||
cp -r extensions/odoo_theme/static/* _build/html/_static/
|
cp -r extensions/odoo_theme/static/* _build/html/_static/
|
||||||
cp -r static/* _build/html/_static/
|
cp -r static/* _build/html/_static/
|
||||||
|
|
||||||
lang:
|
|
||||||
make fast LANGUAGES=en,fr CURRENT_LANG=en
|
|
||||||
make fast LANGUAGES=en,fr CURRENT_LANG=fr
|
|
||||||
|
|
||||||
version:
|
|
||||||
make fast CANONICAL_VERSION=12.0 VERSIONS=12.0,13.0,14.0,master
|
|
||||||
|
|
||||||
both:
|
|
||||||
make fast CANONICAL_VERSION=12.0 VERSIONS=12.0,13.0,14.0,master LANGUAGES=en,fr CURRENT_LANG=en
|
|
||||||
make fast CANONICAL_VERSION=12.0 VERSIONS=12.0,13.0,14.0,master LANGUAGES=en,fr CURRENT_LANG=fr
|
|
@ -76,7 +76,7 @@
|
|||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
{%- set main_classes = [] %}
|
{%- set main_classes = [] %}
|
||||||
{%- if pagename == master_doc %} {# The current page is the homepage #}
|
{%- if pagename == master_doc %} {# The current page is the homepage #}
|
||||||
{%- set main_classes = main_classes + ['index'] %} {# TODO EDI should be 'o_index' #}
|
{%- set main_classes = main_classes + ['o_index'] %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{%- if 'code-column' in meta %} {# The page contains a 'memento' (dynamic side block) #}
|
{%- if 'code-column' in meta %} {# The page contains a 'memento' (dynamic side block) #}
|
||||||
|
@ -378,7 +378,7 @@ header.o_main_header{
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.index, &.o_fullwidth_page, &.o_has_code_column {
|
&.o_index, &.o_fullwidth_page, &.o_has_code_column {
|
||||||
@include media-breakpoint-up(lg) {
|
@include media-breakpoint-up(lg) {
|
||||||
max-width: calc(100vw - (#{$o-side-nav-width} + var(--bs-gutter-x, 1rem)) );
|
max-width: calc(100vw - (#{$o-side-nav-width} + var(--bs-gutter-x, 1rem)) );
|
||||||
}
|
}
|
||||||
@ -386,7 +386,7 @@ header.o_main_header{
|
|||||||
|
|
||||||
// Homepage
|
// Homepage
|
||||||
|
|
||||||
&.index {
|
&.o_index {
|
||||||
.o_content_fw_banner {
|
.o_content_fw_banner {
|
||||||
margin: -3rem -0.75rem 3rem;
|
margin: -3rem -0.75rem 3rem;
|
||||||
padding: 2rem 1rem;
|
padding: 2rem 1rem;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* global Immutable, React */
|
/* global Immutable, React */
|
||||||
(function () {
|
(function () {
|
||||||
// NOTE VFE: used by memento.rst
|
// NOTE: used by memento.rst
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function highlight(primary, secondary) {
|
function highlight(primary, secondary) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* global Immutable, React */
|
/* global Immutable, React */
|
||||||
/* global createAtom */
|
/* global createAtom */
|
||||||
(function () {
|
(function () {
|
||||||
// NOTE VFE: used by memento.rst
|
// NOTE: used by memento.rst
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var data = createAtom();
|
var data = createAtom();
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/* global createAtom, findAncestor */
|
/* global createAtom, findAncestor */
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
// NOTE VFE: memento.rst
|
// NOTE: memento.rst
|
||||||
|
|
||||||
var data = createAtom();
|
var data = createAtom();
|
||||||
data.addWatch('chart', function (k, m, prev, next) {
|
data.addWatch('chart', function (k, m, prev, next) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* global Immutable, React */
|
/* global Immutable, React */
|
||||||
/* global createAtom */
|
/* global createAtom */
|
||||||
(function () {
|
(function () {
|
||||||
// NOTE VFE: used for double_entry.rst file
|
// NOTE: used for double_entry.rst file
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var data = createAtom();
|
var data = createAtom();
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
function highlight() {
|
function highlight() {
|
||||||
// NOTE VFE: used by double-entry.rst
|
// NOTE: used by double-entry.rst
|
||||||
$('.highlighter-list').each(function () {
|
$('.highlighter-list').each(function () {
|
||||||
var $this = $(this),
|
var $this = $(this),
|
||||||
$target = $($this.data('target'));
|
$target = $($this.data('target'));
|
||||||
@ -34,7 +34,7 @@
|
|||||||
* - automatically select first control on startup
|
* - automatically select first control on startup
|
||||||
*/
|
*/
|
||||||
function alternatives() {
|
function alternatives() {
|
||||||
// NOTE VFE: used by double-entry.rst & valuation_methods pages
|
// NOTE: used by double-entry.rst & valuation_methods pages
|
||||||
$('dl.alternatives').each(function (index) {
|
$('dl.alternatives').each(function (index) {
|
||||||
var $list = $(this),
|
var $list = $(this),
|
||||||
$contents = $list.children('dd');
|
$contents = $list.children('dd');
|
||||||
@ -67,7 +67,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
function checks_handling() {
|
function checks_handling() {
|
||||||
// NOTE VFE: used by memento.rst
|
// NOTE: used by memento.rst
|
||||||
var $section = $('.checks-handling');
|
var $section = $('.checks-handling');
|
||||||
if (!$section.length) { return; }
|
if (!$section.length) { return; }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
(function () {
|
(function () {
|
||||||
// NOTE VFE: memento.rst
|
// NOTE: memento.rst
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
var $rec = $('#reconciliation .reconciliation-example');
|
var $rec = $('#reconciliation .reconciliation-example');
|
||||||
if (!$rec.length) { return; }
|
if (!$rec.length) { return; }
|
||||||
|
Loading…
Reference in New Issue
Block a user