diff --git a/package.json b/package.json index 58d02a1..bdbf162 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "icon": "resource://verticaltabsreloaded-at-go-dev-dot-de/data/icon.png", "author": "Croydon", "license": "MPL-2.0", - "version": "0.8.0", + "version": "0.8.1-alpha", "permissions": { "private-browsing": true, @@ -15,7 +15,7 @@ }, "engines": { - "firefox": "51.0 - 53.0" + "firefox": "52.0 - 53.0" }, "hasEmbeddedWebExtension": true, "preferences-branch": "@verticaltabsreloaded", diff --git a/webextension/manifest.json b/webextension/manifest.json index a26cc21..1978a7f 100644 --- a/webextension/manifest.json +++ b/webextension/manifest.json @@ -24,7 +24,7 @@ "gecko": { "id": "verticaltabsreloaded@go-dev.de", - "strict_min_version": "51.0" + "strict_min_version": "52.0" } } } diff --git a/webextension/options.html b/webextension/options.html index d6d08bb..846f0bb 100644 --- a/webextension/options.html +++ b/webextension/options.html @@ -2,14 +2,70 @@ + + + + + + - +
-
- -
+ + +
diff --git a/webextension/options.js b/webextension/options.js index f7dd35d..f9d6768 100644 --- a/webextension/options.js +++ b/webextension/options.js @@ -145,44 +145,41 @@ function build() return; } - document.getElementById("settings").innerHTML += "
"; - if(setting.type == "bool") { - document.getElementById("settings").innerHTML += '
'; + document.getElementById("settings").innerHTML += '
'; } if(setting.type == "string") { if(setting.placeholder == undefined) { setting.placeholder = ""; } - document.getElementById("settings").innerHTML += setting.title + ' '; + document.getElementById("settings").innerHTML += '' + setting.title + ' '; } if(setting.type == "menulist") { - newInnerHTML = setting.title + ' '; Object.keys(setting.options).forEach(function(key) { let option = setting.options[key]; newInnerHTML += ''; }); - newInnerHTML += ''; + newInnerHTML += ''; document.getElementById("settings").innerHTML += newInnerHTML; } if(setting.type == "control") { - document.getElementById("settings").innerHTML += setting.title + ' '; + document.getElementById("settings").innerHTML += '' + setting.title + ' '; } if(setting.description != undefined) { - document.getElementById("settings").innerHTML += '
' + setting.description; + document.getElementById("settings").innerHTML += '' + setting.description + ''; } - }); }