Skip to content

Commit 1849352

Browse files
committed
upd
1 parent 0ec2457 commit 1849352

File tree

7 files changed

+589
-7
lines changed

7 files changed

+589
-7
lines changed

bio/icon.svg

Lines changed: 11 additions & 0 deletions
Loading

bio/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
6+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
<meta name="mobile-web-app-capable" content="yes">
9+
<meta name="theme-color" content="#222222">
10+
<link rel="manifest" href="site.webmanifest">
11+
<link rel="stylesheet" href="style.css?v=251011b">
12+
</head>
13+
<body>
14+
<div id="container">
15+
<h1>Biometric Analysis</h1>
16+
<input type="file" id="video-upload" accept="video/*"/><br/>
17+
<button id="analyze-button">Analyze Video</button><br/>
18+
<video id="video-player" controls></video><br/>
19+
<div id="results">
20+
<h2>Analysis Results</h2>
21+
<pre id="results-output"></pre>
22+
</div>
23+
<script type="text/javascript" src="main.js?v=251025a"></script>
24+
</body>
25+
</html>

bio/serviceWorker.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
const staticApp = "static-app"
2+
const assetsApp = [
3+
"/zc/tnk/",
4+
"/zc/tnk/index.html",
5+
"/zc/tnk/style.css",
6+
"/zc/tnk/main.js",
7+
"/zc/tnk/fonts/stmvelish.woff",
8+
"/zc/tnk/kblh.js"
9+
]
10+
11+
self.addEventListener("install", installEvent => {
12+
installEvent.waitUntil(
13+
caches.open(staticApp).then(cache => {
14+
cache.addAll(assetsApp)
15+
})
16+
)
17+
})
18+
19+
self.addEventListener("fetch", fetchEvent => {
20+
fetchEvent.respondWith(
21+
caches.match(fetchEvent.request).then(res => {
22+
return res || fetch(fetchEvent.request)
23+
})
24+
)
25+
})

bio/site.webmanifest

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "tnk",
3+
"short_name": "tnk",
4+
"icons": [
5+
{
6+
"src": "icon.svg",
7+
"sizes": "48x48 72x72 96x96 128x128 192x192 256x256 512x512",
8+
"type": "image/svg+xml",
9+
"purpose": "any"
10+
}
11+
],
12+
"theme_color": "#202020",
13+
"background_color": "#202020",
14+
"display": "standalone"
15+
}

0 commit comments

Comments
 (0)