Add link in settings to captcha FAQ.
This commit is contained in:
parent
29b5f315f2
commit
f285e5e51f
@ -9,6 +9,7 @@
|
|||||||
"downloads": "https://www.4chan-x.net/builds/",
|
"downloads": "https://www.4chan-x.net/builds/",
|
||||||
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",
|
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",
|
||||||
"faq": "https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions",
|
"faq": "https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions",
|
||||||
|
"captchaFAQ": "https://github.com/ccd0/4chan-x/wiki/Captcha-FAQ",
|
||||||
"cssGuide": "https://github.com/ccd0/4chan-x/wiki/Styling-Guide",
|
"cssGuide": "https://github.com/ccd0/4chan-x/wiki/Styling-Guide",
|
||||||
"license": "https://github.com/ccd0/4chan-x/blob/master/LICENSE",
|
"license": "https://github.com/ccd0/4chan-x/blob/master/LICENSE",
|
||||||
"changelog": "https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md",
|
"changelog": "https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md",
|
||||||
|
|||||||
@ -156,10 +156,13 @@ Settings =
|
|||||||
containers.splice level+1, containers.length - (level+1)
|
containers.splice level+1, containers.length - (level+1)
|
||||||
$.add containers[level], div
|
$.add containers[level], div
|
||||||
|
|
||||||
for key, obj of Config.main
|
for keyFS, obj of Config.main
|
||||||
fs = $.el 'fieldset',
|
fs = $.el 'fieldset',
|
||||||
<%= html('<legend>${key}</legend>') %>
|
<%= html('<legend>${keyFS}</legend>') %>
|
||||||
addCheckboxes fs, obj
|
addCheckboxes fs, obj
|
||||||
|
if keyFS is 'Posting and Captchas'
|
||||||
|
$.add fs, $.el 'p',
|
||||||
|
<%= html('For more info on captcha options and issues, see the <a href="' + meta.captchaFAQ + '" target="_blank">captcha FAQ</a>.') %>
|
||||||
$.add section, fs
|
$.add section, fs
|
||||||
addCheckboxes $('div[data-name="JSON Index"] > .suboption-list', section), Config.Index
|
addCheckboxes $('div[data-name="JSON Index"] > .suboption-list', section), Config.Index
|
||||||
|
|
||||||
|
|||||||
@ -597,6 +597,9 @@ div[data-checked="false"] > .suboption-list {
|
|||||||
border-left: 1px solid;
|
border-left: 1px solid;
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
}
|
}
|
||||||
|
#fourchanx-settings .section-main p {
|
||||||
|
margin: .5em 0 0;
|
||||||
|
}
|
||||||
.section-filter ul {
|
.section-filter ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user