-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] runbot: rewrite stats page using owl
Removing very old javascript and using new tools will allow us to more efficiently change and maintain the stat page in the futur. This commit is meant to produce a 1:1 copy of the stats page like it was before. Further refactoring will happen to improve performance, layout and component logic.
- Loading branch information
1 parent
86810df
commit e43827a
Showing
17 changed files
with
790 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
odoo.define("@runbot/chartjs", [], function () { | ||
"use strict"; | ||
|
||
return Chart; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#wrapwrap:empty { | ||
content: 'This page required javascript to work'; | ||
} | ||
|
||
.chart-legend { | ||
max-height: calc(100vh - 160px); | ||
overflow-y: scroll; | ||
overflow-x: hidden; | ||
cursor: pointer; | ||
padding: 5px; | ||
|
||
.label { | ||
margin-left: 5px; | ||
font-weight: bold; | ||
} | ||
|
||
.disabled { | ||
.color { | ||
visibility: hidden; | ||
} | ||
|
||
.label { | ||
font-weight: normal; | ||
text-decoration: line-through; | ||
margin-left: 5px; | ||
} | ||
} | ||
|
||
ul { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
} |
Oops, something went wrong.