Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
15
web_quick_start_screen/static/src/js/kanban_controller.esm.js
Executable file
15
web_quick_start_screen/static/src/js/kanban_controller.esm.js
Executable file
@@ -0,0 +1,15 @@
|
||||
/* Copyright 2024 Tecnativa - David Vidal
|
||||
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
|
||||
import {ControlPanel} from "@web/search/control_panel/control_panel";
|
||||
import {kanbanView} from "@web/views/kanban/kanban_view";
|
||||
import {registry} from "@web/core/registry";
|
||||
|
||||
export class QuickStartScreenControlPanel extends ControlPanel {
|
||||
static template = "start_screen.ControlPanel";
|
||||
}
|
||||
|
||||
export const quickStartScreenView = {
|
||||
...kanbanView,
|
||||
ControlPanel: QuickStartScreenControlPanel,
|
||||
};
|
||||
registry.category("views").add("quick_start_screen", quickStartScreenView);
|
||||
12
web_quick_start_screen/static/src/js/start_screen_control_panel.xml
Executable file
12
web_quick_start_screen/static/src/js/start_screen_control_panel.xml
Executable file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<t
|
||||
t-name="start_screen.ControlPanel"
|
||||
t-inherit="web.ControlPanel"
|
||||
t-inherit-mode="primary"
|
||||
>
|
||||
<xpath expr="//div[hasclass('o_control_panel')]" position="attributes">
|
||||
<attribute name="class" add="d-none" separator=" " />
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
6
web_quick_start_screen/static/src/scss/quick_start_screen.scss
Executable file
6
web_quick_start_screen/static/src/scss/quick_start_screen.scss
Executable file
@@ -0,0 +1,6 @@
|
||||
// Set all the colors but the "no-color" one
|
||||
@for $size from 2 through length($o-colors) {
|
||||
.o_start_icon_color_#{$size - 1} {
|
||||
color: nth($o-colors, $size);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user