]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: add full set of "favicon" files to support modern clients
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 26 Jul 2017 17:22:11 +0000 (18:22 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 2 Aug 2017 16:00:11 +0000 (17:00 +0100)
Use of the relation "shortcut" for a favicon was an Internet
Explorer only feature. Other browsers just require "icon".

The new icons & metadata are generated using

  https://realfavicongenerator.net/

which is user tested to work well across all modern clients

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
docs/android-chrome-192x192.png [new file with mode: 0644]
docs/android-chrome-256x256.png [new file with mode: 0644]
docs/apple-touch-icon.png [new file with mode: 0644]
docs/browserconfig.xml [new file with mode: 0644]
docs/favicon-16x16.png [new file with mode: 0644]
docs/favicon-32x32.png [new file with mode: 0644]
docs/favicon.ico [new file with mode: 0644]
docs/manifest.json [new file with mode: 0644]
docs/mstile-150x150.png [new file with mode: 0644]
docs/page.xsl

diff --git a/docs/android-chrome-192x192.png b/docs/android-chrome-192x192.png
new file mode 100644 (file)
index 0000000..2edadf9
Binary files /dev/null and b/docs/android-chrome-192x192.png differ
diff --git a/docs/android-chrome-256x256.png b/docs/android-chrome-256x256.png
new file mode 100644 (file)
index 0000000..3b9b77e
Binary files /dev/null and b/docs/android-chrome-256x256.png differ
diff --git a/docs/apple-touch-icon.png b/docs/apple-touch-icon.png
new file mode 100644 (file)
index 0000000..e062d90
Binary files /dev/null and b/docs/apple-touch-icon.png differ
diff --git a/docs/browserconfig.xml b/docs/browserconfig.xml
new file mode 100644 (file)
index 0000000..e8b57e5
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig>
+    <msapplication>
+        <tile>
+            <square150x150logo src="/mstile-150x150.png"/>
+            <TileColor>#b91d47</TileColor>
+        </tile>
+    </msapplication>
+</browserconfig>
diff --git a/docs/favicon-16x16.png b/docs/favicon-16x16.png
new file mode 100644 (file)
index 0000000..d68f4a2
Binary files /dev/null and b/docs/favicon-16x16.png differ
diff --git a/docs/favicon-32x32.png b/docs/favicon-32x32.png
new file mode 100644 (file)
index 0000000..6d7e32e
Binary files /dev/null and b/docs/favicon-32x32.png differ
diff --git a/docs/favicon.ico b/docs/favicon.ico
new file mode 100644 (file)
index 0000000..8ea17cb
Binary files /dev/null and b/docs/favicon.ico differ
diff --git a/docs/manifest.json b/docs/manifest.json
new file mode 100644 (file)
index 0000000..0f8fcba
--- /dev/null
@@ -0,0 +1,18 @@
+{
+    "name": "Libvirt",
+    "icons": [
+        {
+            "src": "/android-chrome-192x192.png",
+            "sizes": "192x192",
+            "type": "image/png"
+        },
+        {
+            "src": "/android-chrome-256x256.png",
+            "sizes": "256x256",
+            "type": "image/png"
+        }
+    ],
+    "theme_color": "#ffffff",
+    "background_color": "#ffffff",
+    "display": "standalone"
+}
\ No newline at end of file
diff --git a/docs/mstile-150x150.png b/docs/mstile-150x150.png
new file mode 100644 (file)
index 0000000..1ccb465
Binary files /dev/null and b/docs/mstile-150x150.png differ
index 994256f2ee9fd85c2fd2b7d6415f86083efe48c3..7ca4e7bf4f16c29f886b52b8f763e3d80ae456cf 100644 (file)
       <head>
         <meta charset="UTF-8"/>
         <link rel="stylesheet" type="text/css" href="{$href_base}main.css"/>
-        <link rel="SHORTCUT ICON" href="{$href_base}32favicon.png"/>
+        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/>
+        <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/>
+        <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/>
+        <link rel="manifest" href="/manifest.json"/>
+        <meta name="theme-color" content="#ffffff"/>
         <title>libvirt: <xsl:value-of select="html:html/html:body/html:h1"/></title>
         <meta name="description" content="libvirt, virtualization, virtualization API"/>
         <xsl:apply-templates select="/html:html/html:head/*" mode="content"/>