From 8a56b226353f0611498e6cae4ead94ce550d6d2a Mon Sep 17 00:00:00 2001 From: Donald Cheng Hong Zou Date: Tue, 18 Jan 2022 11:02:19 -0500 Subject: [PATCH] Added manifest.json --- .gitignore | 11 ++++------- src/static/json/manifest.json | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 src/static/json/manifest.json diff --git a/.gitignore b/.gitignore index 629f0a3..4cecc0d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,11 @@ .vscode/sftp.json src/.vscode/sftp.json .DS_Store -wg.db -*.json .idea -src/test.py -tmp +src/db __pycache__ +src/test.py +*.db src/wg-dashboard.ini src/static/pic.xd *.conf @@ -15,7 +14,5 @@ public_key.txt venv/** log/** release/* -*.db src/db/wgdashboard.db -.jshintrc -src/db \ No newline at end of file +.jshintrc \ No newline at end of file diff --git a/src/static/json/manifest.json b/src/static/json/manifest.json new file mode 100644 index 0000000..9b29163 --- /dev/null +++ b/src/static/json/manifest.json @@ -0,0 +1,31 @@ +{ + "theme_color": "#343a40", + "background_color": "#343a40", + "display": "fullscreen", + "scope": "/", + "start_url": "/", + "name": "WGDashboard", + "short_name": "WGDashboard", + "icons": [ + { + "src": "/static/img/icon-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/static/img/icon-256x256.png", + "sizes": "256x256", + "type": "image/png" + }, + { + "src": "/static/img/icon-384x384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "/static/img/icon-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} \ No newline at end of file