aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/static/icons/apple-touch-icon.png (renamed from src/client/static/apple-touch-icon.png)bin6447 -> 6447 bytes
-rw-r--r--src/client/static/icons/favicon-16x16.png (renamed from src/client/static/favicon-16x16.png)bin1293 -> 1293 bytes
-rw-r--r--src/client/static/icons/favicon-32x32.png (renamed from src/client/static/favicon-32x32.png)bin2103 -> 2103 bytes
-rw-r--r--src/client/static/icons/safari-pinned-tab.svg (renamed from src/client/static/safari-pinned-tab.svg)0
-rw-r--r--src/client/static/manifest.beta.webmanifest29
-rw-r--r--src/client/static/manifest.json (renamed from src/client/static/manifest.webmanifest)0
-rw-r--r--src/client/static/sw.js29
-rw-r--r--src/client/static/untisinfo.css11
-rw-r--r--src/client/views/partials/head.handlebars10
9 files changed, 5 insertions, 74 deletions
diff --git a/src/client/static/apple-touch-icon.png b/src/client/static/icons/apple-touch-icon.png
index 5adfc69..5adfc69 100644
--- a/src/client/static/apple-touch-icon.png
+++ b/src/client/static/icons/apple-touch-icon.png
Binary files differ
diff --git a/src/client/static/favicon-16x16.png b/src/client/static/icons/favicon-16x16.png
index 1df47d3..1df47d3 100644
--- a/src/client/static/favicon-16x16.png
+++ b/src/client/static/icons/favicon-16x16.png
Binary files differ
diff --git a/src/client/static/favicon-32x32.png b/src/client/static/icons/favicon-32x32.png
index 36cd5da..36cd5da 100644
--- a/src/client/static/favicon-32x32.png
+++ b/src/client/static/icons/favicon-32x32.png
Binary files differ
diff --git a/src/client/static/safari-pinned-tab.svg b/src/client/static/icons/safari-pinned-tab.svg
index 97ce8bf..97ce8bf 100644
--- a/src/client/static/safari-pinned-tab.svg
+++ b/src/client/static/icons/safari-pinned-tab.svg
diff --git a/src/client/static/manifest.beta.webmanifest b/src/client/static/manifest.beta.webmanifest
deleted file mode 100644
index a1fdd92..0000000
--- a/src/client/static/manifest.beta.webmanifest
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "name": "BETA Metis Rooster",
- "short_name": "BETA Rooster",
- "start_url": "/",
- "display": "standalone",
- "background_color": "#ececec",
- "description": "Een verbeterde rooster pagina voor het metis",
- "icons": [{
- "src": "/icons/res/mipmap-mdpi/ic_launcher.png",
- "sizes": "48x48",
- "type": "image/png"
- }, {
- "src": "/icons/res/mipmap-hdpi/ic_launcher.png",
- "sizes": "72x72",
- "type": "image/png"
- }, {
- "src": "/icons/res/mipmap-xhdpi/ic_launcher.png",
- "sizes": "96x96",
- "type": "image/png"
- }, {
- "src": "/icons/res/mipmap-xxhdpi/ic_launcher.png",
- "sizes": "144x144",
- "type": "image/png"
- }, {
- "src": "/icons/res/mipmap-xxxhdpi/ic_launcher.png",
- "sizes": "192x192",
- "type": "image/png"
- }]
-}
diff --git a/src/client/static/manifest.webmanifest b/src/client/static/manifest.json
index d33ee8e..d33ee8e 100644
--- a/src/client/static/manifest.webmanifest
+++ b/src/client/static/manifest.json
diff --git a/src/client/static/sw.js b/src/client/static/sw.js
deleted file mode 100644
index bd43805..0000000
--- a/src/client/static/sw.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/* global importScripts toolbox self */
-
-(global => {
- 'use strict'
-
- // Load the sw-toolbox library.
- importScripts('/components/sw-toolbox/sw-toolbox.js')
-
- // Ensure that our service worker takes control of the page as soon as possible.
- global.addEventListener('install', event => event.waitUntil(global.skipWaiting()))
- global.addEventListener('activate', event => event.waitUntil(global.clients.claim()))
-
- toolbox.precache([
- '/',
- '/hello',
- '/untisinfo.css',
- '/javascripts/bundle.js',
- '/stylesheets/style.css',
- '/stylesheets/hello.css'
- ])
-
- toolbox.router.get('/', toolbox.fastest)
- toolbox.router.get('/hello', toolbox.fastest)
-
- toolbox.router.get('/javascripts/bundle.js', toolbox.fastest)
- toolbox.router.get('/stylesheets/*', toolbox.fastest)
- toolbox.router.get('/untisinfo.css', toolbox.fastest)
- toolbox.router.get('/meetingpointProxy/*', toolbox.networkFirst)
-})(self)
diff --git a/src/client/static/untisinfo.css b/src/client/static/untisinfo.css
deleted file mode 100644
index d74a7aa..0000000
--- a/src/client/static/untisinfo.css
+++ /dev/null
@@ -1,11 +0,0 @@
-html, body {
- overflow: auto;
- width: 100vw;
- height: 100vh;
- margin: 0;
- -webkit-overflow-scrolling: touch;
-}
-
-center {
- margin: 5px;
-}
diff --git a/src/client/views/partials/head.handlebars b/src/client/views/partials/head.handlebars
index 9801a95..9cf4023 100644
--- a/src/client/views/partials/head.handlebars
+++ b/src/client/views/partials/head.handlebars
@@ -23,8 +23,8 @@
<meta name="theme-color" content="#F44336">
<meta name="viewport" content="width=device-width initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
-<link rel="manifest" href="/manifest.webmanifest">
-<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon.png">
-<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
-<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
-<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#f44336">
+<link rel="manifest" href="/manifest.json">
+<link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-touch-icon.png">
+<link rel="icon" type="image/png" href="/icons/favicon-32x32.png" sizes="32x32">
+<link rel="icon" type="image/png" href="/icons/favicon-16x16.png" sizes="16x16">
+<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#f44336">