Merge branch 'pr/3029'

This commit is contained in:
Florian Bruhin 2017-09-25 06:57:02 +02:00
commit 07862ce52e
3 changed files with 22 additions and 9 deletions

View File

@ -201,7 +201,7 @@
|<<input.partial_timeout,input.partial_timeout>>|Timeout (in milliseconds) for partially typed key bindings. |<<input.partial_timeout,input.partial_timeout>>|Timeout (in milliseconds) for partially typed key bindings.
|<<input.rocker_gestures,input.rocker_gestures>>|Enable Opera-like mouse rocker gestures. |<<input.rocker_gestures,input.rocker_gestures>>|Enable Opera-like mouse rocker gestures.
|<<input.spatial_navigation,input.spatial_navigation>>|Enable Spatial Navigation. |<<input.spatial_navigation,input.spatial_navigation>>|Enable Spatial Navigation.
|<<keyhint.blacklist,keyhint.blacklist>>|Keychains that shouldn\'t be shown in the keyhint dialog. |<<keyhint.blacklist,keyhint.blacklist>>|Keychains that shouldn't be shown in the keyhint dialog.
|<<keyhint.delay,keyhint.delay>>|Time from pressing a key to seeing the keyhint dialog (ms). |<<keyhint.delay,keyhint.delay>>|Time from pressing a key to seeing the keyhint dialog (ms).
|<<messages.timeout,messages.timeout>>|Time (in ms) to show messages in the statusbar for. |<<messages.timeout,messages.timeout>>|Time (in ms) to show messages in the statusbar for.
|<<messages.unfocused,messages.unfocused>>|Show messages in unfocused windows. |<<messages.unfocused,messages.unfocused>>|Show messages in unfocused windows.
@ -1955,7 +1955,7 @@ Default: +pass:[true]+
[[content.xss_auditing]] [[content.xss_auditing]]
=== content.xss_auditing === content.xss_auditing
Whether load requests should be monitored for cross-site scripting attempts. Whether load requests should be monitored for cross-site scripting attempts.
Suspicious scripts will be blocked and reported in the inspector\'s JavaScript console. Enabling this feature might have an impact on performance. Suspicious scripts will be blocked and reported in the inspector's JavaScript console. Enabling this feature might have an impact on performance.
Type: <<types,Bool>> Type: <<types,Bool>>
@ -2144,7 +2144,7 @@ Default: +pass:[8pt monospace]+
[[fonts.monospace]] [[fonts.monospace]]
=== fonts.monospace === fonts.monospace
Default monospace fonts. Default monospace fonts.
Whenever "monospace" is used in a font setting, it\'s replaced with the fonts listed here. Whenever "monospace" is used in a font setting, it's replaced with the fonts listed here.
Type: <<types,Font>> Type: <<types,Font>>
@ -2535,7 +2535,7 @@ Default: +pass:[false]+
[[keyhint.blacklist]] [[keyhint.blacklist]]
=== keyhint.blacklist === keyhint.blacklist
Keychains that shouldn\'t be shown in the keyhint dialog. Keychains that shouldn't be shown in the keyhint dialog.
Globs are supported, so `;*` will blacklist all keychains starting with `;`. Use `*` to disable keyhints. Globs are supported, so `;*` will blacklist all keychains starting with `;`. Use `*` to disable keyhints.
Type: <<types,List>> Type: <<types,List>>

View File

@ -562,10 +562,12 @@ content.xss_auditing:
desc: >- desc: >-
Whether load requests should be monitored for cross-site scripting attempts. Whether load requests should be monitored for cross-site scripting attempts.
Suspicious scripts will be blocked and reported in the inspector\'s Suspicious scripts will be blocked and reported in the inspector's
JavaScript console. Enabling this feature might have an impact on JavaScript console. Enabling this feature might have an impact on
performance. performance.
# emacs: '
## completion ## completion
completion.cmd_history_max_items: completion.cmd_history_max_items:
@ -917,11 +919,13 @@ keyhint.blacklist:
name: String name: String
default: [] default: []
desc: >- desc: >-
Keychains that shouldn\'t be shown in the keyhint dialog. Keychains that shouldn't be shown in the keyhint dialog.
Globs are supported, so `;*` will blacklist all keychains starting with `;`. Globs are supported, so `;*` will blacklist all keychains starting with `;`.
Use `*` to disable keyhints. Use `*` to disable keyhints.
# emacs: '
keyhint.delay: keyhint.delay:
type: type:
name: Int name: Int
@ -1734,9 +1738,11 @@ fonts.monospace:
desc: >- desc: >-
Default monospace fonts. Default monospace fonts.
Whenever "monospace" is used in a font setting, it\'s replaced with the Whenever "monospace" is used in a font setting, it's replaced with the
fonts listed here. fonts listed here.
# emacs: '
fonts.completion.entry: fonts.completion.entry:
default: 8pt monospace default: 8pt monospace
type: Font type: Font

View File

@ -17,6 +17,9 @@ pre { margin: 2px; }
th, td { border: 1px solid grey; padding: 0px 5px; } th, td { border: 1px solid grey; padding: 0px 5px; }
th { background: lightgrey; } th { background: lightgrey; }
th pre { color: grey; text-align: left; } th pre { color: grey; text-align: left; }
input { width: 98%; }
.setting { width: 75%; }
.value { width: 25%; text-align: center; }
.noscript, .noscript-text { color:red; } .noscript, .noscript-text { color:red; }
.noscript-text { margin-bottom: 5cm; } .noscript-text { margin-bottom: 5cm; }
.option_description { margin: .5ex 0; color: grey; font-size: 80%; font-style: italic; white-space: pre-line; } .option_description { margin: .5ex 0; color: grey; font-size: 80%; font-style: italic; white-space: pre-line; }
@ -26,15 +29,19 @@ th pre { color: grey; text-align: left; }
<noscript><h1 class="noscript">View Only</h1><p class="noscript-text">Changing settings requires javascript to be enabled!</p></noscript> <noscript><h1 class="noscript">View Only</h1><p class="noscript-text">Changing settings requires javascript to be enabled!</p></noscript>
<header><h1>{{ title }}</h1></header> <header><h1>{{ title }}</h1></header>
<table> <table>
<tr>
<th>Setting</th>
<th>Value</th>
</tr>
{% for option in configdata.DATA.values() %} {% for option in configdata.DATA.values() %}
<tr> <tr>
<!-- FIXME: convert to string properly --> <!-- FIXME: convert to string properly -->
<td>{{ option.name }} (Current: {{ confget(option.name) | string |truncate(100) }}) <td class="setting">{{ option.name }} (Current: {{ confget(option.name) | string |truncate(100) }})
{% if option.description %} {% if option.description %}
<p class="option_description">{{ option.description|e }}</p> <p class="option_description">{{ option.description|e }}</p>
{% endif %} {% endif %}
</td> </td>
<td> <td class="value">
<input type="text" <input type="text"
id="input-{{ option.name }}" id="input-{{ option.name }}"
onblur="cset('{{ option.name }}', this.value)" onblur="cset('{{ option.name }}', this.value)"