diff --git a/config.xml b/config.xml index 766798f..9dfcf71 100644 --- a/config.xml +++ b/config.xml @@ -41,6 +41,7 @@ + diff --git a/package.json b/package.json index 8565feb..af610dc 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "license": "MPL-2.0", "dependencies": { "cordova-android": "^6.3.0", + "cordova-browser": "^4.1.0", "cordova-plugin-add-swift-support": "^1.7.0", "cordova-plugin-app-version": "^0.1.9", "cordova-plugin-console": "git+https://github.com/apache/cordova-plugin-console.git", @@ -39,7 +40,8 @@ "cordova-plugin-file": {} }, "platforms": [ - "android" + "android", + "browser" ] } } \ No newline at end of file diff --git a/www/css/app.css b/www/css/app.css index c52af5e..5ce2415 100644 --- a/www/css/app.css +++ b/www/css/app.css @@ -109,7 +109,7 @@ html, body { .navbar-right { margin-top: -6px; } - + .navbar-right li a img { margin-top: -1px; } @@ -125,4 +125,23 @@ html, body { .loading-text { font-size: 18px; +} + +.circle-btn { + display: flex; + align-items: center; + justify-content: center; + align-content: center; + border-radius: 50%; + height: 5rem; + width: 5rem; + position: absolute; + bottom: 0; + right: 0; + margin: 2rem; +} + +.circle-btn img { + height: 3rem; + width: 3rem; } \ No newline at end of file diff --git a/www/js/app.js b/www/js/app.js index 666c963..59e700c 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -156,7 +156,6 @@ function setnavbar(type, screentitle, returnscreen) { break; case "otp": setnavbartitle("Auth Keys", true, "home"); - addnavbarbtn("addotp", "ic_add.svg", "Add Key"); break; case "app": setnavbartitle(screentitle, true, returnscreen); diff --git a/www/views/addotp.html b/www/views/addotp.html index 540c44c..2f26a3b 100644 --- a/www/views/addotp.html +++ b/www/views/addotp.html @@ -1,7 +1,6 @@ -

diff --git a/www/views/otp.html b/www/views/otp.html index 7573dd0..4ce8ddd 100644 --- a/www/views/otp.html +++ b/www/views/otp.html @@ -4,13 +4,16 @@
+
+ +
- +

- You haven't added any authentication keys yet. Press the icon to add one. +

You haven't added any authentication keys yet. Press to add one.