summaryrefslogtreecommitdiff
path: root/client/html/posts_header.tpl
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-06-02 00:07:51 +0200
committerrr- <rr-@sakuya.pl>2016-06-02 23:39:38 +0200
commitf8e6d07feac0927f62b88b5bf00662ad5cfbdcf7 (patch)
tree0a989deae33ebd22330d9aab63bad33ea4469980 /client/html/posts_header.tpl
parent28009bf46d15f2b9bcbbb91e6c0fd7b1a647766d (diff)
client/posts: add proof of concept for post list
Diffstat (limited to 'client/html/posts_header.tpl')
-rw-r--r--client/html/posts_header.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/html/posts_header.tpl b/client/html/posts_header.tpl
new file mode 100644
index 0000000..5f301d6
--- /dev/null
+++ b/client/html/posts_header.tpl
@@ -0,0 +1,15 @@
+<div class='post-list-header'>
+ <form class='horizontal'>
+ <div class='input'>
+ <ul>
+ <li>
+ <%= ctx.makeTextInput({id: 'search-text', name: 'search-text', value: ctx.searchQuery.text}) %>
+ </li>
+ </ul>
+ </div>
+ <div class='buttons'>
+ <input type='submit' value='Search'/>
+ <a class='button append' href='/help/search/posts'>Syntax help</a>
+ </div>
+ </form>
+</div>