Skip to content

Commit

Permalink
add shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed Feb 22, 2024
1 parent 72fbf3a commit bdbfa89
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
Binary file added images/siteicons/about.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 images/siteicons/settings.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 images/siteicons/stats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,36 @@
],
"start_url": "/",
"id": "com.wallos.app",
"shortcuts": [
{
"name": "Subscriptions",
"short_name": "Subscriptions",
"description": "View your subscriptions",
"url": "index.php",
"icons": [{ "src": "images/siteicons/subscription.png", "sizes": "48x48" }]
},
{
"name": "Stats",
"short_name": "Stats",
"description": "View your statistics",
"url": "stats.php",
"icons": [{ "src": "images/siteicons/stats.png", "sizes": "48x48" }]
},
{
"name": "Settings",
"short_name": "Settings",
"description": "Change your settings",
"url": "settings.php",
"icons": [{ "src": "images/siteicons/settings.png", "sizes": "48x48" }]
},
{
"name": "About",
"short_name": "About",
"description": "More info about Wallos",
"url": "about.php",
"icons": [{ "src": "images/siteicons/about.png", "sizes": "48x48" }]
}
],
"background_color": "#FFFFFF",
"display": "standalone",
"scope": "/",
Expand Down
12 changes: 12 additions & 0 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ self.addEventListener('install', function(event) {
'images/siteicons/websearch.png',
'images/siteicons/save.png',
'images/siteicons/delete.png',
'images/siteicons/category.png',
'images/siteicons/check.png',
'images/siteicons/editavatar.png',
'images/siteicons/notes.png',
'images/siteicons/payment.png',
'images/siteicons/plusicon.png',
'images/siteicons/sort.png',
'images/siteicons/subscription.png',
'images/siteicons/web.png',
'images/siteicons/stats.png',
'images/siteicons/settings.png',
'images/siteicons/about.png',
'images/uploads/icons/paypal.png',
'images/uploads/icons/creditcard.png',
'images/uploads/icons/banktransfer.png',
Expand Down

0 comments on commit bdbfa89

Please sign in to comment.