diff --git a/package.json b/package.json index 1d13bc0..1a9242a 100644 --- a/package.json +++ b/package.json @@ -1,38 +1,45 @@ { - "name": "com.netsyms.packagehelper", - "displayName": "PackageHelper", - "version": "1.4.0", - "description": "Assistant app for door-to-door package delivery.", - "main": "www/index.html", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "keywords": [ - "ecosystem:cordova" - ], - "author": "Netsyms Technologies", - "license": "MPL-2.0", - "cordova": { - "plugins": { - "cordova-plugin-geolocation": {}, - "cordova-plugin-inappbrowser": {}, - "cordova-plugin-powermanagement-netsyms": {}, - "cordova-plugin-whitelist": {}, - "phonegap-plugin-barcodescanner": {}, - "cordova-plugin-device": {} + "name": "com.netsyms.packagehelper", + "displayName": "PackageHelper", + "version": "1.4.0", + "description": "Assistant app for door-to-door package delivery.", + "product_string": "PackageHelper", + "main": "www/index.html", + "window": { + "icon": "res/logo.png", + "id": "com.netsyms.packagehelper_window_main_00001", + "frame": true }, - "platforms": [ - "android", - "browser" - ] - }, - "dependencies": { - "cordova-android": "^8.1.0", - "cordova-browser": "^6.0.0", - "cordova-plugin-device": "^2.0.3", - "cordova-plugin-inappbrowser": "^3.1.0", - "cordova-plugin-powermanagement-netsyms": "git+https://source.netsyms.com/Netsyms/cordova-plugin-powermanagement", - "cordova-plugin-whitelist": "^1.3.4" - }, - "devDependencies": {} -} \ No newline at end of file + "user_agent": "Mozilla/5.0 (%osinfo) %name/%ver NW.js/%nwver WebKit/%webkit_ver Chromium/%chromium_ver", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "ecosystem:cordova" + ], + "author": "Netsyms Technologies", + "license": "MPL-2.0", + "cordova": { + "plugins": { + "cordova-plugin-geolocation": {}, + "cordova-plugin-inappbrowser": {}, + "cordova-plugin-powermanagement-netsyms": {}, + "cordova-plugin-whitelist": {}, + "phonegap-plugin-barcodescanner": {}, + "cordova-plugin-device": {} + }, + "platforms": [ + "android", + "browser" + ] + }, + "dependencies": { + "cordova-android": "^8.1.0", + "cordova-browser": "^6.0.0", + "cordova-plugin-device": "^2.0.3", + "cordova-plugin-inappbrowser": "^3.1.0", + "cordova-plugin-powermanagement-netsyms": "git+https://source.netsyms.com/Netsyms/cordova-plugin-powermanagement", + "cordova-plugin-whitelist": "^1.3.4" + }, + "devDependencies": {} +} diff --git a/res/logo.png b/res/logo.png new file mode 100644 index 0000000..44a3225 Binary files /dev/null and b/res/logo.png differ diff --git a/www/assets/css/app.css b/www/assets/css/app.css index 3b020d0..ff29afc 100644 --- a/www/assets/css/app.css +++ b/www/assets/css/app.css @@ -23,6 +23,17 @@ Framework7 and FontAwesome both have a .fab class padding-bottom: var(--f7-fab-size); } +.navbar, .item-link .item-title, .item-divider, .item-label, .noselect { + user-select: none; +} + +.navbar-inner { + -webkit-app-region: drag; +} +.navbar-inner > * { + -webkit-app-region: no-drag; +} + /* * Material icons are too big and disrupt the flow of text */ diff --git a/www/pages/home.html b/www/pages/home.html index 00d9882..9d886b7 100644 --- a/www/pages/home.html +++ b/www/pages/home.html @@ -12,7 +12,7 @@
-
+