[IMP] website, *: improve CSS edition usability + add JS edition

* web_editor

Currently, when an user wants to edit the css of its website, he has
access to lots of files and, in debug mode, to even more files. While
the feature is nice for people who know what they are doing, a lambda
person can easily break its website by changing the wrong files. Also,
nothing warns the user that the files that are edited will never receive
updates anymore (unless if they are reset). The goal is to prevent
those behavior while still allowing the add custom css. Another goal
is to be able to *add* custom javascript.

Custom files created for the user:
SCSS: user_custom_rules.scss, user_custom_bootstrap_overridden.scss
JS: user_custom_javascript.js

See https://github.com/odoo/odoo/pull/29999
task-1919350
This commit is contained in:
Andrea Ulliana
2019-02-05 14:28:29 +00:00
committed by qsm-odoo
parent 7f2ce89554
commit 515e7bc50f
10 changed files with 327 additions and 210 deletions
@@ -0,0 +1 @@
// Here, you can add your custom JavaScript code.