diff options
Diffstat (limited to 'client/html/settings.tpl')
| -rw-r--r-- | client/html/settings.tpl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/client/html/settings.tpl b/client/html/settings.tpl index 0edbe22..063331a 100644 --- a/client/html/settings.tpl +++ b/client/html/settings.tpl @@ -11,6 +11,30 @@ }) %> </li> + <li class='uploadSafety'> + <label>Safety</label> + <div class='radio-wrapper'> + <%= ctx.makeRadio({ + name: 'safety', + class: 'safety-safe', + value: 'safe', + selectedValue: ctx.browsingSettings.uploadSafety, + text: 'Safe'}) %> + <%= ctx.makeRadio({ + name: 'safety', + class: 'safety-sketchy', + value: 'sketchy', + selectedValue: ctx.browsingSettings.uploadSafety, + text: 'Sketchy'}) %> + <%= ctx.makeRadio({ + name: 'safety', + value: 'unsafe', + selectedValue: ctx.browsingSettings.uploadSafety, + class: 'safety-unsafe', + text: 'Unsafe'}) %> + </div> + </li> + <li> <%= ctx.makeNumericInput({ text: 'Number of posts per page', @@ -23,6 +47,16 @@ </li> <li> + <%= ctx.makeNumericInput({ + text: 'Number of similar posts', + name: 'similar-posts', + value: ctx.browsingSettings.similarPosts, + min: 0, + max: 100, + }) %> + </li> + + <li> <%= ctx.makeCheckbox({ text: 'Use dark theme', name: 'dark-theme', |