Add custom favicon
This commit is contained in:
parent
866dd75f23
commit
bbe34e6f94
5 changed files with 18 additions and 1 deletions
BIN
img/favicon.png
Normal file
BIN
img/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 848 B |
13
img/favicon.svg
Normal file
13
img/favicon.svg
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1"
|
||||
id="Ebene_1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="32px" height="32px"
|
||||
viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve">
|
||||
<path fill="#1D2D44" d="M5,0h22c2.762,0,5,2.239,5,5v22c0,2.762-2.238,5-5,5H5c-2.761,0-5-2.238-5-5V5C0,2.239,2.239,0,5,0z"/>
|
||||
<path fill="#FFFFFF" stroke="#FFFFFF" stroke-width="0.75" stroke-miterlimit="10" d="M13.958,27.497c0,0,0.248-0.685,0.538-1.307
|
||||
c4.692-10.105,10.719-16.76,13.392-19.781c2.165-2.447,1.318-2.062,0.359-1.438c-3.91,2.543-11.227,10.715-14.024,13.547
|
||||
c-0.518,0.521-1.691,1.753-1.956,1.753c-0.299,0-1.298-0.461-1.869-0.797c-2.182-1.278-4.269-2.526-5.578-2.998
|
||||
c-2.789-1.003-2-0.05-1.841,0.269c0.498,0.996,7.233,6.396,9.464,8.945C13.134,26.479,13.958,27.497,13.958,27.497z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -61,6 +61,9 @@ angular.module('Tasks').run ['$document', '$rootScope', 'Config', '$timeout',
|
|||
|
||||
OCA.Search.tasks = SearchBusinessLayer
|
||||
|
||||
$('link[rel="shortcut icon"]')
|
||||
.attr('href', OC.filePath('tasks', 'img', 'favicon.png'))
|
||||
|
||||
$document.click (event) ->
|
||||
$rootScope.$broadcast 'documentClicked', event
|
||||
return
|
||||
|
|
|
@ -21,7 +21,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
###
|
||||
angular.module('Tasks').filter 'counterFormatter', () ->
|
||||
(count) ->
|
||||
return switch
|
||||
return switch
|
||||
when count == 0 then ''
|
||||
when count > 999 then '999+'
|
||||
else count
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
return timeOutUpdate();
|
||||
})();
|
||||
OCA.Search.tasks = SearchBusinessLayer;
|
||||
$('link[rel="shortcut icon"]').attr('href', OC.filePath('tasks', 'img', 'favicon.png'));
|
||||
$document.click(function(event) {
|
||||
$rootScope.$broadcast('documentClicked', event);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue