Skip to content

Commit

Permalink
Add favicon. Update icons name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed May 28, 2019
1 parent 14b3100 commit e49f1b3
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 33 deletions.
Binary file added favicon.ico
Binary file not shown.
21 changes: 11 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<meta name="keywords" content="DICOM,HTML5,JavaScript,medical,imaging,DWV">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="theme-color" content="#2F3BA2"/>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="manifest.json">
<link type="text/css" rel="stylesheet" href="css/style.css" />
<link type="text/css" rel="stylesheet" href="ext/jquery-mobile/jquery.mobile-1.4.5.min.css" />
Expand All @@ -29,19 +30,19 @@
</style>
<!-- mobile web app -->
<meta name="mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" sizes="16x16" href="resources/icons/dwv-16.png" />
<link rel="shortcut icon" sizes="32x32" href="resources/icons/dwv-32.png" />
<link rel="shortcut icon" sizes="64x64" href="resources/icons/dwv-64.png" />
<link rel="shortcut icon" sizes="128x128" href="resources/icons/dwv-128.png" />
<link rel="shortcut icon" sizes="256x256" href="resources/icons/dwv-256.png" />
<link rel="shortcut icon" sizes="16x16" href="resources/icons/icon-16.png" />
<link rel="shortcut icon" sizes="32x32" href="resources/icons/icon-32.png" />
<link rel="shortcut icon" sizes="64x64" href="resources/icons/icon-64.png" />
<link rel="shortcut icon" sizes="128x128" href="resources/icons/icon-128.png" />
<link rel="shortcut icon" sizes="256x256" href="resources/icons/icon-256.png" />
<!-- apple specific -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" sizes="16x16" href="resources/icons/dwv-16.png" />
<link rel="apple-touch-icon" sizes="32x32" href="resources/icons/dwv-32.png" />
<link rel="apple-touch-icon" sizes="64x64" href="resources/icons/dwv-64.png" />
<link rel="apple-touch-icon" sizes="128x128" href="resources/icons/dwv-128.png" />
<link rel="apple-touch-icon" sizes="256x256" href="resources/icons/dwv-256.png" />
<link rel="apple-touch-icon" sizes="16x16" href="resources/icons/icon-16.png" />
<link rel="apple-touch-icon" sizes="32x32" href="resources/icons/icon-32.png" />
<link rel="apple-touch-icon" sizes="64x64" href="resources/icons/icon-64.png" />
<link rel="apple-touch-icon" sizes="128x128" href="resources/icons/icon-128.png" />
<link rel="apple-touch-icon" sizes="256x256" href="resources/icons/icon-256.png" />
<!-- Third party (dwv) -->
<script type="text/javascript" src="node_modules/i18next/i18next.min.js"></script>
<script type="text/javascript" src="node_modules/i18next-xhr-backend/i18nextXHRBackend.min.js"></script>
Expand Down
33 changes: 20 additions & 13 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,36 @@
"theme_color": "#2F3BA2",
"start_url": "/dwv-jqmobile/demo/trunk/index.html",
"scope": "/dwv-jqmobile/demo/trunk",
"icons": [{
"src": "resources/icons/dwv-16.png",
"icons": [
{
"src": "resources/icons/icon-16.png",
"sizes": "16x16",
"type": "image/png"
}, {
"src": "resources/icons/dwv-32.png",
},
{
"src": "resources/icons/icon-32.png",
"sizes": "32x32",
"type": "image/png"
}, {
"src": "resources/icons/dwv-64.png",
},
{
"src": "resources/icons/icon-64.png",
"sizes": "64x64",
"type": "image/png"
}, {
"src": "resources/icons/dwv-128.png",
},
{
"src": "resources/icons/icon-128.png",
"sizes": "128x128",
"type": "image/png"
}, {
"src": "resources/icons/dwv-256.png",
},
{
"src": "resources/icons/icon-256.png",
"sizes": "256x256",
"type": "image/png"
}, {
"src": "resources/icons/dwv-512.png",
},
{
"src": "resources/icons/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}]
}
]
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 5 additions & 5 deletions resources/scripts/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"icons": {
"16": "resources/icons/dwv-16.png",
"32": "resources/icons/dwv-32.png",
"64": "resources/icons/dwv-64.png",
"128": "resources/icons/dwv-128.png",
"256": "resources/icons/dwv-256.png"
"16": "resources/icons/icon-16.png",
"32": "resources/icons/icon-32.png",
"64": "resources/icons/icon-64.png",
"128": "resources/icons/icon-128.png",
"256": "resources/icons/icon-256.png"
},
"offline_enabled": true,
"container": "GOOGLE_DRIVE",
Expand Down
10 changes: 5 additions & 5 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ var urlsToCache = [
'./src/google.js',
'./src/register-sw.js',
// images
'./resources/icons/dwv-16.png',
'./resources/icons/dwv-32.png',
'./resources/icons/dwv-64.png',
'./resources/icons/dwv-128.png',
'./resources/icons/dwv-256.png',
'./resources/icons/icon-16.png',
'./resources/icons/icon-32.png',
'./resources/icons/icon-64.png',
'./resources/icons/icon-128.png',
'./resources/icons/icon-256.png',
'./resources/help/double_tap.png',
'./resources/help/tap_and_hold.png',
'./resources/help/tap.png',
Expand Down

0 comments on commit e49f1b3

Please sign in to comment.