From 5782ef70fbf2e50ae7c5d502b88aaec86b40b06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 30 Nov 2019 16:05:36 +0100 Subject: [PATCH] Updated manifest.json --- public/manifest.json | 27 ++++++++++++--------------- templates/base.html.twig | 18 +++++++++++++++--- 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 5a160014..1b62c015 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,22 +1,19 @@ { - "manifest_version": 2, - "version": "1.0.0", "name": "Part-DB", - "default_locale": "en", - "author": "Jan Böhmer", - "homepage_url": "https://github.com/jbtronics/Part-DB", - "description": "A managment tool for electronical parts.", + "short_name": "Part-DB", + "description": "Inventory managment for electronic components.", + "lang": "en", + "start_url": "/en/?source=pwa", + "display": "standalone", + "theme_color": "#ffffff", "icons": [ { - "src": "\/icons\/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image\/png" + "src": "/icons/android-chrome-192x192.png", + "sizes": "192x192" }, { - "src": "\/icons\/android-chrome-384x384.png", - "sizes": "384x384", - "type": "image\/png" + "src": "/icons/android-chrome-384x384.png", + "sizes": "384x384" } - ], - "theme_color": "#ffffff" -} + ] +} \ No newline at end of file diff --git a/templates/base.html.twig b/templates/base.html.twig index 40156b78..992613db 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -4,14 +4,26 @@ + + + + + + + + + + + + + + - - - + {% apply trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endapply %} {% block stylesheets %}