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
|
||||
cp -r extensions/odoo_theme/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">
|
||||
{%- set main_classes = [] %}
|
||||
{%- 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 %}
|
||||
|
||||
{%- if 'code-column' in meta %} {# The page contains a 'memento' (dynamic side block) #}
|
||||
|
@ -378,7 +378,7 @@ header.o_main_header{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&.index, &.o_fullwidth_page, &.o_has_code_column {
|
||||
&.o_index, &.o_fullwidth_page, &.o_has_code_column {
|
||||
@include media-breakpoint-up(lg) {
|
||||
max-width: calc(100vw - (#{$o-side-nav-width} + var(--bs-gutter-x, 1rem)) );
|
||||
}
|
||||
@ -386,7 +386,7 @@ header.o_main_header{
|
||||
|
||||
// Homepage
|
||||
|
||||
&.index {
|
||||
&.o_index {
|
||||
.o_content_fw_banner {
|
||||
margin: -3rem -0.75rem 3rem;
|
||||
padding: 2rem 1rem;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* global Immutable, React */
|
||||
(function () {
|
||||
// NOTE VFE: used by memento.rst
|
||||
// NOTE: used by memento.rst
|
||||
'use strict';
|
||||
|
||||
function highlight(primary, secondary) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* global Immutable, React */
|
||||
/* global createAtom */
|
||||
(function () {
|
||||
// NOTE VFE: used by memento.rst
|
||||
// NOTE: used by memento.rst
|
||||
'use strict';
|
||||
|
||||
var data = createAtom();
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* global createAtom, findAncestor */
|
||||
(function () {
|
||||
'use strict';
|
||||
// NOTE VFE: memento.rst
|
||||
// NOTE: memento.rst
|
||||
|
||||
var data = createAtom();
|
||||
data.addWatch('chart', function (k, m, prev, next) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* global Immutable, React */
|
||||
/* global createAtom */
|
||||
(function () {
|
||||
// NOTE VFE: used for double_entry.rst file
|
||||
// NOTE: used for double_entry.rst file
|
||||
'use strict';
|
||||
|
||||
var data = createAtom();
|
||||
|
@ -6,7 +6,7 @@
|
||||
});
|
||||
|
||||
function highlight() {
|
||||
// NOTE VFE: used by double-entry.rst
|
||||
// NOTE: used by double-entry.rst
|
||||
$('.highlighter-list').each(function () {
|
||||
var $this = $(this),
|
||||
$target = $($this.data('target'));
|
||||
@ -34,7 +34,7 @@
|
||||
* - automatically select first control on startup
|
||||
*/
|
||||
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) {
|
||||
var $list = $(this),
|
||||
$contents = $list.children('dd');
|
||||
@ -67,7 +67,7 @@
|
||||
});
|
||||
}
|
||||
function checks_handling() {
|
||||
// NOTE VFE: used by memento.rst
|
||||
// NOTE: used by memento.rst
|
||||
var $section = $('.checks-handling');
|
||||
if (!$section.length) { return; }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
(function () {
|
||||
// NOTE VFE: memento.rst
|
||||
// NOTE: memento.rst
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var $rec = $('#reconciliation .reconciliation-example');
|
||||
if (!$rec.length) { return; }
|
||||
|
Loading…
Reference in New Issue
Block a user