From 3edf35af74f473893ebcc9417aa1a0f2a5cc7de8 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 28 Jun 2019 00:02:50 +0000 Subject: [PATCH] Add web application manifests (no service worker yet) --- icons/index192.png | 0 map.manifest | 45 +++++++++++ icons/index256.png | 0 icons/index48.png | 0 icons/map144.png | 0 icons/index64.png | 0 icons/map64.png | 0 map.html | 1 icons/icon.svg | 87 +++++++++++++++++++++ icons/map192.png | 0 index.manifest | 45 +++++++++++ icons/map.svg | 5 + icons/map48.png | 0 icons/index144.png | 0 index.html | 1 icons/map256.png | 0 icons/map96.png | 0 icons/index.svg | 5 + icons/index128.png | 0 icons/index96.png | 0 icons/map128.png | 0 21 files changed, 189 insertions(+), 0 deletions(-) diff --git a/icons/icon.svg b/icons/icon.svg new file mode 100644 index 0000000..c327775 --- /dev/null +++ b/icons/icon.svg @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + version="1.0" + width="740" + height="360" + id="svg2"> + <defs + id="defs4" /> + <g + id="layer1"> + <path + d="M 141.29386,64.772007 L 226.621,8.5678385 L 310.09117,64.726728 L 226.67891,120.91089 L 141.29386,64.772007 z " + style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:7;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="path30859" /> + <path + d="M 545.76835,224.85743 C 544.55054,231.75847 539.49988,232.6089 535.6799,236.42888 C 543.52397,236.41433 556.28207,236.32762 556.3103,235.60249 L 556.72355,224.98944 L 545.76835,224.85743 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30855" /> + <path + d="M 68.158738,321.23081 C 68.455695,367.59067 134.85842,367.59152 134.85842,321.64768" + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path29926" /> + <path + d="M 205.72683,321.21721 C 206.02379,367.57707 272.42651,367.57792 272.42651,321.63408" + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30815" /> + <path + d="M 467.10621,321.21721 C 467.40316,367.57707 533.80589,367.57792 533.80589,321.63408" + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30817" /> + <path + d="M 605.09118,321.21721 C 605.38814,367.57707 671.79086,367.57792 671.79086,321.63408" + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30819" /> + <path + d="M 142.04948,342.38712 L 197.91046,342.38712 C 195.06734,337.46269 193.77027,332.24227 193.95017,321.54346 L 146.94774,321.54346 C 146.615,332.3914 144.91424,337.4252 142.04948,342.38712 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30821" /> + <path + d="M 541.10118,342.49133 L 596.96216,342.49133 C 594.11904,337.5669 592.82197,332.34648 593.00187,321.64767 L 545.99944,321.64767 C 545.6667,332.49561 543.96594,337.52941 541.10118,342.49133 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30825" /> + <path + d="M 570.24997,144.88875 C 565.04731,148.56178 560.2466,151.66884 560.2466,154.82898 L 560.30736,283.93097 C 561.52517,290.83201 566.42999,291.97412 570.24997,295.7941 L 546.51516,295.61257 L 546.2191,154.56075 C 546.2191,151.76942 541.27657,148.50142 536.1756,144.89967 L 570.24997,144.88875 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30841" /> + <path + d="M 34.77654,124.52695 L 704.03682,124.52695 L 704.03682,145.63848 L 34.954125,145.63848 L 34.77654,124.52695 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30827" /> + <path + d="M 405.02462,144.77233 C 410.22728,148.44536 415.02799,151.55242 415.02799,154.71256 L 414.96723,224.96752 C 413.74942,231.86856 408.8446,233.01067 405.02462,236.83065 L 439.09899,236.83065 C 435.27035,233.00201 430.20446,232.09446 429.0714,225.13748 L 429.05549,154.44433 C 429.05549,151.653 433.99802,148.385 439.09899,144.78325 L 405.02462,144.77233 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30829" /> + <path + d="M 273.9892,144.66674 C 279.19186,148.33977 283.99257,151.44683 283.99257,154.60697 L 283.93181,224.86193 C 282.714,231.76297 277.80918,232.90508 273.9892,236.72506 L 308.06357,236.72506 C 304.23493,232.89642 299.16904,231.98887 298.03598,225.03189 L 298.02007,154.33874 C 298.02007,151.54741 302.9626,148.27941 308.06357,144.67766 L 273.9892,144.66674 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30833" /> + <path + d="M 143.85545,144.88875 C 149.05811,148.56178 153.85882,151.66884 153.85882,154.82898 L 153.79806,283.93097 C 152.58025,290.83201 147.67543,291.97412 143.85545,295.7941 L 167.59026,295.61257 L 167.88632,154.56075 C 167.88632,151.76942 172.82885,148.50142 177.92982,144.89967 L 143.85545,144.88875 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30839" /> + <path + d="M 628.05988,144.88875 C 633.26254,148.56178 638.06325,151.66884 638.06325,154.82898 L 638.00249,283.93097 C 636.78468,290.83201 631.87986,291.97412 628.05988,295.7941 L 651.79469,295.61257 L 651.64888,144.96967 L 628.05988,144.88875 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30845" /> + <path + d="M 112.14105,144.77017 C 106.93839,148.4432 102.13768,151.55026 102.13768,154.7104 L 102.19844,283.81239 C 103.41625,290.71343 108.32107,291.85554 112.14105,295.67552 L 88.406239,295.67178 L 88.552049,144.85109 L 112.14105,144.77017 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30849" /> + <path + d="M 48.471006,144.5257 L 3.2183455,234.56804 L 3.2183455,289.1964 C 3.2183455,299.06206 14.853723,309.33876 23.735298,309.31106 L 716.48416,309.31106 C 725.18984,309.31106 737.00111,297.13026 737.00111,289.1964 L 737.00111,233.67994 L 691.06759,144.17503 L 677.91563,144.17503 L 708.84059,205.11712 C 714.11626,225.00611 697.80765,233.59281 689.53052,236.50035 L 650.58941,236.33987 L 650.91037,295.63527 L 547.11655,295.63527 L 547.11655,236.33769 L 166.95167,236.33769 L 166.95167,295.55394 L 89.065096,295.55394 L 89.065096,236.41685 L 49.884355,236.41685 C 40.999758,236.41685 25.997947,225.75364 31.37669,205.6799 L 61.478753,144.5257 L 48.471006,144.5257 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30853" /> + <path + d="M 168.36959,224.926 C 169.5874,231.82704 174.63806,232.67747 178.45804,236.49745 C 170.61397,236.4829 157.85587,236.39619 157.82764,235.67106 L 157.41439,225.05801 L 168.36959,224.926 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path30857" /> + <path + d="M 298.81034,124.9591 L 291.66677,117.46706 L 159.42359,117.46706 L 153.32543,124.78486 L 298.81034,124.9591 z " + style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + id="path31750" /> + </g> +</svg> diff --git a/icons/index.svg b/icons/index.svg new file mode 100644 index 0000000..1ac8483 --- /dev/null +++ b/icons/index.svg @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="740" height="740"> + <image x="0" y="40" width="740" height="360" xlink:href="icon.svg" /> + <text x="27" y="630" style="fill:black;font:275px Verdana;">TTSS</text> +</svg> diff --git a/icons/index128.png b/icons/index128.png new file mode 100644 index 0000000..a5d30ee --- /dev/null +++ b/icons/index128.png Binary files differ diff --git a/icons/index144.png b/icons/index144.png new file mode 100644 index 0000000..e9ce62d --- /dev/null +++ b/icons/index144.png Binary files differ diff --git a/icons/index192.png b/icons/index192.png new file mode 100644 index 0000000..201b837 --- /dev/null +++ b/icons/index192.png Binary files differ diff --git a/icons/index256.png b/icons/index256.png new file mode 100644 index 0000000..103cf22 --- /dev/null +++ b/icons/index256.png Binary files differ diff --git a/icons/index48.png b/icons/index48.png new file mode 100644 index 0000000..e578a3f --- /dev/null +++ b/icons/index48.png Binary files differ diff --git a/icons/index64.png b/icons/index64.png new file mode 100644 index 0000000..1769cb1 --- /dev/null +++ b/icons/index64.png Binary files differ diff --git a/icons/index96.png b/icons/index96.png new file mode 100644 index 0000000..68333fc --- /dev/null +++ b/icons/index96.png Binary files differ diff --git a/icons/map.svg b/icons/map.svg new file mode 100644 index 0000000..5796bd3 --- /dev/null +++ b/icons/map.svg @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="740" height="740"> + <image x="0" y="40" width="740" height="360" xlink:href="icon.svg" /> + <text x="3" y="630" style="fill:black;font:275px Verdana;">Mapa</text> +</svg> diff --git a/icons/map128.png b/icons/map128.png new file mode 100644 index 0000000..f0be335 --- /dev/null +++ b/icons/map128.png Binary files differ diff --git a/icons/map144.png b/icons/map144.png new file mode 100644 index 0000000..2cd4dc1 --- /dev/null +++ b/icons/map144.png Binary files differ diff --git a/icons/map192.png b/icons/map192.png new file mode 100644 index 0000000..855ce21 --- /dev/null +++ b/icons/map192.png Binary files differ diff --git a/icons/map256.png b/icons/map256.png new file mode 100644 index 0000000..e591572 --- /dev/null +++ b/icons/map256.png Binary files differ diff --git a/icons/map48.png b/icons/map48.png new file mode 100644 index 0000000..f4e97ec --- /dev/null +++ b/icons/map48.png Binary files differ diff --git a/icons/map64.png b/icons/map64.png new file mode 100644 index 0000000..4cfe500 --- /dev/null +++ b/icons/map64.png Binary files differ diff --git a/icons/map96.png b/icons/map96.png new file mode 100644 index 0000000..39a873a --- /dev/null +++ b/icons/map96.png Binary files differ diff --git a/index.html b/index.html index eb69a99..9c3db11 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="manifest" href="index.manifest" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="index.css"> <style type="text/css" id="vehicle-data-style"></style> diff --git a/index.manifest b/index.manifest new file mode 100644 index 0000000..e966362 --- /dev/null +++ b/index.manifest @@ -0,0 +1,45 @@ +{ + "short_name": "TTSS Odjazdy", + "name": "TTSS Kraków - Odjazdy", + "icons": [ + { + "src": "icons/index48.png", + "type": "image/png", + "sizes": "48x48" + }, + { + "src": "icons/index64.png", + "type": "image/png", + "sizes": "64x64" + }, + { + "src": "icons/index96.png", + "type": "image/png", + "sizes": "96x96" + }, + { + "src": "icons/index128.png", + "type": "image/png", + "sizes": "128x128" + }, + { + "src": "icons/index144.png", + "type": "image/png", + "sizes": "144x144" + }, + { + "src": "icons/index192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "icons/index256.png", + "type": "image/png", + "sizes": "256x256" + } + ], + "start_url": "index.html", + "display": "standalone", + "theme_color": "#337ab7", + "background_color": "#337ab7" +} diff --git a/map.html b/map.html index 90db059..8545a78 100644 --- a/map.html +++ b/map.html @@ -6,6 +6,7 @@ <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" /> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/css/ol.css" integrity="sha384-C7SzZySesoxngSK5V0BaD1DUap0LPZGWZpnXQGoIwvBXFc8G21y4s1QYvyr84FNa" crossorigin="anonymous"> <link rel="stylesheet" href="map.css?v4" type="text/css" /> +<link rel="manifest" href="map.manifest" /> </head> <body> <div id="map"> diff --git a/map.manifest b/map.manifest new file mode 100644 index 0000000..abc8a90 --- /dev/null +++ b/map.manifest @@ -0,0 +1,45 @@ +{ + "short_name": "TTSS Mapa", + "name": "TTSS Kraków - Mapa", + "icons": [ + { + "src": "icons/map48.png", + "type": "image/png", + "sizes": "48x48" + }, + { + "src": "icons/map64.png", + "type": "image/png", + "sizes": "64x64" + }, + { + "src": "icons/map96.png", + "type": "image/png", + "sizes": "96x96" + }, + { + "src": "icons/map128.png", + "type": "image/png", + "sizes": "128x128" + }, + { + "src": "icons/map144.png", + "type": "image/png", + "sizes": "144x144" + }, + { + "src": "icons/map192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "icons/map256.png", + "type": "image/png", + "sizes": "256x256" + } + ], + "start_url": "map.html", + "display": "standalone", + "theme_color": "#337ab7", + "background_color": "#337ab7" +} -- Gitblit v1.9.1