mirror of
https://git.zx2c4.com/cgit
synced 2024-11-26 02:18:42 +00:00
ui-shared: use type='search' for the search box
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
parent
fd069b4ca0
commit
98abe5bb9e
@ -1027,7 +1027,7 @@ void cgit_print_pageheader(void)
|
|||||||
html_option("committer", "committer", ctx.qry.grep);
|
html_option("committer", "committer", ctx.qry.grep);
|
||||||
html_option("range", "range", ctx.qry.grep);
|
html_option("range", "range", ctx.qry.grep);
|
||||||
html("</select>\n");
|
html("</select>\n");
|
||||||
html("<input class='txt' type='text' size='10' name='q' value='");
|
html("<input class='txt' type='search' size='10' name='q' value='");
|
||||||
html_attr(ctx.qry.search);
|
html_attr(ctx.qry.search);
|
||||||
html("'/>\n");
|
html("'/>\n");
|
||||||
html("<input type='submit' value='search'/>\n");
|
html("<input type='submit' value='search'/>\n");
|
||||||
@ -1042,7 +1042,7 @@ void cgit_print_pageheader(void)
|
|||||||
html("<form method='get' action='");
|
html("<form method='get' action='");
|
||||||
html_attr(currenturl);
|
html_attr(currenturl);
|
||||||
html("'>\n");
|
html("'>\n");
|
||||||
html("<input type='text' name='q' size='10' value='");
|
html("<input type='search' name='q' size='10' value='");
|
||||||
html_attr(ctx.qry.search);
|
html_attr(ctx.qry.search);
|
||||||
html("'/>\n");
|
html("'/>\n");
|
||||||
html("<input type='submit' value='search'/>\n");
|
html("<input type='submit' value='search'/>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user