Browse Source

[add] base_fontawesome (#866)

pull/1361/head
Simone Orsi 7 years ago
committed by Enric Tobella
parent
commit
9131dbd76c
No known key found for this signature in database GPG Key ID: 1A2546A1B7BA2451
  1. 61
      base_fontawesome/README.rst
  2. 0
      base_fontawesome/__init__.py
  3. 17
      base_fontawesome/__openerp__.py
  4. BIN
      base_fontawesome/static/description/icon.png
  5. 2337
      base_fontawesome/static/lib/fontawesome-4.7.0/css/font-awesome.css
  6. BIN
      base_fontawesome/static/lib/fontawesome-4.7.0/fonts/FontAwesome.otf
  7. BIN
      base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.eot
  8. 2671
      base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.svg
  9. BIN
      base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.ttf
  10. BIN
      base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.woff
  11. BIN
      base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.woff2
  12. 14
      base_fontawesome/templates/assets.xml

61
base_fontawesome/README.rst

@ -0,0 +1,61 @@
.. image:: https://img.shields.io/badge/licence-lgpl--3-blue.svg
:target: http://www.gnu.org/licenses/LGPL-3.0-standalone.html
:alt: License: LGPL-3
================
Base Fontawesome
================
Provide up to date `Fontawesome <http://fontawesome.io/>`_ resources.
Current version: 4.7.0 (the version of this module matches it).
Installation and usage
======================
Install it as any other Odoo module. You'll get the standard Odoo Fontawesome assets
replaced with the updated version of this module.
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.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_. In
case of trouble, please check there if your issue has already been
reported. If you spotted it first, help us smashing it by providing a
detailed and welcomed feedback.
Credits
=======
Contributors
------------
- Simone Orsi simone.orsi@camptocamp.com
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization
whose mission is to support the collaborative development of Odoo
features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

0
base_fontawesome/__init__.py

17
base_fontawesome/__openerp__.py

@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Simone Orsi
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{
'name': 'Base Fontawesome',
'summary': """Up to date Fontawesome resources.""",
'version': '9.0.4.7.0',
'license': 'LGPL-3',
'author': 'Camptocamp,Odoo Community Association (OCA)',
'depends': [
'web',
],
'data': [
'templates/assets.xml',
],
}

BIN
base_fontawesome/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

2337
base_fontawesome/static/lib/fontawesome-4.7.0/css/font-awesome.css
File diff suppressed because it is too large
View File

BIN
base_fontawesome/static/lib/fontawesome-4.7.0/fonts/FontAwesome.otf

BIN
base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.eot

2671
base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.svg
File diff suppressed because it is too large
View File

BIN
base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.ttf

BIN
base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.woff

BIN
base_fontawesome/static/lib/fontawesome-4.7.0/fonts/fontawesome-webfont.woff2

14
base_fontawesome/templates/assets.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2017 Simone Orsi
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<odoo>
<template id="assets_common" inherit_id="web.assets_common">
<xpath expr="link[@href='/web/static/lib/fontawesome/css/font-awesome.css']" position="replace">
<link rel="stylesheet" type="text/css" href="/base_fontawesome/static/lib/fontawesome-4.7.0/css/font-awesome.css" />
</xpath>
</template>
</odoo>
Loading…
Cancel
Save