2016-06-01 22:07:51 +00:00
|
|
|
<div class='post-list-header'>
|
2016-07-05 19:20:28 +00:00
|
|
|
<form class='horizontal search'>
|
2016-07-07 19:18:35 +00:00
|
|
|
<%= ctx.makeTextInput({text: 'Search query', id: 'search-text', name: 'search-text', value: ctx.parameters.query}) %>
|
2016-07-05 19:20:28 +00:00
|
|
|
<input class='mousetrap' type='submit' value='Search'/>
|
|
|
|
<input data-safety=safe type='button' class='mousetrap safety safety-safe <%- ctx.settings.listPosts.safe ? '' : 'disabled' %>'/>
|
|
|
|
<input data-safety=sketchy type='button' class='mousetrap safety safety-sketchy <%- ctx.settings.listPosts.sketchy ? '' : 'disabled' %>'/>
|
|
|
|
<input data-safety=unsafe type='button' class='mousetrap safety safety-unsafe <%- ctx.settings.listPosts.unsafe ? '' : 'disabled' %>'/>
|
|
|
|
<a class='mousetrap button append' href='/help/search/posts'>Syntax help</a>
|
2016-06-01 22:07:51 +00:00
|
|
|
</form>
|
2016-07-05 19:20:28 +00:00
|
|
|
<% if (ctx.canMassTag) { %>
|
|
|
|
<form class='masstag horizontal'>
|
2016-07-07 19:18:35 +00:00
|
|
|
<% if (ctx.parameters.tag) { %>
|
2016-07-05 19:20:28 +00:00
|
|
|
<span class='append'>Tagging with:</span>
|
|
|
|
<% } else { %>
|
2016-07-30 19:47:56 +00:00
|
|
|
<a class='mousetrap button append open-masstag'>Mass tag</a>
|
2016-07-05 19:20:28 +00:00
|
|
|
<% } %>
|
2016-07-07 19:18:35 +00:00
|
|
|
<%= ctx.makeTextInput({name: 'masstag', value: ctx.parameters.tag}) %>
|
2016-07-05 19:20:28 +00:00
|
|
|
<input class='mousetrap start-tagging' type='submit' value='Start tagging'/>
|
2016-07-30 19:47:56 +00:00
|
|
|
<a class='mousetrap button append stop-tagging'>Stop tagging</a>
|
2016-07-05 19:20:28 +00:00
|
|
|
</form>
|
|
|
|
<% } %>
|
2016-06-01 22:07:51 +00:00
|
|
|
</div>
|