Bladeren bron

Added PWA for File Manager

TC pushbot 5 4 jaren geleden
bovenliggende
commit
33e39cff8b

+ 1 - 0
web/SystemAO/file_system/file_explorer.html

@@ -4,6 +4,7 @@
         <meta charset="UTF-8">
         <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
         <link rel="stylesheet" href="../../script/tocas/tocas.css">
+        <link rel="manifest" href="manifest.json">
         <script type="text/javascript" src="../../script/tocas/tocas.js"></script>
         <script type="text/javascript" src="../../script/jquery.min.js"></script>
         <script type="text/javascript" src="../../script/ao_module.js"></script>

BIN
web/SystemAO/file_system/img/folder icon.png


BIN
web/SystemAO/file_system/img/folder icon.psd


BIN
web/SystemAO/file_system/img/new folder.png


BIN
web/SystemAO/file_system/img/new folder.psd


BIN
web/SystemAO/file_system/img/pwa/128.png


BIN
web/SystemAO/file_system/img/pwa/192.png


BIN
web/SystemAO/file_system/img/pwa/256.png


BIN
web/SystemAO/file_system/img/small_icon.png


BIN
web/SystemAO/file_system/img/small_icon.psd


+ 22 - 0
web/SystemAO/file_system/manifest.json

@@ -0,0 +1,22 @@
+{
+  "name": "File Manager",
+  "short_name": "File Manager",
+  "icons": [{
+    "src": "img/pwa/128.png",
+      "sizes": "128x128",
+      "type": "image/png"
+    }, {
+      "src": "img/pwa/192.png",
+      "sizes": "192x192",
+      "type": "image/png"
+    }, {
+      "src": "img/pwa/256.png",
+      "sizes": "256x256",
+      "type": "image/png"
+    }],
+  "start_url": "file_explorer.html",
+  "display": "standalone",
+  "scope": "./",
+  "background_color": "#f7f7f7",
+  "theme_color": "#242330"
+}