diff options
author | Jakub Narebski <jnareb@gmail.com> | 2012-01-31 01:20:54 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-01 12:52:50 -0800 |
commit | a1e1b2d77b9fc5866d12bf984214b15f1dccf4a8 (patch) | |
tree | 563ef0b8c276ddc79de99f09c3036d43600aba74 /gitweb/static/gitweb.css | |
parent | 4426ba2919697d57ab8b6335ca63b2c14e4e6339 (diff) | |
download | git-a1e1b2d77b9fc5866d12bf984214b15f1dccf4a8.tar.gz |
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>
Diffstat (limited to 'gitweb/static/gitweb.css')
-rw-r--r-- | gitweb/static/gitweb.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index c7827e8f1d..c530355a7c 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -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 { |