From 60fcbb84c7955797cc8255a1681f17a7176b7975 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Wed, 19 Sep 2018 15:48:24 +0200 Subject: [PATCH] [MIG] base_fontawesome: Migration to 11.0 --- base_fontawesome/README.rst | 28 +- base_fontawesome/__manifest__.py | 6 +- base_fontawesome/readme/CONTRIBUTORS.rst | 2 + base_fontawesome/readme/DESCRIPTION.rst | 3 + base_fontawesome/readme/USAGE.rst | 10 + .../fontawesome-4.7.0/css/font-awesome.css | 2337 ---------- .../fontawesome-4.7.0/fonts/FontAwesome.otf | Bin 134808 -> 0 bytes .../fonts/fontawesome-webfont.eot | Bin 165742 -> 0 bytes .../fonts/fontawesome-webfont.svg | 2671 ------------ .../fonts/fontawesome-webfont.ttf | Bin 165548 -> 0 bytes .../fonts/fontawesome-webfont.woff | Bin 98024 -> 0 bytes .../fonts/fontawesome-webfont.woff2 | Bin 77160 -> 0 bytes .../static/lib/fontawesome-5.3.1/css/all.css | 3809 +++++++++++++++++ .../lib/fontawesome-5.3.1/css/v4-shims.css | 2170 ++++++++++ .../webfonts/fa-brands-400.eot | Bin 0 -> 118560 bytes .../webfonts/fa-brands-400.svg | 1154 +++++ .../webfonts/fa-brands-400.ttf | Bin 0 -> 118324 bytes .../webfonts/fa-brands-400.woff | Bin 0 -> 76344 bytes .../webfonts/fa-brands-400.woff2 | Bin 0 -> 65316 bytes .../webfonts/fa-regular-400.eot | Bin 0 -> 40576 bytes .../webfonts/fa-regular-400.svg | 467 ++ .../webfonts/fa-regular-400.ttf | Bin 0 -> 40348 bytes .../webfonts/fa-regular-400.woff | Bin 0 -> 18168 bytes .../webfonts/fa-regular-400.woff2 | Bin 0 -> 14868 bytes .../webfonts/fa-solid-900.eot | Bin 0 -> 180720 bytes .../webfonts/fa-solid-900.svg | 2444 +++++++++++ .../webfonts/fa-solid-900.ttf | Bin 0 -> 180500 bytes .../webfonts/fa-solid-900.woff | Bin 0 -> 86876 bytes .../webfonts/fa-solid-900.woff2 | Bin 0 -> 67400 bytes .../static/src/css/fontawesome.css | 17 + .../static/src/js/form_renderer.js | 55 + .../static/src/js/list_renderer.js | 34 + base_fontawesome/templates/assets.xml | 33 +- 33 files changed, 10207 insertions(+), 5033 deletions(-) create mode 100644 base_fontawesome/readme/CONTRIBUTORS.rst create mode 100644 base_fontawesome/readme/DESCRIPTION.rst create mode 100644 base_fontawesome/readme/USAGE.rst delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/css/font-awesome.css delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/fonts/FontAwesome.otf delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.eot delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.svg delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.ttf delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.woff delete mode 100644 base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.woff2 create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/css/all.css create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/css/v4-shims.css create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-brands-400.eot create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-brands-400.svg create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-brands-400.ttf create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-brands-400.woff create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-brands-400.woff2 create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-regular-400.eot create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-regular-400.svg create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-regular-400.ttf create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-regular-400.woff create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-regular-400.woff2 create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-solid-900.eot create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-solid-900.svg create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-solid-900.ttf create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-solid-900.woff create mode 100644 base_fontawesome/static/lib/fontawesome-5.3.1/webfonts/fa-solid-900.woff2 create mode 100644 base_fontawesome/static/src/css/fontawesome.css create mode 100644 base_fontawesome/static/src/js/form_renderer.js create mode 100644 base_fontawesome/static/src/js/list_renderer.js diff --git a/base_fontawesome/README.rst b/base_fontawesome/README.rst index 44b2dd14e..a80bba1fa 100644 --- a/base_fontawesome/README.rst +++ b/base_fontawesome/README.rst @@ -8,24 +8,21 @@ Base Fontawesome Provide up to date `Fontawesome `_ resources. -Current version: 4.7.0 (the version of this module matches it). +Current version: 5.3.1 (the version of this module matches it). -Installation and usage -====================== +Usage +===== -Install it as any other Odoo module. You'll get the standard Odoo Fontawesome assets -replaced with the updated version of this module. +Now, all free icons from `Font Awesome `_ +can be used on odoo. It also adds three options in order to add the icons: +* solid_icon +* regular_icon +* brand_icon +The usage depends on the configuration of the icon. -Then in your theme styles (or any other CSS file) you can benefit from latest FA features. - - -Roadmap -======= - -As of today Odoo v11 (master) is already shipping the latest version of FA. -In case they keep it up to date we can skip the migration of this module to v11. -Otherwise we can keep it and upgrade it to have always the most recent version. +For example, brand_icon is necessary if we are using an icon of a brand:: +