Parcourir la source

Upload files to 'www'

tennesseegibbs il y a 6 ans
Parent
révision
47323d2ca5
5 fichiers modifiés avec 98 ajouts et 0 suppressions
  1. 52
    0
      www/index.html
  2. 1
    0
      www/main.css.map
  3. 1
    0
      www/main.js.map
  4. 13
    0
      www/manifest.json
  5. 31
    0
      www/service-worker.js

+ 52
- 0
www/index.html Voir le fichier

@@ -0,0 +1,52 @@
1
+<!DOCTYPE html>
2
+<html lang="en" dir="ltr">
3
+<head>
4
+  <script data-ionic="inject">
5
+    (function(w){var i=w.Ionic=w.Ionic||{};i.version='3.9.2';i.angular='5.2.11';i.staticDir='build/';})(window);
6
+  </script>
7
+  <meta charset="UTF-8">
8
+  <title>Ionic App</title>
9
+  <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
10
+  <meta name="format-detection" content="telephone=no">
11
+  <meta name="msapplication-tap-highlight" content="no">
12
+
13
+  <link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
14
+  <link rel="manifest" href="manifest.json">
15
+  <meta name="theme-color" content="#4e8ef7">
16
+
17
+  <!-- add to homescreen for ios -->
18
+  <meta name="apple-mobile-web-app-capable" content="yes">
19
+  <meta name="apple-mobile-web-app-status-bar-style" content="black">
20
+
21
+  <!-- cordova.js required for cordova apps (remove if not needed) -->
22
+  <script src="cordova.js"></script>
23
+
24
+  <!-- un-comment this code to enable service worker
25
+  <script>
26
+    if ('serviceWorker' in navigator) {
27
+      navigator.serviceWorker.register('service-worker.js')
28
+        .then(() => console.log('service worker installed'))
29
+        .catch(err => console.error('Error', err));
30
+    }
31
+  </script>-->
32
+
33
+  <link href="build/main.css" rel="stylesheet">
34
+
35
+</head>
36
+<body>
37
+
38
+  <!-- Ionic's root component and where the app will load -->
39
+  <ion-app></ion-app>
40
+
41
+  <!-- The polyfills js is generated during the build process -->
42
+  <script src="build/polyfills.js"></script>
43
+
44
+  <!-- The vendor js is generated during the build process
45
+       It contains all of the dependencies in node_modules -->
46
+  <script src="build/vendor.js"></script>
47
+
48
+  <!-- The main bundle js is generated during the build process -->
49
+  <script src="build/main.js"></script>
50
+
51
+</body>
52
+</html>

+ 1
- 0
www/main.css.map Voir le fichier

@@ -0,0 +1 @@
1
+null

+ 1
- 0
www/main.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 13
- 0
www/manifest.json Voir le fichier

@@ -0,0 +1,13 @@
1
+{
2
+  "name": "Ionic",
3
+  "short_name": "Ionic",
4
+  "start_url": "index.html",
5
+  "display": "standalone",
6
+  "icons": [{
7
+    "src": "assets/imgs/logo.png",
8
+    "sizes": "512x512",
9
+    "type": "image/png"
10
+  }],
11
+  "background_color": "#4e8ef7",
12
+  "theme_color": "#4e8ef7"
13
+}

+ 31
- 0
www/service-worker.js Voir le fichier

@@ -0,0 +1,31 @@
1
+/**
2
+ * Check out https://googlechromelabs.github.io/sw-toolbox/ for
3
+ * more info on how to use sw-toolbox to custom configure your service worker.
4
+ */
5
+
6
+
7
+'use strict';
8
+importScripts('./build/sw-toolbox.js');
9
+
10
+self.toolbox.options.cache = {
11
+  name: 'ionic-cache'
12
+};
13
+
14
+// pre-cache our key assets
15
+self.toolbox.precache(
16
+  [
17
+    './build/main.js',
18
+    './build/vendor.js',
19
+    './build/main.css',
20
+    './build/polyfills.js',
21
+    'index.html',
22
+    'manifest.json'
23
+  ]
24
+);
25
+
26
+// dynamically cache any other local assets
27
+self.toolbox.router.any('/*', self.toolbox.fastest);
28
+
29
+// for any other requests go to the network, cache,
30
+// and then only use that cached resource if your user goes offline
31
+self.toolbox.router.default = self.toolbox.networkFirst;