gitweb: improve usability of projects search form
Refactor generating project search form into git_project_search_form(). Make text field wider and add on mouse over explanation (via "title" attribute), add an option to use regular expressions, and replace 'Search:' label with [Search] button. Also add "List all projects" link to make it easier to go back from search result to list of all projects (note that an empty search term is disallowed). Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
4426ba2919
commit
a1e1b2d77b
@ -520,8 +520,13 @@ div.search {
|
||||
right: 12px
|
||||
}
|
||||
|
||||
p.projsearch {
|
||||
div.projsearch {
|
||||
text-align: center;
|
||||
margin: 20px 0px;
|
||||
}
|
||||
|
||||
div.projsearch form {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
td.linenr {
|
||||
|
Reference in New Issue
Block a user