[design] provide url helper text on add bookmark modal

This commit is contained in:
zombieFox 2019-08-09 20:19:27 +01:00
parent 442e084549
commit 40c96e328d
3 changed files with 12 additions and 2 deletions

View File

@ -600,6 +600,14 @@ var link = (function() {
var urlInputWrap = helper.node("div|class:input-wrap");
var urlLabel = helper.node("label:URL|for:link-form-input-url");
var urlInput = helper.node("input|type:text,class:link-form-input-url mb-0,id:link-form-input-url,placeholder:https://www.example.com/,tabindex:1,autocomplete:off,autocorrect:off,autocapitalize:off,spellcheck:false");
var urlInputHelper = helper.makeNode({
tag: "p",
text: "Be sure to use the full URL and include \"http://\" or \"https://\".",
attr: [{
key: "class",
value: "form-helper small muted"
}]
});
var colorWrap = helper.node("div|class:input-wrap");
var colorFormGroup = helper.node("div|class:form-group mb-0");
var colorLabel = helper.node("label:Accent override|for:link-form-input-color");
@ -638,6 +646,7 @@ var link = (function() {
urlInputWrap.appendChild(urlLabel);
urlInputWrap.appendChild(urlInput);
fieldset.appendChild(urlInputWrap);
fieldset.appendChild(urlInputHelper);
fieldset.appendChild(helper.node("hr"));
colorFormGroup.appendChild(colorInput);
colorButtonRefresh.appendChild(colorButtonRefreshIcon);

View File

@ -1,6 +1,7 @@
var version = (function() {
var current = "3.68.0";
var current = "3.69.0";
var compare = function(a, b) {
var pa = a.split(".");

View File

@ -2,7 +2,7 @@
"name": "nightTab",
"short_name": "nightTab",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"version": "3.68.0",
"version": "3.69.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"