summaryrefslogtreecommitdiff
path: root/views/forum_search.pug
blob: 18df6b07668603decd1de6c5f57c2c71419a9453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//- vim:ts=4:sw=4:
doctype html
html
	head
		include head
		title Forum Search Results
	body
		include header
		article
			h1 Forum Search Results

			table.wide.striped
				thead
					tr
						th Author
						th Thread
						th Snippet
				tobdy
					each row in results
						tr
							td: a.black(href="/user/"+row.author)= row.author
							td: a.black(href="/forum/thread/"+row.thread_id+"#"+row.post_id)= row.subject
							td= row.snippet

			if user
				p
					form(method="get" action="/forum/search")
						input(type="text" name="q" size=40 maxlength=80 placeholder="Search..." required)