deploy: 308c6ff21c
@ -1,69 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Flutter samples</title>
|
||||
<link href="styles.css" rel="stylesheet" media="screen">
|
||||
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Google+Sans+Display|Roboto:300,400,500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="packages/mdc_web/material-components-web.min.js"></script>
|
||||
<script src="https://kit.fontawesome.com/16cc04762e.js"></script>
|
||||
<script defer src="description.dart.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="content">
|
||||
<div class="navbar">
|
||||
<a class="leading" href="./">
|
||||
<img src="images/logos/logo_lockup_flutter_horizontal_wht_96.png" />
|
||||
<span class="title">Samples</span>
|
||||
</a>
|
||||
<div class="nav-items">
|
||||
<a href="https://flutter.dev/">Flutter Home</a>
|
||||
<a href="https://api.flutter.dev/">API Docs</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="description-title-row">
|
||||
<h1>Filipino Cuisine</h1>
|
||||
<div class="type-label type-label-bordered">demo</div>
|
||||
</div>
|
||||
<p>By github.com/markgrancapal</p>
|
||||
<div class="toolbar">
|
||||
<div class="buttons">
|
||||
<button class="mdc-button mdc-button--outlined" onclick="window.location.href = 'web/filipino_cuisine';"><span class="mdc-button__ripple"></span> Launch App</button><button class="mdc-button mdc-button--outlined" onclick="window.location.href = 'https://github.com/markgrancapal/filipino_cuisine';">
|
||||
<div class="mdc-button__ripple"></div>
|
||||
<i class="material-icons mdc-button__icon" aria-hidden="true">code</i>
|
||||
<span class="mdc-button__label">Source Code</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="tags-container">
|
||||
<div class="tags-label">
|
||||
<i class="material-icons">local_offer</i>
|
||||
<span>Tags</span>
|
||||
</div>
|
||||
<div class="tags">
|
||||
<a href="./#?search=tag%3Ademo">demo</a>
|
||||
<a href="./#?search=tag%3Aflutter create">flutter create</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slider-container">
|
||||
<div class="slider-content">
|
||||
<div class="slider-single"><img class="slider-single-image" src="images/filipino_cuisine1.png" alt="Filipino Cuisine screenshot" /></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="description">
|
||||
<p>Flutter Create challenge entry
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<div class="footer">
|
||||
<span>© Flutter 2020</span>
|
||||
</div>
|
||||
|
||||
</html>
|
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 347 KiB |
@ -1 +1 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
||||
6d85f018e9574a97e85c07981664960c
|
@ -1 +1 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
||||
6d85f018e9574a97e85c07981664960c
|
@ -1 +1 @@
|
||||
{"app_name":"example","version":null,"build_number":null}
|
||||
{"app_name":"example"}
|
@ -1 +0,0 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
@ -1 +0,0 @@
|
||||
{"banana.png":["assets/banana.png"],"beef.png":["assets/beef.png"],"beef_caldereta.jpg":["assets/beef_caldereta.jpg"],"black_pepper.png":["assets/black_pepper.png"],"bokchoy.png":["assets/bokchoy.png"],"butter.png":["assets/butter.png"],"cabbage.png":["assets/cabbage.png"],"calamares.jpg":["assets/calamares.jpg"],"carrot.png":["assets/carrot.png"],"cheese.png":["assets/cheese.png"],"chili.png":["assets/chili.png"],"egg.png":["assets/egg.png"],"embutido.jpg":["assets/embutido.jpg"],"flour.png":["assets/flour.png"],"fonts/Arkipelago.otf":["fonts/Arkipelago.otf"],"fonts/OpenSans-Bold.ttf":["fonts/OpenSans-Bold.ttf"],"fonts/OpenSans-Regular.ttf":["fonts/OpenSans-Regular.ttf"],"garlic.png":["assets/garlic.png"],"green_beans.png":["assets/green_beans.png"],"green_bell.png":["assets/green_bell.png"],"ground_pork.png":["assets/ground_pork.png"],"lemon.png":["assets/lemon.png"],"oil.png":["assets/oil.png"],"onion.png":["assets/onion.png"],"pochero.jpg":["assets/pochero.jpg"],"pork.png":["assets/pork.png"],"pork_sisig.jpg":["assets/pork_sisig.jpg"],"potato.png":["assets/potato.png"],"preview.png":["assets/preview.png"],"raisins.png":["assets/raisins.png"],"red_bell.png":["assets/red_bell.png"],"red_pepper.png":["assets/red_pepper.png"],"salt.png":["assets/salt.png"],"sausage.png":["assets/sausage.png"],"squid.png":["assets/squid.png"],"tomato.png":["assets/tomato.png"],"yellow_onion.png":["assets/yellow_onion.png"]}
|
@ -1 +0,0 @@
|
||||
[{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"opr","fonts":[{"asset":"fonts/OpenSans-Regular.ttf"}]},{"family":"opb","fonts":[{"asset":"fonts/OpenSans-Bold.ttf"}]},{"family":"ark","fonts":[{"asset":"fonts/Arkipelago.otf"}]}]
|
Before Width: | Height: | Size: 202 KiB |
Before Width: | Height: | Size: 385 KiB |
Before Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 493 KiB |
Before Width: | Height: | Size: 455 KiB |
Before Width: | Height: | Size: 203 KiB |
Before Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 290 KiB |
Before Width: | Height: | Size: 389 KiB |
Before Width: | Height: | Size: 384 KiB |
Before Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 225 KiB |
Before Width: | Height: | Size: 305 KiB |
Before Width: | Height: | Size: 224 KiB |
Before Width: | Height: | Size: 648 KiB |
Before Width: | Height: | Size: 352 KiB |
Before Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 267 KiB |
Before Width: | Height: | Size: 310 KiB |
Before Width: | Height: | Size: 424 KiB |
Before Width: | Height: | Size: 634 KiB |
Before Width: | Height: | Size: 281 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 387 KiB |
Before Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 400 KiB |
Before Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 137 KiB |
Before Width: | Height: | Size: 747 KiB |
Before Width: | Height: | Size: 364 KiB |
Before Width: | Height: | Size: 348 KiB |
@ -1,223 +0,0 @@
|
||||
'use strict';
|
||||
const MANIFEST = 'flutter-app-manifest';
|
||||
const TEMP = 'flutter-temp-cache';
|
||||
const CACHE_NAME = 'flutter-app-cache';
|
||||
const RESOURCES = {
|
||||
"assets/assets/green_bell.png": "373df11b149ea523ffd22053664db8b8",
|
||||
"assets/assets/beef_caldereta.jpg": "7c7bf11d9297b54d4930d0bf1892dcc6",
|
||||
"assets/assets/salt.png": "a3c2e4bd56222c9bd190b388bedfd3bd",
|
||||
"assets/assets/green_beans.png": "15f736eec27ee44bd14173cd37078895",
|
||||
"assets/assets/raisins.png": "4dc449290a8a6bb80a5acfda1e02845a",
|
||||
"assets/assets/squid.png": "e10b66dc85c03323c0550d1c5fd579bd",
|
||||
"assets/assets/egg.png": "7a7460c39df5d9c58335c76f5d3b2fc9",
|
||||
"assets/assets/pochero.jpg": "861c8e05010307c1ac8280d6098d5802",
|
||||
"assets/assets/potato.png": "8154441acf8b33a637b14178c776cf24",
|
||||
"assets/assets/embutido.jpg": "65f78137fd53c4c5009426bf590f0d03",
|
||||
"assets/assets/onion.png": "347f96bf58f6ffcd8321276e9db8f24e",
|
||||
"assets/assets/preview.png": "17dae9b3d7e78b11f7fe8c2ff68b4004",
|
||||
"assets/assets/garlic.png": "dfa782c4a86d7b79807dd65c645239cf",
|
||||
"assets/assets/bokchoy.png": "5ce55ccae844b9074474a136aa073011",
|
||||
"assets/assets/cheese.png": "a410babc50699ba0cfeff849b828906c",
|
||||
"assets/assets/red_pepper.png": "b0813ceb27e056351c1164d848e903a8",
|
||||
"assets/assets/ground_pork.png": "85bac44629befe56359b0c6775e92ea8",
|
||||
"assets/assets/butter.png": "771ff83bef2090b44ca2bf960542636b",
|
||||
"assets/assets/tomato.png": "0eb21f102cddac27e2e7ba53228bd69a",
|
||||
"assets/assets/black_pepper.png": "4d889fc5e27ad63d6b97106eae698370",
|
||||
"assets/assets/sausage.png": "07d1eea2cd3fc8852c97a59112f418a1",
|
||||
"assets/assets/yellow_onion.png": "e93b2543131d2eb5e88edb8b22c4b67f",
|
||||
"assets/assets/flour.png": "2918647aa676caaece47a7d9d8b7d944",
|
||||
"assets/assets/banana.png": "37747de3b5e65eb5450a5c37529bbd71",
|
||||
"assets/assets/lemon.png": "e5133b9f04dd894d8b20b52087f0f370",
|
||||
"assets/assets/calamares.jpg": "5dbbd5626d6ca8ab998cbe6b4a7da2ca",
|
||||
"assets/assets/red_bell.png": "9eb6f83655c89a7fdfd2ff521a0c2b3c",
|
||||
"assets/assets/carrot.png": "4401bb5805931f67f168681b82782fbe",
|
||||
"assets/assets/chili.png": "3689788fe53095366db2f6bcf02a8791",
|
||||
"assets/assets/oil.png": "0d0d373d4d01c625809d1f28ecbb4427",
|
||||
"assets/assets/pork_sisig.jpg": "1104ee422e330de6e6ad42c253a7e0cd",
|
||||
"assets/assets/beef.png": "c52cc4e2054ad0b54ae66d13e0118dc4",
|
||||
"assets/assets/cabbage.png": "d5d7e5a9fd435a974944388ddfbd30ef",
|
||||
"assets/assets/pork.png": "efd8cc008658263b23213e9fc77d5f49",
|
||||
"assets/AssetManifest.json": "548d1ff88261be32e74ae616118e1d8f",
|
||||
"assets/FontManifest.json": "6e8f98a76d0618880949fbf456dfe91d",
|
||||
"assets/fonts/OpenSans-Regular.ttf": "629a55a7e793da068dc580d184cc0e31",
|
||||
"assets/fonts/Arkipelago.otf": "8d60d9104579c47ed7aed99f61cba541",
|
||||
"assets/fonts/OpenSans-Bold.ttf": "50145685042b4df07a1fd19957275b81",
|
||||
"assets/fonts/MaterialIcons-Regular.otf": "4e6447691c9509f7acdbf8a931a85ca1",
|
||||
"assets/NOTICES": "3e21cdaaaba67eb35fce10cee71aa8f0",
|
||||
"data.json": "35a2823b6112e4fca5d15ccc2f40f93c",
|
||||
"version.json": "80ec7e6e3e8a22f5e6876e9f61e47dd9",
|
||||
"main.dart.js": "8227bbdecb8c224d0144c7562b691a49",
|
||||
"index.html": "51839f812a32cce7ac40ca488295da30",
|
||||
"/": "51839f812a32cce7ac40ca488295da30"
|
||||
};
|
||||
|
||||
// The application shell files that are downloaded before a service worker can
|
||||
// start.
|
||||
const CORE = [
|
||||
"/",
|
||||
"main.dart.js",
|
||||
"index.html",
|
||||
"assets/NOTICES",
|
||||
"assets/AssetManifest.json",
|
||||
"assets/FontManifest.json"];
|
||||
// During install, the TEMP cache is populated with the application shell files.
|
||||
self.addEventListener("install", (event) => {
|
||||
self.skipWaiting();
|
||||
return event.waitUntil(
|
||||
caches.open(TEMP).then((cache) => {
|
||||
return cache.addAll(
|
||||
CORE.map((value) => new Request(value, {'cache': 'reload'})));
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
// During activate, the cache is populated with the temp files downloaded in
|
||||
// install. If this service worker is upgrading from one with a saved
|
||||
// MANIFEST, then use this to retain unchanged resource files.
|
||||
self.addEventListener("activate", function(event) {
|
||||
return event.waitUntil(async function() {
|
||||
try {
|
||||
var contentCache = await caches.open(CACHE_NAME);
|
||||
var tempCache = await caches.open(TEMP);
|
||||
var manifestCache = await caches.open(MANIFEST);
|
||||
var manifest = await manifestCache.match('manifest');
|
||||
// When there is no prior manifest, clear the entire cache.
|
||||
if (!manifest) {
|
||||
await caches.delete(CACHE_NAME);
|
||||
contentCache = await caches.open(CACHE_NAME);
|
||||
for (var request of await tempCache.keys()) {
|
||||
var response = await tempCache.match(request);
|
||||
await contentCache.put(request, response);
|
||||
}
|
||||
await caches.delete(TEMP);
|
||||
// Save the manifest to make future upgrades efficient.
|
||||
await manifestCache.put('manifest', new Response(JSON.stringify(RESOURCES)));
|
||||
return;
|
||||
}
|
||||
var oldManifest = await manifest.json();
|
||||
var origin = self.location.origin;
|
||||
for (var request of await contentCache.keys()) {
|
||||
var key = request.url.substring(origin.length + 1);
|
||||
if (key == "") {
|
||||
key = "/";
|
||||
}
|
||||
// If a resource from the old manifest is not in the new cache, or if
|
||||
// the MD5 sum has changed, delete it. Otherwise the resource is left
|
||||
// in the cache and can be reused by the new service worker.
|
||||
if (!RESOURCES[key] || RESOURCES[key] != oldManifest[key]) {
|
||||
await contentCache.delete(request);
|
||||
}
|
||||
}
|
||||
// Populate the cache with the app shell TEMP files, potentially overwriting
|
||||
// cache files preserved above.
|
||||
for (var request of await tempCache.keys()) {
|
||||
var response = await tempCache.match(request);
|
||||
await contentCache.put(request, response);
|
||||
}
|
||||
await caches.delete(TEMP);
|
||||
// Save the manifest to make future upgrades efficient.
|
||||
await manifestCache.put('manifest', new Response(JSON.stringify(RESOURCES)));
|
||||
return;
|
||||
} catch (err) {
|
||||
// On an unhandled exception the state of the cache cannot be guaranteed.
|
||||
console.error('Failed to upgrade service worker: ' + err);
|
||||
await caches.delete(CACHE_NAME);
|
||||
await caches.delete(TEMP);
|
||||
await caches.delete(MANIFEST);
|
||||
}
|
||||
}());
|
||||
});
|
||||
|
||||
// The fetch handler redirects requests for RESOURCE files to the service
|
||||
// worker cache.
|
||||
self.addEventListener("fetch", (event) => {
|
||||
if (event.request.method !== 'GET') {
|
||||
return;
|
||||
}
|
||||
var origin = self.location.origin;
|
||||
var key = event.request.url.substring(origin.length + 1);
|
||||
// Redirect URLs to the index.html
|
||||
if (key.indexOf('?v=') != -1) {
|
||||
key = key.split('?v=')[0];
|
||||
}
|
||||
if (event.request.url == origin || event.request.url.startsWith(origin + '/#') || key == '') {
|
||||
key = '/';
|
||||
}
|
||||
// If the URL is not the RESOURCE list then return to signal that the
|
||||
// browser should take over.
|
||||
if (!RESOURCES[key]) {
|
||||
return;
|
||||
}
|
||||
// If the URL is the index.html, perform an online-first request.
|
||||
if (key == '/') {
|
||||
return onlineFirst(event);
|
||||
}
|
||||
event.respondWith(caches.open(CACHE_NAME)
|
||||
.then((cache) => {
|
||||
return cache.match(event.request).then((response) => {
|
||||
// Either respond with the cached resource, or perform a fetch and
|
||||
// lazily populate the cache.
|
||||
return response || fetch(event.request).then((response) => {
|
||||
cache.put(event.request, response.clone());
|
||||
return response;
|
||||
});
|
||||
})
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('message', (event) => {
|
||||
// SkipWaiting can be used to immediately activate a waiting service worker.
|
||||
// This will also require a page refresh triggered by the main worker.
|
||||
if (event.data === 'skipWaiting') {
|
||||
self.skipWaiting();
|
||||
return;
|
||||
}
|
||||
if (event.data === 'downloadOffline') {
|
||||
downloadOffline();
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
// Download offline will check the RESOURCES for all files not in the cache
|
||||
// and populate them.
|
||||
async function downloadOffline() {
|
||||
var resources = [];
|
||||
var contentCache = await caches.open(CACHE_NAME);
|
||||
var currentContent = {};
|
||||
for (var request of await contentCache.keys()) {
|
||||
var key = request.url.substring(origin.length + 1);
|
||||
if (key == "") {
|
||||
key = "/";
|
||||
}
|
||||
currentContent[key] = true;
|
||||
}
|
||||
for (var resourceKey of Object.keys(RESOURCES)) {
|
||||
if (!currentContent[resourceKey]) {
|
||||
resources.push(resourceKey);
|
||||
}
|
||||
}
|
||||
return contentCache.addAll(resources);
|
||||
}
|
||||
|
||||
// Attempt to download the resource online before falling back to
|
||||
// the offline cache.
|
||||
function onlineFirst(event) {
|
||||
return event.respondWith(
|
||||
fetch(event.request).then((response) => {
|
||||
return caches.open(CACHE_NAME).then((cache) => {
|
||||
cache.put(event.request, response.clone());
|
||||
return response;
|
||||
});
|
||||
}).catch((error) => {
|
||||
return caches.open(CACHE_NAME).then((cache) => {
|
||||
return cache.match(event.request).then((response) => {
|
||||
if (response != null) {
|
||||
return response;
|
||||
}
|
||||
throw error;
|
||||
});
|
||||
});
|
||||
})
|
||||
);
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title></title>
|
||||
<script defer src="main.dart.js" type="application/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
@ -1 +0,0 @@
|
||||
{"app_name":"filipino_cuisine","version":null,"build_number":null}
|
@ -1 +1 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
||||
6d85f018e9574a97e85c07981664960c
|
@ -1 +1 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
||||
6d85f018e9574a97e85c07981664960c
|
@ -1 +1 @@
|
||||
{"app_name":"github_dataviz","version":null,"build_number":null}
|
||||
{"app_name":"github_dataviz"}
|
@ -1 +1 @@
|
||||
2915258d7281811579731bcf136f2206
|
||||
28670d382415ed9144f2c379997f8de4
|
@ -1 +1 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
||||
6d85f018e9574a97e85c07981664960c
|
@ -1 +1 @@
|
||||
{"app_name":"particle_background","version":null,"build_number":null}
|
||||
{"app_name":"particle_background"}
|
@ -1 +1 @@
|
||||
2915258d7281811579731bcf136f2206
|
||||
28670d382415ed9144f2c379997f8de4
|
@ -1 +1 @@
|
||||
2a776488c2ded141867fa7c27663cab2
|
||||
6d85f018e9574a97e85c07981664960c
|