diff --git a/MANIFEST.in b/MANIFEST.in index b116bb5aa..145813915 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,4 +9,4 @@ recursive-include data/web/ *.html *.css *.png recursive-include data/themes/default/ *.html *.css *.png *.gif *.jpg *.js *.ezt *.xml recursive-include data/themes/alto/ *.html *.css *.png *.gif *.jpg *.js *.ezt *.xml recursive-include data/vendor/ *.dat -recursive-include wcs/qommon/static/ *.css *.png *.gif *.jpg *.js +recursive-include wcs/qommon/static/ *.css *.png *.gif *.jpg *.js *.eot *.svg *.ttf *.woff diff --git a/README b/README index 951d40f76..1922329d9 100644 --- a/README +++ b/README @@ -163,3 +163,11 @@ bgiframe: svg-pan-zoom: # Copyright 2009-2010 Andrea Leofreddi # Licensed under the BSD 2-clause license (http://opensource.org/licenses/BSD-2-Clause) + +FontAwesome: + Files: wcs/qommon/static/css/dc2/fontawesome* + Copyright: (c) 2012-2014, Dave Gandy + License: OFL-1.1 + Comment: + Upstream doesn't specify which version of OFL instead simply links to + OFL page. Hence latest version of OFL is considered. diff --git a/setup.py b/setup.py index 82c07b30e..3c963dd61 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,8 @@ class install_data(_install_data): def data_tree(destdir, sourcedir): - extensions = ['.css', '.png', '.jpeg', '.jpg', '.gif', '.xml', '.html', '.js', '.ezt', '.dat'] + extensions = ['.css', '.png', '.jpeg', '.jpg', '.gif', '.xml', '.html', + '.js', '.ezt', '.dat', '*.eot', '*.svg', '*.ttf', '*.woff'] r = [] for root, dirs, files in os.walk(sourcedir): l = [os.path.join(root, x) for x in files if os.path.splitext(x)[1] in extensions] diff --git a/wcs/qommon/static/css/dc2/fontawesome-webfont.eot b/wcs/qommon/static/css/dc2/fontawesome-webfont.eot new file mode 100644 index 000000000..33b2bb800 Binary files /dev/null and b/wcs/qommon/static/css/dc2/fontawesome-webfont.eot differ diff --git a/wcs/qommon/static/css/dc2/fontawesome-webfont.svg b/wcs/qommon/static/css/dc2/fontawesome-webfont.svg new file mode 100644 index 000000000..1ee89d436 --- /dev/null +++ b/wcs/qommon/static/css/dc2/fontawesome-webfont.svg @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/css/dc2/fontawesome-webfont.ttf b/wcs/qommon/static/css/dc2/fontawesome-webfont.ttf new file mode 100644 index 000000000..ed9372f8e Binary files /dev/null and b/wcs/qommon/static/css/dc2/fontawesome-webfont.ttf differ diff --git a/wcs/qommon/static/css/dc2/fontawesome-webfont.woff b/wcs/qommon/static/css/dc2/fontawesome-webfont.woff new file mode 100644 index 000000000..8b280b98f Binary files /dev/null and b/wcs/qommon/static/css/dc2/fontawesome-webfont.woff differ diff --git a/wcs/qommon/static/css/dc2/gadjo.css b/wcs/qommon/static/css/dc2/gadjo.css index 3c310d9ea..9e4005e83 100644 --- a/wcs/qommon/static/css/dc2/gadjo.css +++ b/wcs/qommon/static/css/dc2/gadjo.css @@ -1,5 +1,13 @@ /* generalities */ +@font-face { + font-family: 'FontAwesome'; + src: url('fontawesome-webfont.eot'); + src: url('fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('fontawesome-webfont.woff') format('woff'), url('fontawesome-webfont.ttf') format('truetype'), url('fontawesome-webfont.svg?#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} + html, body { margin: 0; font-family: "Bitstream Vera Sans", "Verdana", sans-serif;