upstream search page change (users -> tweets)
This commit is contained in:
parent
8304d99f15
commit
42e8e7219e
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ proc renderSearch*(): VNode =
|
||||||
buildHtml(tdiv(class="panel-container")):
|
buildHtml(tdiv(class="panel-container")):
|
||||||
tdiv(class="search-bar"):
|
tdiv(class="search-bar"):
|
||||||
form(`method`="get", action="/search", autocomplete="off"):
|
form(`method`="get", action="/search", autocomplete="off"):
|
||||||
hiddenField("f", "users")
|
hiddenField("f", "tweets")
|
||||||
input(`type`="text", name="q", autofocus="",
|
input(`type`="text", name="q", autofocus="",
|
||||||
placeholder="Enter username...", dir="auto")
|
placeholder="Search...", dir="auto")
|
||||||
button(`type`="submit"): icon "search"
|
button(`type`="submit"): icon "search"
|
||||||
|
|
||||||
proc renderProfileTabs*(query: Query; username: string; cfg: Config): VNode =
|
proc renderProfileTabs*(query: Query; username: string; cfg: Config): VNode =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue