2016-08-27 20:08:58 +02:00
|
|
|
<div class='post-list-header'><%
|
2017-02-11 20:12:44 +01:00
|
|
|
%><form class='horizontal search'><%
|
2016-08-27 20:08:58 +02:00
|
|
|
%><%= ctx.makeTextInput({text: 'Search query', id: 'search-text', name: 'search-text', value: ctx.parameters.query}) %><%
|
|
|
|
%><wbr/><%
|
|
|
|
%><input class='mousetrap' type='submit' value='Search'/><%
|
|
|
|
%><wbr/><%
|
2017-03-30 20:50:12 +02:00
|
|
|
%><% if (ctx.enableSafety) { %><%
|
|
|
|
%><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' %>'/><%
|
|
|
|
%><% } %><%
|
2016-08-27 20:08:58 +02:00
|
|
|
%><wbr/><%
|
2017-01-20 21:51:04 +01:00
|
|
|
%><a class='mousetrap button append' href='<%- ctx.formatClientLink('help', 'search', 'posts') %>'>Syntax help</a><%
|
2016-08-27 20:08:58 +02:00
|
|
|
%></form><%
|
2017-02-11 20:12:44 +01:00
|
|
|
%><% if (ctx.canBulkEditTags) { %><%
|
2017-02-11 21:58:18 +01:00
|
|
|
%><form class='horizontal bulk-edit bulk-edit-tags'><%
|
2017-02-11 20:12:44 +01:00
|
|
|
%><span class='append hint'>Tagging with:</span><%
|
|
|
|
%><a href class='mousetrap button append open'>Mass tag</a><%
|
|
|
|
%><wbr/><%
|
|
|
|
%><%= ctx.makeTextInput({name: 'tag', value: ctx.parameters.tag}) %><%
|
|
|
|
%><input class='mousetrap start' type='submit' value='Start tagging'/><%
|
|
|
|
%><a href class='mousetrap button append close'>Stop tagging</a><%
|
|
|
|
%></form><%
|
|
|
|
%><% } %><%
|
2017-03-30 20:50:12 +02:00
|
|
|
%><% if (ctx.enableSafety && ctx.canBulkEditSafety) { %><%
|
2017-02-11 21:58:18 +01:00
|
|
|
%><form class='horizontal bulk-edit bulk-edit-safety'><%
|
|
|
|
%><a href class='mousetrap button append open'>Mass edit safety</a><%
|
|
|
|
%><a href class='mousetrap button append close'>Stop editing safety</a><%
|
|
|
|
%></form><%
|
|
|
|
%><% } %><%
|
2016-08-27 20:08:58 +02:00
|
|
|
%></div>
|