-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] web_favicon: pre-commit auto fixes
- Loading branch information
Showing
18 changed files
with
266 additions
and
185 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
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,16 @@ | ||
Upload your favicon (16x16, 32x32, 64x64 or "as big as possible") on the | ||
company form. The file format would be ico, gif or png with 16x16, 32x32 | ||
or 64x64 pixels and 16 colors. Highers resolutions or colors support | ||
depends on the used browser, but most modern browsers do. | ||
|
||
Note that most browsers cache favicons basically forever, so if you want | ||
your icon to show up, you'll most probably have to delete you browser | ||
cache. Some browsers can refresh the favicon, accessing the URL | ||
\<base_url\>/web_favicon/favicon. | ||
|
||
You have a sample SVG that can be used as template for generating your | ||
icon in /static/src/img/master_original_favicon.svg. You can also search | ||
for some favicon generators across the web. | ||
|
||
To allow a user to edit the favicon it has to be member of group | ||
"Administration / Settings". |
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,9 @@ | ||
This module was written to allow you to customize your Odoo instance's | ||
shortcut icon (aka favicon). This is useful for branding purposes, but | ||
also for integrators who have many different Odoo instances running and | ||
need to see at a glance which browser tab does what. | ||
|
||
The icon is shown also for portal users when the website modules are not | ||
installed. | ||
|
||
More info about favicon: <https://en.wikipedia.org/wiki/Favicon> |
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,8 @@ | ||
- Allow to upload some big icon (preferrably SVG or the like) and | ||
generate all the icons from it | ||
- Generate icons suitable for mobile devices and web apps (see | ||
/static/src/img/ folder inside the module for a sample of the possible | ||
current formats. | ||
- Put the icon definition at system level, not at company level. It | ||
doesn't make sense (as the icon is cached) to have a different icon | ||
per company. |
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
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
Oops, something went wrong.