mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-28 11:03:16 +01:00
[design] provide url helper text on add bookmark modal
This commit is contained in:
parent
442e084549
commit
40c96e328d
@ -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);
|
||||
|
@ -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(".");
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user