2016-04-11 20:38:59 +00: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 20:37:12 +00:00
<li>
2016-08-05 16:43:35 +00:00
<%= ctx.makeCheckbox( { text : 'Enable keyboard shortcuts' , id : 'keyboard-shortcuts' , name : 'keyboard-shortcuts' , checked : ctx . browsingSettings . keyboardShortcuts } ) %>
<a class='append icon' href='/help/keyboard'><i class='fa fa-question-circle-o'></i></a>
2016-06-01 20:37:12 +00:00
</li>
2016-08-05 18:00:07 +00:00
<li>
<%= ctx.makeNumericInput( { text : 'Number of posts per page' , id : 'posts-per-page' , name : 'posts-per-page' , checked : ctx . browsingSettings . postCount , min : 1 0 , max : 1 0 0 , value : ctx . browsingSettings . postsPerPage } ) %>
</li>
2016-04-11 20:38:59 +00:00
<li>
2016-08-05 16:43:35 +00:00
<%= ctx.makeCheckbox( { text : 'Upscale small posts' , id : 'upscale-small-posts' , name : 'upscale-small-posts' , checked : ctx . browsingSettings . upscaleSmallPosts } ) %>
2016-04-11 20:38:59 +00:00
</li>
2016-04-14 19:01:33 +00:00
<li>
2016-08-05 16:43:35 +00:00
<%= ctx.makeCheckbox( { text : 'Endless scroll' , id : 'endless-scroll' , name : 'endless-scroll' , checked : ctx . browsingSettings . endlessScroll } ) %>
<p class='hint'>Rather than using a paged navigation, smoothly scrolls through the content.</p>
2016-04-14 19:01:33 +00:00
</li>
2016-06-11 19:50:21 +00:00
<li>
<%= ctx.makeCheckbox( { text : 'Enable transparency grid' , id : 'transparency-grid' , name : 'transparency-grid' , checked : ctx . browsingSettings . transparencyGrid } ) %>
2016-08-05 16:43:35 +00:00
<p class='hint'>Renders a checkered pattern behind posts with transparent background.</p>
2016-06-11 19:50:21 +00:00
</li>
2016-07-31 21:07:01 +00:00
<li>
<%= ctx.makeCheckbox( { text : 'Show tag suggestions' , id : 'tag-suggestions' , name : 'tag-suggestions' , checked : ctx . browsingSettings . tagSuggestions } ) %>
2016-08-05 16:43:35 +00:00
<p class='hint'>Shows a popup with suggested tags in edit forms.</p>
2016-07-31 21:07:01 +00:00
</li>
2016-04-11 20:38:59 +00:00
</ul>
</div>
<div class='messages'></div>
<div class='buttons'>
<input type='submit' value='Save settings'/>
</div>
</form>
</div>