Added some icons for other browsers and the manifest.json.

This commit is contained in:
Jan Böhmer 2019-03-20 22:43:04 +01:00
parent 84dcc64662
commit 782e2b7fdf
19 changed files with 87 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/icons/mstile-150x150.png"/>
<TileColor>#00a300</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

View file

@ -0,0 +1,49 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="400.000000pt" height="400.000000pt" viewBox="0 0 400.000000 400.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,400.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M920 3977 c-52 -17 -116 -86 -133 -144 -11 -40 -13 -340 -12 -1853 1
-1731 1 -1807 19 -1843 10 -21 34 -53 53 -72 68 -68 23 -66 1180 -63 l1040 3
49 30 c30 19 60 49 79 79 l30 49 3 1810 c1 1193 -1 1822 -8 1847 -14 53 -48
99 -99 135 l-43 30 -1061 2 c-761 1 -1072 -2 -1097 -10z"/>
<path d="M325 3364 c-7 -8 -12 -25 -11 -39 3 -24 2 -25 -63 -25 -39 0 -72 -5
-79 -12 -16 -16 -15 -113 1 -126 7 -6 41 -12 76 -14 62 -3 64 -4 67 -32 2 -16
9 -33 16 -37 7 -4 74 -7 150 -7 l138 1 0 152 0 152 -140 0 c-107 1 -144 -3
-155 -13z"/>
<path d="M3386 3371 c-2 -5 0 -277 3 -293 2 -10 264 -7 284 4 10 5 17 20 17
38 l0 30 69 0 c41 0 73 5 77 11 11 19 5 122 -8 131 -7 4 -41 8 -75 8 l-63 0 0
30 c0 18 -7 33 -17 38 -20 10 -282 13 -287 3z"/>
<path d="M373 2762 c-32 -2 -53 -8 -54 -15 -1 -7 -1 -22 -2 -34 0 -13 -5 -23
-11 -24 -6 0 -36 -2 -66 -3 -31 -1 -61 -5 -68 -10 -7 -4 -12 -30 -12 -67 0
-69 2 -71 92 -73 59 -2 62 -3 63 -27 3 -47 8 -49 161 -49 l144 0 0 150 c0 83
-3 150 -7 150 -45 3 -199 4 -240 2z"/>
<path d="M3386 2760 c-1 -3 -2 -70 -2 -150 l1 -145 139 -3 c150 -3 166 2 166
47 0 27 1 27 65 28 36 0 71 5 77 11 14 14 11 113 -3 127 -6 6 -36 11 -67 12
-31 0 -60 1 -64 2 -5 1 -8 11 -8 24 0 46 -9 49 -160 50 -78 1 -143 0 -144 -3z"/>
<path d="M331 2141 c-8 -5 -15 -22 -15 -38 -2 -28 -3 -28 -71 -31 -40 -2 -73
-8 -77 -15 -12 -19 -9 -112 4 -125 7 -7 40 -12 79 -12 65 0 67 -1 64 -22 -9
-48 3 -52 157 -52 l143 -1 3 153 3 152 -138 0 c-76 0 -144 -4 -152 -9z"/>
<path d="M3385 2000 c0 -126 2 -150 15 -151 63 -6 258 -3 273 3 10 6 17 20 17
38 l0 30 63 0 c34 0 68 4 75 9 9 5 12 27 10 72 l-3 64 -72 3 c-72 3 -73 3 -73
30 0 48 -13 52 -165 52 l-140 0 0 -150z"/>
<path d="M337 1532 c-17 -3 -18 -6 -21 -39 -2 -33 -14 -39 -66 -36 -74 5 -90
-7 -90 -67 0 -77 3 -80 81 -80 38 0 69 -3 70 -7 7 -74 5 -73 164 -73 l146 0
-3 152 -3 152 -131 0 c-72 1 -138 0 -147 -2z"/>
<path d="M3405 1532 c-20 -3 -20 -10 -20 -152 l0 -150 140 0 c152 0 165 4 165
52 0 27 1 27 73 30 l72 3 5 53 c8 74 -7 93 -68 91 -77 -2 -82 -1 -82 24 0 46
-10 49 -141 51 -68 0 -133 0 -144 -2z"/>
<path d="M323 908 c-4 -7 -7 -24 -8 -38 0 -24 -3 -25 -69 -26 -46 -1 -71 -6
-77 -15 -13 -21 -11 -113 3 -127 7 -7 40 -12 78 -12 l67 0 0 -30 c0 -17 2 -33
6 -36 3 -3 71 -7 151 -7 l146 -2 0 153 0 152 -144 0 c-105 0 -147 -3 -153 -12z"/>
<path d="M3385 770 c0 -126 2 -150 15 -151 8 -1 73 -1 144 -1 136 0 146 3 146
50 0 20 4 22 64 22 40 0 68 5 75 13 14 18 17 115 3 129 -6 6 -40 10 -76 10
-65 0 -66 0 -66 27 0 47 -13 51 -165 51 l-140 0 0 -150z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

22
public/manifest.json Normal file
View file

@ -0,0 +1,22 @@
{
"manifest_version": 2,
"version": "1.0.0",
"name": "Part-DB",
"default_locale": "en",
"author": "Jan Böhmer",
"homepage_url": "https://github.com/jbtronics/Part-DB",
"description": "A managment tool for electronical parts.",
"icons": [
{
"src": "\/icons\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png"
},
{
"src": "\/icons\/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image\/png"
}
],
"theme_color": "#ffffff"
}

View file

@ -5,6 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('icons/favicon.ico') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('icons/apple-touch-icon.png') }}">
<link rel="icon" type="image/png" href="{{ asset('icons/favicon-32x32.png') }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ asset('icons/favicon-16x16.png') }}" sizes="16x16">
<link rel="manifest" href="{{ asset('manifest.json') }}">
<link rel="mask-icon" href="{{ asset('icons/safari-pinned-tab.svg') }}" color="#5bbad5">
<meta name="msapplication-config" content="{{ asset('icons/browserconfig.xml') }}">
<meta name="theme-color" content="#ffffff">
<title>{% block title %}{{ partdb_title }}{% endblock %}</title>
{% block stylesheets %}