2016-04-11 22:38:59 +02:00
<div class='content-wrapper' id='settings'>
<form>
<strong>Browsing settings</strong>
<p>These settings are saved to the browser's local storage and are not coupled to the user account, so they don't apply to other devices or browsers alike.</p>
<div class='input'>
<ul>
2016-06-01 22:37:12 +02:00
<li>
<%= ctx.makeCheckbox( { text : 'Upscale small posts' , id : 'upscale-small-posts' , name : 'upscale-small-posts' , checked : ctx . browsingSettings . upscaleSmallPosts } ) %>
</li>
2016-04-11 22:38:59 +02:00
<li>
2016-05-21 09:45:43 +02:00
<%= ctx.makeCheckbox( { text : 'Endless scroll' , id : 'endless-scroll' , name : 'endless-scroll' , checked : ctx . browsingSettings . endlessScroll } ) %>
2016-04-11 22:38:59 +02:00
<p class='hint'>Rather than using a paged navigation, smoothly scroll through the content.</p>
</li>
2016-04-14 21:01:33 +02:00
<li>
2016-05-21 09:45:43 +02:00
<%= ctx.makeCheckbox( { text : 'Enable keyboard shortcuts' , id : 'keyboard-shortcuts' , name : 'keyboard-shortcuts' , checked : ctx . browsingSettings . keyboardShortcuts } ) %>
2016-04-14 21:01:33 +02:00
<a class='append icon' href='/help/keyboard'><i class='fa fa-question-circle-o'></i></a>
</li>
2016-06-11 21:50:21 +02:00
<li>
<%= ctx.makeCheckbox( { text : 'Enable transparency grid' , id : 'transparency-grid' , name : 'transparency-grid' , checked : ctx . browsingSettings . transparencyGrid } ) %>
</li>
2016-07-31 23:07:01 +02:00
<li>
<%= ctx.makeCheckbox( { text : 'Show tag suggestions' , id : 'tag-suggestions' , name : 'tag-suggestions' , checked : ctx . browsingSettings . tagSuggestions } ) %>
</li>
2016-04-11 22:38:59 +02:00
</ul>
</div>
<div class='messages'></div>
<div class='buttons'>
<input type='submit' value='Save settings'/>
</div>
</form>
</div>