Skip to content

Commit

Permalink
[js] Try making it webapp compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Akodiat committed Jul 15, 2019
1 parent 172a6af commit f92e0f3
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 0 deletions.
Binary file added doc/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 106 additions & 0 deletions doc/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"short_name": "Polycubes",
"name": "Polycubes",
"icons": [
{
"src": "/doc/icon-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/image/icon-512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "/ruleEdit",
"background_color": "#3367D6",
"display": "standalone",
"theme_color": "#3367D6"
}

3 changes: 3 additions & 0 deletions ruleEdit.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<style>
body {
padding: 0;
Expand Down Expand Up @@ -42,6 +44,7 @@
width: 40px;
}
</style>
<link rel="manifest" href="/manifest.json">
</head>

<body>
Expand Down

0 comments on commit f92e0f3

Please sign in to comment.