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/",
|
||||
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",
|
||||
"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",
|
||||
"license": "https://github.com/ccd0/4chan-x/blob/master/LICENSE",
|
||||
"changelog": "https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md",
|
||||
|
||||
@ -156,10 +156,13 @@ Settings =
|
||||
containers.splice level+1, containers.length - (level+1)
|
||||
$.add containers[level], div
|
||||
|
||||
for key, obj of Config.main
|
||||
for keyFS, obj of Config.main
|
||||
fs = $.el 'fieldset',
|
||||
<%= html('<legend>${key}</legend>') %>
|
||||
<%= html('<legend>${keyFS}</legend>') %>
|
||||
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
|
||||
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-bottom: 1px solid;
|
||||
}
|
||||
#fourchanx-settings .section-main p {
|
||||
margin: .5em 0 0;
|
||||
}
|
||||
.section-filter ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user