-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
officejs: stop using unsafe web section in echarts gadget
To work 100% this needs "style-src: unsafe-inline" in the CSP, without this the popup on hover does not show the series color - which in our case is better than using the CSP. also drop obsolete appcache, browsers no longer use this. reference ossie: apache/echarts#16610 on github
- Loading branch information
1 parent
948998a
commit 50f5cc7
Showing
4 changed files
with
46 additions
and
64 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_field_graph_echarts_css.css
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,13 @@ | ||
html { | ||
height: 300px; | ||
} | ||
|
||
body { | ||
height: 100%; | ||
margin: 0; | ||
} | ||
|
||
.graph-content { | ||
height: 95%; | ||
width: 95%; | ||
} |
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
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